aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2002-09-03 01:36:55 +0800
committerclive <clive@FreeBSD.org>2002-09-03 01:36:55 +0800
commit7756bbac4a0174283dbed53822dc83096a32195d (patch)
tree161afaa4b2ebaecedef804007a405ef164a9fe7c
parent3039467cbd567cb0bbb35affe2e0eb649538ab4b (diff)
downloadfreebsd-ports-gnome-7756bbac4a0174283dbed53822dc83096a32195d.tar.gz
freebsd-ports-gnome-7756bbac4a0174283dbed53822dc83096a32195d.tar.zst
freebsd-ports-gnome-7756bbac4a0174283dbed53822dc83096a32195d.zip
Utilize sed_inplace.
-rw-r--r--www/bk2site/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/bk2site/Makefile b/www/bk2site/Makefile
index bf98cb15e147..a53a4728668c 100644
--- a/www/bk2site/Makefile
+++ b/www/bk2site/Makefile
@@ -35,6 +35,7 @@ ICONSDIR?= share/${PORTNAME}
MAN1= bk2site.1
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix="${PREFIX}" --enable-standard-datadir
@@ -43,11 +44,11 @@ CONFIGURE_ENV= CPPFLAGS=-Wno-deprecated
PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}"
post-patch:
- @${PERL} -pi -e 's,/etc/bk2site,${PREFIX}/etc/bk2site,' \
+ @${REINPLACE_CMD} -e 's,/etc/bk2site,${PREFIX}/etc/bk2site,' \
${WRKSRC}/dot.bk2siterc ${WRKSRC}/search.pl ${WRKSRC}/bk2site.1 \
${WRKSRC}/bk2site.html
- @${PERL} -pi -e 's,/icons/,/icons/bk2site/,' ${WRKSRC}/*
- @${PERL} -pi -e 's,long int l,time_t l,' ${WRKSRC}/reference.C
+ @${REINPLACE_CMD} -e 's,/icons/,/icons/bk2site/,' ${WRKSRC}/*
+ @${REINPLACE_CMD} -e 's,long int l,time_t l,' ${WRKSRC}/reference.C
post-install:
${MKDIR} ${PREFIX}/etc/${PORTNAME}