aboutsummaryrefslogtreecommitdiff
path: root/graphics/scr2png
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2002-04-07 15:54:49 +0000
committerNik Clayton <nik@FreeBSD.org>2002-04-07 15:54:49 +0000
commit7737215c0fd030f3d5f2c983982236a3fba85628 (patch)
treeaf7ddb02cc6097f3991126c9bbb1f19f7fb48f03 /graphics/scr2png
parent6cfe4bf361d220a29a0d2bcad644bce39549cc9a (diff)
downloadports-7737215c0fd030f3d5f2c983982236a3fba85628.tar.gz
ports-7737215c0fd030f3d5f2c983982236a3fba85628.zip
Notes
Diffstat (limited to 'graphics/scr2png')
-rw-r--r--graphics/scr2png/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index e7c1dde342f9..bd231f6ca38a 100644
--- a/graphics/scr2png/Makefile
+++ b/graphics/scr2png/Makefile
@@ -20,6 +20,9 @@ LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
MAN1= scr2png.1
MANCOMPRESSED= yes
+post-extract:
+ @${PERL} -pi -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
+
do-install:
@cd ${WRKSRC}; ${MAKE} BINDIR=${LOCALBASE}/bin SHAREDIR=${LOCALBASE} install