summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>2002-04-07 15:54:49 +0000
committernik <nik@FreeBSD.org>2002-04-07 15:54:49 +0000
commit955e953a939bc7a3dbbb84e4aa74fe865da33596 (patch)
tree8d4c81ee6c328bb05abcdb9a4ed727ea2ca14441 /graphics
parente9b15ec4c4e2d553fe319a422a78f63c68c50761 (diff)
downloadFreeBSD-ports-955e953a939bc7a3dbbb84e4aa74fe865da33596.zip
FreeBSD-ports-955e953a939bc7a3dbbb84e4aa74fe865da33596.tar.gz
Respect ${LOCALBASE} when installing
PR: 32097 Submitted by: Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/scr2png/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index e7c1dde..bd231f6 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
OpenPOWER on IntegriCloud