aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2003-02-10 13:21:21 +0000
committerMark Pulford <markp@FreeBSD.org>2003-02-10 13:21:21 +0000
commit0adf0c51e2256754e73fadbad3116c79ef0b8e32 (patch)
treeae738bc7c1d19ab153d9fc181261924e69ee7e9f /graphics
parentc9f3db841dc6a0b31b8ab54f720127ffcdcd776e (diff)
downloadports-0adf0c51e2256754e73fadbad3116c79ef0b8e32.tar.gz
ports-0adf0c51e2256754e73fadbad3116c79ef0b8e32.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/icontact/Makefile6
-rw-r--r--graphics/vp/Makefile3
2 files changed, 6 insertions, 3 deletions
diff --git a/graphics/icontact/Makefile b/graphics/icontact/Makefile
index 282ddec34eb0..469a06e8d552 100644
--- a/graphics/icontact/Makefile
+++ b/graphics/icontact/Makefile
@@ -15,10 +15,12 @@ MAINTAINER= markp@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/bin/ppmmake:${PORTSDIR}/graphics/netpbm \
${LOCALBASE}/bin/cjpeg:${PORTSDIR}/graphics/jpeg
+USE_REINPLACE= yes
MAN1= icontact.1 xvtoppm.1
-pre-build:
- ${PERL} -pi -e "s@CC=cc@CC=${CC}@g;s@CFLAGS=-O@CFLAGS=${CFLAGS}@g" ${WRKSRC}/Makefile
+post-patch:
+ ${REINPLACE_CMD} "s/CC=cc/CC=${CC}/g; s/CFLAGS=-O/CFLAGS=${CFLAGS}/g" \
+ ${WRKSRC}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/icontact ${PREFIX}/bin
diff --git a/graphics/vp/Makefile b/graphics/vp/Makefile
index 4fd53ff1ecdd..3351afab16fa 100644
--- a/graphics/vp/Makefile
+++ b/graphics/vp/Makefile
@@ -21,9 +21,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" \
ac_cv_func_getopt_long=yes
+USE_REINPLACE= yes
MAN1= vp.1
post-patch:
- @${PERL} -pi -e 's@ getopt_long/Makefile@@g' ${WRKSRC}/configure
+ ${REINPLACE_CMD} 's@ getopt_long/Makefile@@g' ${WRKSRC}/configure
.include <bsd.port.mk>