diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
commit | 37f2224fa6a14520df830ae1daeba9b877daa347 (patch) | |
tree | 13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /sysutils | |
parent | - reorder patches (diff) |
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes:
svn path=/head/; revision=69436
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/extipl/Makefile | 3 | ||||
-rw-r--r-- | sysutils/fcron/Makefile | 1 | ||||
-rw-r--r-- | sysutils/safecat/Makefile | 8 | ||||
-rw-r--r-- | sysutils/ssync/Makefile | 7 | ||||
-rw-r--r-- | sysutils/syslog-ng/Makefile | 3 | ||||
-rw-r--r-- | sysutils/syslog-ng1/Makefile | 3 |
6 files changed, 16 insertions, 9 deletions
diff --git a/sysutils/extipl/Makefile b/sysutils/extipl/Makefile index 28f94b15aeb1..a6477f99f254 100644 --- a/sysutils/extipl/Makefile +++ b/sysutils/extipl/Makefile @@ -18,13 +18,14 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm ONLY_FOR_ARCHS= i386 WRKSRC= ${WRKDIR}/${DISTNAME}/src +USE_REINPLACE= yes MAN8= extipl.8 MANCOMPRESSED= yes post-patch: cd ${WRKSRC}; \ - ${PERL} -pi -e 's/^(CC)\t=/$$1?=/;' \ + ${REINPLACE_CMD} -e 's/^(CC)\t=/$$1?=/;' \ -e 's/(DIR)[\t]*[?]=/$$1=/;' Makefile .include <bsd.port.mk> diff --git a/sysutils/fcron/Makefile b/sysutils/fcron/Makefile index bd0130392cc5..69c3820796e3 100644 --- a/sysutils/fcron/Makefile +++ b/sysutils/fcron/Makefile @@ -17,6 +17,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= svenasse@polaris.ca USE_AUTOCONF= yes +USE_PERL5= yes CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \ --with-rootname=root --with-rootgroup=wheel \ --with-answer-all=yes diff --git a/sysutils/safecat/Makefile b/sysutils/safecat/Makefile index c95f77eb4275..d02e22c0b3fe 100644 --- a/sysutils/safecat/Makefile +++ b/sysutils/safecat/Makefile @@ -12,12 +12,14 @@ MASTER_SITES= http://www.nb.net/~lbudney/linux/software/safecat/ MAINTAINER= roam@FreeBSD.org +USE_REINPLACE= yes + MAN1= safecat.1 maildir.1 do-configure: - ${PERL} -pi.fbsd -e "s,/usr/local,${PREFIX}," ${WRKSRC}/conf-root - ${PERL} -pi.fbsd -e "s,cc -O2,${CC} ${CFLAGS}," ${WRKSRC}/conf-cc - ${PERL} -pi.fbsd -e "s,cc -s,${CC} ${CFLAGS} ${STRIP}," ${WRKSRC}/conf-ld + ${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/conf-root + ${REINPLACE_CMD} -e "s,cc -O2,${CC} ${CFLAGS}," ${WRKSRC}/conf-cc + ${REINPLACE_CMD} -e "s,cc -s,${CC} ${CFLAGS} ${STRIP}," ${WRKSRC}/conf-ld ALL_TARGET= it INSTALL_TARGET= setup check diff --git a/sysutils/ssync/Makefile b/sysutils/ssync/Makefile index e067ce9bf137..1129058a2b2b 100644 --- a/sysutils/ssync/Makefile +++ b/sysutils/ssync/Makefile @@ -15,14 +15,15 @@ MAINTAINER= nyxo@dnuc.polyn.kiae.su ALL_TARGET= default USE_GMAKE= yes MAKEFILE= makefile +USE_REINPLACE= yes MAN1= ssync.1 post-patch: - @${PERL} -pi -e 's@/etc/init.d/ssyncd@\$$0@g' ${WRKSRC}/ssyncd.init - @${PERL} -pi -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \ + @${REINPLACE_CMD} -e 's@/etc/init.d/ssyncd@\$$0@g' ${WRKSRC}/ssyncd.init + @${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \ ${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c - @${PERL} -pi -e "s@ +CFLAGS.+@@g; s@ +LDFLAGS.+@@g;" ${WRKSRC}/makefile + @${REINPLACE_CMD} -e "s@ +CFLAGS.+@@g; s@ +LDFLAGS.+@@g;" ${WRKSRC}/makefile do-install: @${INSTALL_PROGRAM} ${WRKSRC}/ssync ${PREFIX}/bin/ssync diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile index 677ddae36420..8d2d2f2e209f 100644 --- a/sysutils/syslog-ng/Makefile +++ b/sysutils/syslog-ng/Makefile @@ -18,11 +18,12 @@ MAN5= syslog-ng.conf.5 MAN8= syslog-ng.8 GNU_CONFIGURE= yes +USE_REINPLACE= yes PKGMESSAGE= ${WRKDIR}/MESSAGE post-patch: - @${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h + @${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h post-build: @${SED} -e 's,__PREFIX__,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE} diff --git a/sysutils/syslog-ng1/Makefile b/sysutils/syslog-ng1/Makefile index 677ddae36420..8d2d2f2e209f 100644 --- a/sysutils/syslog-ng1/Makefile +++ b/sysutils/syslog-ng1/Makefile @@ -18,11 +18,12 @@ MAN5= syslog-ng.conf.5 MAN8= syslog-ng.8 GNU_CONFIGURE= yes +USE_REINPLACE= yes PKGMESSAGE= ${WRKDIR}/MESSAGE post-patch: - @${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h + @${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/src/syslog-ng.h post-build: @${SED} -e 's,__PREFIX__,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE} |