summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /net
parent- reorder patches (diff)
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes: svn path=/head/; revision=69436
Diffstat (limited to 'net')
-rw-r--r--net/NeTraMet/Makefile3
-rw-r--r--net/dhid/Makefile3
-rw-r--r--net/fspd/Makefile3
-rw-r--r--net/hlmaster/Makefile7
-rw-r--r--net/iplog/Makefile3
-rw-r--r--net/jabber/Makefile1
-rw-r--r--net/ldapsdk/Makefile1
-rw-r--r--net/mudix/Makefile3
-rw-r--r--net/p0f/Makefile3
-rw-r--r--net/passlogd/Makefile4
-rw-r--r--net/py-google/Makefile5
-rw-r--r--net/tdetect/Makefile6
-rw-r--r--net/trafshow/Makefile3
-rw-r--r--net/trafshow3/Makefile3
-rw-r--r--net/trafshow4/Makefile3
15 files changed, 34 insertions, 17 deletions
diff --git a/net/NeTraMet/Makefile b/net/NeTraMet/Makefile
index 892b8fc72f7b..f4b8ec694505 100644
--- a/net/NeTraMet/Makefile
+++ b/net/NeTraMet/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= olgeni@FreeBSD.org
WRKSRC= ${WRKDIR}/NeTraMet${PORTVERSION:S/.//}
+USE_REINPLACE= yes
USE_AUTOCONF= yes
USE_GMAKE= yes
@@ -27,6 +28,6 @@ PLIST_SUB= MOTIF="@comment "
.endif
post-patch:
- ${PERL} -pi -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
+ ${REINPLACE_CMD} -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
.include <bsd.port.mk>
diff --git a/net/dhid/Makefile b/net/dhid/Makefile
index abe318814d5d..01e9efed30ff 100644
--- a/net/dhid/Makefile
+++ b/net/dhid/Makefile
@@ -14,13 +14,14 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= oryx@ungulate.net
+USE_REINPLACE= yes
OLDWRKSRC= ${WRKDIR}/${PORTNAME}-3.1
MAN8= dhid.8
post-patch:
@${ECHO} "===> Patching dhid.h"
- ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" ${WRKSRC}/dhid.h
+ ${REINPLACE_CMD} -e "s^__PREFIX__^${PREFIX}^g" ${WRKSRC}/dhid.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/sbin
diff --git a/net/fspd/Makefile b/net/fspd/Makefile
index 03cd87b391a1..51758c385391 100644
--- a/net/fspd/Makefile
+++ b/net/fspd/Makefile
@@ -16,13 +16,14 @@ MAINTAINER= trevor@FreeBSD.org
ALL_TARGET= fspserver
DOCDIR= share/doc/${PORTNAME}
DOCFILES= BETA.README ChangeLog FILES INFO TODO INSTALL MACHINES
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
MAN1= fspd.1
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/2.8.1
do-patch:
- ${PERL} -pi -e "s:/usr/fsp:${LOCALBASE}/etc:g" \
+ ${REINPLACE_CMD} -e "s:/usr/fsp:${LOCALBASE}/etc:g" \
${WRKSRC}/include/server_conf.h
pre-install:
diff --git a/net/hlmaster/Makefile b/net/hlmaster/Makefile
index ae1ea5221016..cb54b6fea56b 100644
--- a/net/hlmaster/Makefile
+++ b/net/hlmaster/Makefile
@@ -14,14 +14,15 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pat@FreeBSD.org
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MAN1= ${PORTNAME}.1 ${PORTNAME}.gameserver.1 \
${PORTNAME}.filter.1 ${PORTNAME}.list.1
pre-patch:
- @${PERL} -pi -e 's|-O2||' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${PERL} \
- -pi.orig -e 's|CXXFLAGS = -O2 -Wall||'
+ @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name Makefile.in | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|CXXFLAGS = -O2 -Wall||'
post-install:
.if !defined(NOPORTDOCS)
diff --git a/net/iplog/Makefile b/net/iplog/Makefile
index 6994ebcfe0a4..1cdaac1a2e60 100644
--- a/net/iplog/Makefile
+++ b/net/iplog/Makefile
@@ -16,6 +16,7 @@ MASTER_SITE_SUBDIR= ojnk
MAINTAINER= udo.schweigert@siemens.com
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
MAN5= iplog.conf.5
@@ -24,7 +25,7 @@ MAN8= iplog.8
.include <bsd.port.pre.mk>
post-patch:
.for file in example-iplog.conf iplog.8 iplog.conf.5 src/iplog.h
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor
post-install:
diff --git a/net/jabber/Makefile b/net/jabber/Makefile
index 40d814be49b4..811439600711 100644
--- a/net/jabber/Makefile
+++ b/net/jabber/Makefile
@@ -18,6 +18,7 @@ MAINTAINER= seanc@FreeBSD.org
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_OPENSSL= yes
+USE_PERL5= yes
CONFIGURE_ARGS+= --enable-ssl
diff --git a/net/ldapsdk/Makefile b/net/ldapsdk/Makefile
index 5ef97f518e55..428dd9be4c3b 100644
--- a/net/ldapsdk/Makefile
+++ b/net/ldapsdk/Makefile
@@ -18,6 +18,7 @@ MAINTAINER= paul@FreeBSD.org
WRKSRC= ${WRKDIR}/mozilla
MAKEFILE= ${WRKSRC}/directory/ldapsdk.mk
USE_GMAKE= yes
+USE_PERL5= yes
MAKE_ENV+= MOZILLA_CLIENT=1 NO_MDUPDATE=1 MOZ_LDAP_SDK=1
ALL_TARGET= build
diff --git a/net/mudix/Makefile b/net/mudix/Makefile
index 73bd4bd78d3b..28e16c6a0b83 100644
--- a/net/mudix/Makefile
+++ b/net/mudix/Makefile
@@ -13,10 +13,11 @@ MASTER_SITES= http://dw.nl.eu.org/mudix/
MAINTAINER= scorpio@drkshdw.org
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
ALL_TARGET= # none
pre-patch:
- @${PERL} -pi -e 's|-O -g|\@CFLAGS\@|g ; \
+ @${REINPLACE_CMD} -e 's|-O -g|\@CFLAGS\@|g ; \
s|mudix.h conf.h||g' ${WRKSRC}/src/Makefile.in
do-install:
diff --git a/net/p0f/Makefile b/net/p0f/Makefile
index f60bb02bfce5..754f87fbfaee 100644
--- a/net/p0f/Makefile
+++ b/net/p0f/Makefile
@@ -14,12 +14,13 @@ EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
+USE_REINPLACE= yes
DOCFILES= COPYING CREDITS ChangeLog README
MAN1= p0f.1
PLIST= ${WRKDIR}/pkg-plist
post-patch:
- ${PERL} -pi -e "s=/etc=${PREFIX}/etc=g" \
+ ${REINPLACE_CMD} -e "s=/etc=${PREFIX}/etc=g" \
${WRKSRC}/README \
${WRKSRC}/p0f.c
diff --git a/net/passlogd/Makefile b/net/passlogd/Makefile
index 1bae91dca26c..5c3bd7d949dd 100644
--- a/net/passlogd/Makefile
+++ b/net/passlogd/Makefile
@@ -12,8 +12,10 @@ MASTER_SITES= http://www.morphine.com/src/
MAINTAINER= petef@FreeBSD.org
+USE_REINPLACE= yes
+
post-patch:
- ${PERL} -pi -e "s|.\(CXX\)|${CC} ${CFLAGS}|g" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s|.\(CXX\)|${CC} ${CFLAGS}|g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/passlogd ${PREFIX}/sbin
diff --git a/net/py-google/Makefile b/net/py-google/Makefile
index 752537f90f21..0f33dc0fc907 100644
--- a/net/py-google/Makefile
+++ b/net/py-google/Makefile
@@ -19,6 +19,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_xmlplus/sax/__init__.py:${PORTSDIR}/textproc/
USE_PYTHON= yes
USE_ZIP= yes
USE_PYDISTUTILS= yes
+USE_REINPLACE= yes
EXTRACT_BEFORE_ARGS= -q -aa
WRKSRC= ${WRKDIR}/pygoogle
@@ -28,11 +29,11 @@ post-patch:
# www/py-websvcs has an incompatible version of SOAP.py
@${MV} ${WRKSRC}/SOAP.py ${WRKSRC}/SOAPgoogle.py
@cd ${WRKSRC}; for f in *.py; do \
- ${PERL} -pi -e 's,import SOAP,import SOAPgoogle as SOAP,g' $$f; \
+ ${REINPLACE_CMD} -e 's,import SOAP,import SOAPgoogle as SOAP,g' $$f; \
done
@${MKDIR} ${WRKSRC}/tests
@${MV} ${WRKSRC}/*test*.py ${WRKSRC}/tests
- @${PERL} -pi -e 's,.*extra_path.*,,g' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e 's,.*extra_path.*,,g' ${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile
index 30fb3f68db5f..9679f8e57111 100644
--- a/net/tdetect/Makefile
+++ b/net/tdetect/Makefile
@@ -14,12 +14,14 @@ MASTER_SITES= http://sb.123.org/ \
MAINTAINER= shipley@dis.org
+USE_REINPLACE= yes
+
.include <bsd.port.pre.mk>
pre-configure:
- ${PERL} -pi.dist -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h
+ ${REINPLACE_CMD} -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h
.if ${OSVERSION} > 330002
- ${PERL} -pi.orig -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h
+ ${REINPLACE_CMD} -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h
.endif
do-install:
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile
index 7580bba2cde9..47800cb82c4e 100644
--- a/net/trafshow/Makefile
+++ b/net/trafshow/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= ryan@sasknow.com
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -28,7 +29,7 @@ ALL_TARGET= trafshow
MAN1= trafshow.1
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
diff --git a/net/trafshow3/Makefile b/net/trafshow3/Makefile
index 7580bba2cde9..47800cb82c4e 100644
--- a/net/trafshow3/Makefile
+++ b/net/trafshow3/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= ryan@sasknow.com
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -28,7 +29,7 @@ ALL_TARGET= trafshow
MAN1= trafshow.1
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
diff --git a/net/trafshow4/Makefile b/net/trafshow4/Makefile
index 7580bba2cde9..47800cb82c4e 100644
--- a/net/trafshow4/Makefile
+++ b/net/trafshow4/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= ryan@sasknow.com
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -28,7 +29,7 @@ ALL_TARGET= trafshow
MAN1= trafshow.1
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin