diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-15 20:07:28 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-15 20:07:28 +0000 |
commit | d3863e248a04349b847f2daa44461b7773f79c21 (patch) | |
tree | 7fb0c12e89ba85ced5c11c40442443813ab16088 /comms/yawmppp/Makefile | |
parent | Add missing dependency on libxml2 (diff) |
unPERLify by using REINPLACE_CMD where appropriate.
PR: 47656
Submitted by: Simon 'portlint' Schubert <corecode@corecode.ath.cx>
Notes
Notes:
svn path=/head/; revision=94045
Diffstat (limited to '')
-rw-r--r-- | comms/yawmppp/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/comms/yawmppp/Makefile b/comms/yawmppp/Makefile index f22eb7db6398..5bd4b3e24e8e 100644 --- a/comms/yawmppp/Makefile +++ b/comms/yawmppp/Makefile @@ -14,6 +14,7 @@ MAINTAINER= pat@FreeBSD.org COMMENT= A Window Maker dockapp that helps with easy use of pppd USE_X_PREFIX= yes +USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes USE_GNOME= gtk12 @@ -25,14 +26,14 @@ CONFIGURE_ARGS= --x-includes="${X11BASE}/include" \ MAN1= yawmppp.1x pre-patch: - @${PERL} -pi -e "s@-g -O2@${CFLAGS}@g; s@-O2 -Wall@${CFLAGS} -Wall@g; \ + @${REINPLACE_CMD} -e "s@-g -O2@${CFLAGS}@g; s@-O2 -Wall@${CFLAGS} -Wall@g; \ s@-O2@${CFLAGS}@g" ${WRKSRC}/*/Makefile.in \ ${WRKSRC}/configure ${WRKSRC}/*/*/Makefile.in - @${PERL} -pi -e 's!\/usr\/local!${PREFIX}!; \ + @${REINPLACE_CMD} -e 's!\/usr\/local!${PREFIX}!; \ s!/usr/bin!${PREFIX}/bin!' ${WRKSRC}/src/ycommon.c - @${PERL} -pi.orig -e 's|/etc/ppp/yagetmodemspeed|${PREFIX}/bin/yagetmodemspeed|' \ + @${REINPLACE_CMD} -e 's|/etc/ppp\(/yagetmodemspeed\)|${PREFIX}/bin\1|' \ ${WRKSRC}/src/gtksetup/applet.c - @${PERL} -pi.orig -e 's|tac|cat|' ${WRKSRC}/src/dockapp/getmodemspeed.c + @${REINPLACE_CMD} -e 's|tac|cat|' ${WRKSRC}/src/dockapp/getmodemspeed.c do-install: .for file in dockapp/yagetmodemspeed dockapp/${PORTNAME} gtklog/${PORTNAME}.log \ |