aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-pmosaic/Makefile
blob: ff1a2711cb38a198f4c55de24e9c50e5186276ae (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
PORTREVISION=   2
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}

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>