aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ppm2fli/Makefile
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-09-17 00:56:31 +0800
committerkevlo <kevlo@FreeBSD.org>2001-09-17 00:56:31 +0800
commitbf8144b1412a323e8387d9e80ae7fb86b8e1bec8 (patch)
tree066e30feeead060cd2bb0e2057397dd2cb23d66e /multimedia/ppm2fli/Makefile
parent634fa39e200ee65c7dd377c5876ceec7adf1cb26 (diff)
downloadfreebsd-ports-gnome-bf8144b1412a323e8387d9e80ae7fb86b8e1bec8.tar.gz
freebsd-ports-gnome-bf8144b1412a323e8387d9e80ae7fb86b8e1bec8.tar.zst
freebsd-ports-gnome-bf8144b1412a323e8387d9e80ae7fb86b8e1bec8.zip
Update to version 2.0d
PR: 30534 Submitted by: Ports Fury
Diffstat (limited to 'multimedia/ppm2fli/Makefile')
-rw-r--r--multimedia/ppm2fli/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/multimedia/ppm2fli/Makefile b/multimedia/ppm2fli/Makefile
index 81b408af7d83..708572b9d107 100644
--- a/multimedia/ppm2fli/Makefile
+++ b/multimedia/ppm2fli/Makefile
@@ -6,20 +6,26 @@
#
PORTNAME= ppm2fli
-PORTVERSION= b1
+PORTVERSION= 2.0d
CATEGORIES= graphics
-MASTER_SITES= ftp://crusty.er.usgs.gov/pub/animation/fli/
-DISTNAME= ppm2fli_b1.92
+MASTER_SITES= http://vento.pi.tu-berlin.de/ppm2fli/
+DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
+NO_WRKSUBDIR= yes
+
MAN1= ppm2fli.1 unflick.1
+pre-patch:
+ @${PERL} -pi -e 's|^C|#C|g ; \
+ s|gcc |\$${CC} |g' ${WRKSRC}/Makefile
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ppm2fli ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/unflick ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/ppm2fli.man ${PREFIX}/man/man1/ppm2fli.1
- ${INSTALL_MAN} ${WRKSRC}/unflick.man ${PREFIX}/man/man1/unflick.1
+.for name in ppm2fli unflick
+ ${INSTALL_PROGRAM} ${WRKSRC}/${name} ${PREFIX}/bin/${name}
+ ${INSTALL_MAN} ${WRKSRC}/${name}.man ${MANPREFIX}/man/man1/${name}.1
+.endfor
.include <bsd.port.mk>