diff options
author | Mark Pulford <markp@FreeBSD.org> | 2003-02-10 13:21:21 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2003-02-10 13:21:21 +0000 |
commit | 0adf0c51e2256754e73fadbad3116c79ef0b8e32 (patch) | |
tree | ae738bc7c1d19ab153d9fc181261924e69ee7e9f /graphics/icontact | |
parent | fix for plist and funky binary name from Volker Stolz (diff) |
Changed to use REINPLACE.
Notes
Notes:
svn path=/head/; revision=75237
Diffstat (limited to 'graphics/icontact')
-rw-r--r-- | graphics/icontact/Makefile | 6 |
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 |