aboutsummaryrefslogtreecommitdiff
path: root/graphics/price/Makefile
blob: a6a73cb66f6cdbbe84f8f7ed210081cebc647e8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: gurkan@phys.ethz.ch
# $FreeBSD$

PORTNAME=	price
PORTVERSION=	1.3.0
PORTREVISION=	2
CATEGORIES=	graphics gnustep
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
DISTNAME=	PRICE-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Image filtering and manipulation using GNUstep

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gnustep

USE_GNUSTEP=	back build

DATADIR=	${GNUSTEP_LOCAL_ROOT}/Applications/PRICE.app
PORTDATA=	*
PLIST_FILES=	${GNUSTEP_LOCAL_TOOLS}/PRICE \
		share/applications/PRICE.desktop

post-build:
	${SED} -i '' -e '/^Categories/s/=/&Graphics;/' \
		${WRKSRC}/PRICE.app/Resources/PRICE.desktop

post-install:
	${STRIP_CMD} ${STAGEDIR}${DATADIR}/PRICE
	${LN} -sf ${DATADIR}/Resources/PRICE.desktop \
		${STAGEDIR}${PREFIX}/share/applications

.include <bsd.port.mk>