aboutsummaryrefslogtreecommitdiff
path: root/graphics/scr2png
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-08-25 16:32:50 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-08-25 16:32:50 +0000
commit13caedb96aa6c90898872e7194416cd9342a56b7 (patch)
tree411ca3f4d21ae0e9648b97b48b111c95dd972c80 /graphics/scr2png
parentd486ea39cc8cee29de6e8110818090ba72ad6208 (diff)
downloadports-13caedb96aa6c90898872e7194416cd9342a56b7.tar.gz
ports-13caedb96aa6c90898872e7194416cd9342a56b7.zip
Reduce complexity in the scr2png port.
Reviewed by: zeising Tested by: redports
Notes
Notes: svn path=/head/; revision=325362
Diffstat (limited to 'graphics/scr2png')
-rw-r--r--graphics/scr2png/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index 79a085543efb..fcff652a5360 100644
--- a/graphics/scr2png/Makefile
+++ b/graphics/scr2png/Makefile
@@ -18,12 +18,10 @@ NO_WRKSUBDIR= yes
MAN1= scr2png.1
MANCOMPRESSED= yes
PLIST_FILES= bin/scr2png
+MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}
-post-extract:
+pre-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|<gd/gd\.h>|<gd.h>|' ${WRKSRC}/scr2png.c
-do-install:
- @cd ${WRKSRC}; ${MAKE} BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} install
-
.include <bsd.port.mk>