aboutsummaryrefslogtreecommitdiff
path: root/graphics/flip
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /graphics/flip
parent5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff)
downloadports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz
ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip
Notes
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