aboutsummaryrefslogtreecommitdiff
path: root/graphics/icontact
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/icontact
parentc9f3db841dc6a0b31b8ab54f720127ffcdcd776e (diff)
downloadports-0adf0c51e2256754e73fadbad3116c79ef0b8e32.tar.gz
ports-0adf0c51e2256754e73fadbad3116c79ef0b8e32.zip
Notes
Diffstat (limited to 'graphics/icontact')
-rw-r--r--graphics/icontact/Makefile6
1 files changed, 4 insertions, 2 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