aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 09:56:21 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 09:56:21 +0800
commit31e736c00404a9a4083bb7b2da33f970bfd05548 (patch)
tree0a02623cebf1922f197b4ac093828a6794b4670e
parent5914dd37c79a5ce711d244765e87a84e7c4b889f (diff)
downloadfreebsd-ports-gnome-31e736c00404a9a4083bb7b2da33f970bfd05548.tar.gz
freebsd-ports-gnome-31e736c00404a9a4083bb7b2da33f970bfd05548.tar.zst
freebsd-ports-gnome-31e736c00404a9a4083bb7b2da33f970bfd05548.zip
PERL -> REINPLACE
Noticed on: bento
-rw-r--r--biology/gff2ps/Makefile3
-rw-r--r--biology/nab/Makefile3
-rw-r--r--databases/firebird-client/Makefile5
-rw-r--r--databases/firebird-devel/Makefile5
-rw-r--r--databases/firebird-server/Makefile5
-rw-r--r--databases/firebird/Makefile5
-rw-r--r--databases/firebird2-server/Makefile5
-rw-r--r--databases/firebird20-server/Makefile5
-rw-r--r--devel/bcpp/Makefile3
-rw-r--r--dns/dhisd/Makefile4
-rw-r--r--korean/han/Makefile3
-rw-r--r--korean/hpscat/Makefile4
-rw-r--r--math/nauty/Makefile3
-rw-r--r--misc/colortail/Makefile5
-rw-r--r--net/dhisd/Makefile4
-rw-r--r--textproc/textutils/Makefile3
16 files changed, 40 insertions, 25 deletions
diff --git a/biology/gff2ps/Makefile b/biology/gff2ps/Makefile
index 934b600582cb..d87036ccc09a 100644
--- a/biology/gff2ps/Makefile
+++ b/biology/gff2ps/Makefile
@@ -19,11 +19,12 @@ RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk \
GFF2PS_MAN= MANUAL_GFF2PS_v0.96.ps
PATCH_WRKSRC= ${WRKDIR}
+USE_REINPLACE= yes
NO_BUILD= yes
post-patch:
- @${PERL} -pi -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,; \
+ @${REINPLACE_CMD} -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,; \
s,/usr/local/bin/gawk,${LOCALBASE}/bin/gawk,' ${WRKDIR}/gff2ps
do-extract:
diff --git a/biology/nab/Makefile b/biology/nab/Makefile
index 1496ea23f8d9..e57708d2bfac 100644
--- a/biology/nab/Makefile
+++ b/biology/nab/Makefile
@@ -18,6 +18,7 @@ MAKE_ENV+= NABHOME=${WRKSRC} ARCH= PATH=${WRKSRC}/bin:${PATH}
USE_BISON= yes
MAN1= nab.1
MANCOMPRESSED= yes
+USE_REINPLACE= yes
BINARIES= matextract matmul teLeap tss_main \
matgen nab transform tss_next \
@@ -31,7 +32,7 @@ post-extract:
@${CP} ${FILESDIR}/config.h ${WRKSRC}
pre-patch:
- @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/cifparse/cifparse.c
post-patch:
diff --git a/databases/firebird-client/Makefile b/databases/firebird-client/Makefile
index 486467c2efda..c0f4343a84d1 100644
--- a/databases/firebird-client/Makefile
+++ b/databases/firebird-client/Makefile
@@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
@@ -43,10 +44,10 @@ do-extract:
post-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
- @${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
+ @${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
${WRKSRC}/builds/original/prefix.freebsd
.else
- @${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
+ @${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
.endif
do-configure:
diff --git a/databases/firebird-devel/Makefile b/databases/firebird-devel/Makefile
index 91087e76a627..f1347c86c894 100644
--- a/databases/firebird-devel/Makefile
+++ b/databases/firebird-devel/Makefile
@@ -21,6 +21,7 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
@@ -41,10 +42,10 @@ do-extract:
post-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
- @${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
+ @${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
${WRKSRC}/builds/original/prefix.freebsd
.else
- @${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
+ @${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
.endif
do-configure:
diff --git a/databases/firebird-server/Makefile b/databases/firebird-server/Makefile
index 486467c2efda..c0f4343a84d1 100644
--- a/databases/firebird-server/Makefile
+++ b/databases/firebird-server/Makefile
@@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
@@ -43,10 +44,10 @@ do-extract:
post-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
- @${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
+ @${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
${WRKSRC}/builds/original/prefix.freebsd
.else
- @${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
+ @${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
.endif
do-configure:
diff --git a/databases/firebird/Makefile b/databases/firebird/Makefile
index 486467c2efda..c0f4343a84d1 100644
--- a/databases/firebird/Makefile
+++ b/databases/firebird/Makefile
@@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
@@ -43,10 +44,10 @@ do-extract:
post-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
- @${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
+ @${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
${WRKSRC}/builds/original/prefix.freebsd
.else
- @${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
+ @${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
.endif
do-configure:
diff --git a/databases/firebird2-server/Makefile b/databases/firebird2-server/Makefile
index 486467c2efda..c0f4343a84d1 100644
--- a/databases/firebird2-server/Makefile
+++ b/databases/firebird2-server/Makefile
@@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
@@ -43,10 +44,10 @@ do-extract:
post-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
- @${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
+ @${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
${WRKSRC}/builds/original/prefix.freebsd
.else
- @${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
+ @${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
.endif
do-configure:
diff --git a/databases/firebird20-server/Makefile b/databases/firebird20-server/Makefile
index 486467c2efda..c0f4343a84d1 100644
--- a/databases/firebird20-server/Makefile
+++ b/databases/firebird20-server/Makefile
@@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
@@ -43,10 +44,10 @@ do-extract:
post-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
- @${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
+ @${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
${WRKSRC}/builds/original/prefix.freebsd
.else
- @${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
+ @${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
.endif
do-configure:
diff --git a/devel/bcpp/Makefile b/devel/bcpp/Makefile
index 990edd7ef382..0532aaac3af2 100644
--- a/devel/bcpp/Makefile
+++ b/devel/bcpp/Makefile
@@ -16,9 +16,10 @@ MAINTAINER= buchanon@msu.edu
WRKSRC= ${WRKDIR}/${DISTNAME}/code
MAKEFILE= makefile
ALL_TARGET= ${PORTNAME}
+USE_REINPLACE= yes
post-patch:
- @${PERL5} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/bcpp.cpp
+ @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/bcpp.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff --git a/dns/dhisd/Makefile b/dns/dhisd/Makefile
index eda37c48f4c8..14278b5a883a 100644
--- a/dns/dhisd/Makefile
+++ b/dns/dhisd/Makefile
@@ -8,7 +8,6 @@
PORTNAME= dhisd
PORTVERSION= 5.1
PORTREVISION= 1
-
CATEGORIES= net
MASTER_SITES= http://bsltwr.dhis.org/ftp/pub/dhis/ \
ftp://ftp.dhis.org/pub/dhis/
@@ -18,10 +17,11 @@ MAINTAINER= baskruit@bsltwr.dnsalias.org
LIB_DEPENDS= gmp.3:${PORTSDIR}/math/libgmp-freebsd
DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README
+USE_REINPLACE= yes
post-patch:
${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh
- cd ${WRKSRC} && ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" \
+ cd ${WRKSRC} && ${REINPLACE_CMD} -p e "s^__PREFIX__^${PREFIX}^g" \
Makefile dhisd.h dhisd.sh ${DOCFILES}
do-install:
diff --git a/korean/han/Makefile b/korean/han/Makefile
index 51d16362117d..3f5ceb53aec1 100644
--- a/korean/han/Makefile
+++ b/korean/han/Makefile
@@ -15,9 +15,10 @@ MAINTAINER= cjh@FreeBSD.org
ONLY_FOR_ARCHS= i386
USE_GMAKE= YES
+USE_REINPLACE= yes
pre-patch:
- @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/src/vt.c ${WRKSRC}/lib/mem.c
post-configure:
diff --git a/korean/hpscat/Makefile b/korean/hpscat/Makefile
index 571a6bfa9e3c..7e0d438ed628 100644
--- a/korean/hpscat/Makefile
+++ b/korean/hpscat/Makefile
@@ -20,8 +20,10 @@ MAINTAINER= cjh@FreeBSD.org
RUN_DEPENDS= hcode:${PORTSDIR}/korean/hcode
+USE_REINPLACE= yes
+
pre-patch:
- @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/hpscat.h
pre-configure:
diff --git a/math/nauty/Makefile b/math/nauty/Makefile
index ef79cfa3e398..1335f2262418 100644
--- a/math/nauty/Makefile
+++ b/math/nauty/Makefile
@@ -17,9 +17,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}20
MAKEFILE= makefile
ALL_TARGET= nauty
NO_INSTALL_MANPAGES=yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
do-install:
cd ${WRKSRC}; ${INSTALL_PROGRAM} dreadnaut dreadnaut1 \
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile
index b67f34848589..67b59dc045e6 100644
--- a/misc/colortail/Makefile
+++ b/misc/colortail/Makefile
@@ -14,11 +14,12 @@ MAINTAINER= bugg@bugg.strangled.net
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
pre-patch:
- @${PERL} -pi.orig -e "s@malloc.h@stdlib.h@g" \
- ${WRKSRC}/CfgFileParser.cc
+ @${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g" \
+ ${WRKSRC}/CfgFileParser.cc
post-install:
@ ${MKDIR} ${PREFIX}/share/colortail
diff --git a/net/dhisd/Makefile b/net/dhisd/Makefile
index eda37c48f4c8..14278b5a883a 100644
--- a/net/dhisd/Makefile
+++ b/net/dhisd/Makefile
@@ -8,7 +8,6 @@
PORTNAME= dhisd
PORTVERSION= 5.1
PORTREVISION= 1
-
CATEGORIES= net
MASTER_SITES= http://bsltwr.dhis.org/ftp/pub/dhis/ \
ftp://ftp.dhis.org/pub/dhis/
@@ -18,10 +17,11 @@ MAINTAINER= baskruit@bsltwr.dnsalias.org
LIB_DEPENDS= gmp.3:${PORTSDIR}/math/libgmp-freebsd
DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README
+USE_REINPLACE= yes
post-patch:
${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh
- cd ${WRKSRC} && ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" \
+ cd ${WRKSRC} && ${REINPLACE_CMD} -p e "s^__PREFIX__^${PREFIX}^g" \
Makefile dhisd.h dhisd.sh ${DOCFILES}
do-install:
diff --git a/textproc/textutils/Makefile b/textproc/textutils/Makefile
index b41a0ad7b68a..385e79725cde 100644
--- a/textproc/textutils/Makefile
+++ b/textproc/textutils/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= aw1@stade.co.uk
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -29,7 +30,7 @@ MAN1= gcomm.1 gcsplit.1 gcut.1 gexpand.1 gfmt.1 ghead.1 \
gsplit.1 gunexpand.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure