summaryrefslogtreecommitdiffstats
path: root/databases/metakit
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
committerdinoex <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
commitfd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch)
treef2b90f36648fe13ed28fdddbabab21b4f8e0d784 /databases/metakit
parent95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff)
downloadFreeBSD-ports-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.zip
FreeBSD-ports-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.gz
- Get rid of PERL and use SED
Diffstat (limited to 'databases/metakit')
-rw-r--r--databases/metakit/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
index ca02d4f..d1b2915 100644
--- a/databases/metakit/Makefile
+++ b/databases/metakit/Makefile
@@ -60,12 +60,20 @@ PLIST_SUB+= WITH_TCL="@comment "
.include <bsd.port.pre.mk>
pre-patch:
- @${PERL5} -pi -e "s/= tclsh/=tclsh${TCL_V}/" \
- ${WRKSRC}/../unix/Makefile.in
- @${PERL5} -pi -e "s=doc/==" ${WRKSRC}/../MetaKit.html
+ @${MV} ${WRKSRC}/../MetaKit.html ${WRKSRC}/../MetaKit.html.sed
+ ${SED} -e "s=doc/==" \
+ ${WRKSRC}/../MetaKit.html.sed > ${WRKSRC}/../MetaKit.html
+.if defined(METAKIT_WITH_TCL83) || defined(METAKIT_WITH_TCL84)
+ @${MV} ${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/Makefile.in.sed
+ ${SED} -e "s/= tclsh/=tclsh${TCL_V}/" \
+ ${WRKSRC}/../unix/Makefile.in.sed \
+ > ${WRKSRC}/../unix/Makefile.in
+.endif
.if defined(METAKIT_WITH_PYTHON)
- ${PERL5} -pi -e "s=python2.2=${PYTHON_VERSION}=" \
- ${WRKSRC}/../unix/Makefile.in
+ @${MV} ${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/Makefile.in.sed
+ ${SED} -e "s=python2.2=${PYTHON_VERSION}=" \
+ ${WRKSRC}/../unix/Makefile.in.sed \
+ > ${WRKSRC}/../unix/Makefile.in
.endif
post-install:
OpenPOWER on IntegriCloud