aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/flip
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
commitfd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch)
tree6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /graphics/flip
parent54d69c112debb52b84b6d174bd59479eec834fb7 (diff)
downloadfreebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz
freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst
freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'graphics/flip')
-rw-r--r--graphics/flip/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/flip/Makefile b/graphics/flip/Makefile
index e87c3356059a..e60ced41bedc 100644
--- a/graphics/flip/Makefile
+++ b/graphics/flip/Makefile
@@ -17,17 +17,18 @@ LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= mpeg_encode:${PORTSDIR}/graphics/mpeg_encode
USE_QT_VER= 2
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${DISTNAME:R}
CFLAGS+= -I${LOCALBASE}/include
MAKE_ENV= MOC="${MOC}" QTDIR="${X11BASE}"
post-patch:
- @${PERL} -pi -e "s,^CC,#CC,g ; s,^CXX,#CXX,g ; \
+ @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CXX,#CXX,g ; \
s,^CFLAGS,#CFLAGS,g ; s,^CXXFLAGS,#CXXFLAGS,g ; \
s,^MOC,#MOC,g ; s,lqt,lqt2,g ; \
s,/usr/X11R6,${X11BASE},g ; \
s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
- @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Config.cpp
+ @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Config.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin