aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-pmosaic/Makefile
blob: 8bf6e3d4a06c2830754a12a6a74ecb63e13ac649 (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
36
37
38
# New ports collection makefile for:	gimp-pmosaic
# Date created:		23 Feb 2004
# Whom:			Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	pmosaic
PORTVERSION=	1.08
CATEGORIES=	graphics
MASTER_SITES=	http://www.kirchgessner.net/pub/gimp-1.2/
PKGNAMEPREFIX=	gimp-
DISTNAME=	${PORTNAME}.${PORTVERSION}

MAINTAINER=	kuriyama@FreeBSD.org
COMMENT=	Photo/Image Mosaic plugin for gimp

BUILD_DEPENDS=	gimp-config:${PORTSDIR}/graphics/gimp1
RUN_DEPENDS=	gimp:${PORTSDIR}/graphics/gimp1

WRKSRC=		${WRKDIR}/${PORTNAME}
USE_X_PREFIX=	yes

do-build:
	cd ${WRKSRC}; ${CC} ${CFLAGS} -o pmosaic `gimp-config --cflags` \
		pmsc.c pmosaic.c `gimp-config --libs` -ljpeg

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pmosaic \
		${PREFIX}/libexec/gimp/1.2/plug-ins/
	${INSTALL_DATA} ${WRKSRC}/de/gimp-pmosaic.mo \
		${PREFIX}/share/locale/de/LC_MESSAGES/
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}/
.endif

.include <bsd.port.mk>