aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/scr2png/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index 8476a5a92f5..67d7fde4865 100644
--- a/graphics/scr2png/Makefile
+++ b/graphics/scr2png/Makefile
@@ -17,11 +17,13 @@ MAINTAINER= nik@freebsd.org
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
+USE_REINPLACE= yes
+
MAN1= scr2png.1
MANCOMPRESSED= yes
post-extract:
- @${PERL} -pi -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
do-install:
@cd ${WRKSRC}; ${MAKE} BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} install