diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
commit | 7dd6805c44bf98d4d64a54313e9f622fd7cb2656 (patch) | |
tree | 753b016f246dce9957c268962733d34c7e3eb7b7 /sysutils | |
parent | c4fd09e68bc5c2ee1078b7b21b2ac0601f34aead (diff) | |
download | FreeBSD-ports-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.zip FreeBSD-ports-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.gz |
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
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 28f94b1..a6477f9 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 bd01303..69c3820 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 c95f77e..d02e22c 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 e067ce9..1129058 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 677ddae..8d2d2f2 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 677ddae..8d2d2f2 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} |