diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-06-16 15:03:10 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-06-16 15:03:10 +0000 |
commit | fd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch) | |
tree | f2b90f36648fe13ed28fdddbabab21b4f8e0d784 /databases/metakit | |
parent | 95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff) | |
download | FreeBSD-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/Makefile | 18 |
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: |