Use ${REINPLACE_CMD} instead of ${PERL}.
Approved by: nik (maintainer)
This commit is contained in:
parent
f4c3b1e256
commit
73b6f26b26
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65735
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user