diff options
author | seb <seb@pkgsrc.org> | 2004-02-16 10:11:45 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2004-02-16 10:11:45 +0000 |
commit | e65d71b907c80207efbcc856910d381e1c940869 (patch) | |
tree | ef2ca47807f702decaeab6fab874dbb1bea8e207 | |
parent | d8168eb9ccdff2661a7ee210b69e1645521c82de (diff) | |
download | pkgsrc-e65d71b907c80207efbcc856910d381e1c940869.tar.gz |
Replace ad hoc sed usage with REPLACE_PERL.
-rw-r--r-- | textproc/rfcutil/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/textproc/rfcutil/Makefile b/textproc/rfcutil/Makefile index b43dc8b6421..91635aa4b91 100644 --- a/textproc/rfcutil/Makefile +++ b/textproc/rfcutil/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/01/20 12:26:50 agc Exp $ +# $NetBSD: Makefile,v 1.10 2004/02/16 10:11:45 seb Exp $ # DISTNAME= rfc-3.2 @@ -18,11 +18,10 @@ EXTRACT_ONLY= # NO_BUILD= YES USE_PERL5= YES +REPLACE_PERL= rfc -post-patch: - ${SED} -e "s|/usr/bin/perl|${LOCALBASE}/bin/perl|g" \ - -e "s|/usr/local|${PREFIX}|g" \ - ${DISTDIR}/${DISTNAME} > ${WRKSRC}/rfc +do-extract: + ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/rfc do-install: ${INSTALL_SCRIPT} ${WRKSRC}/rfc ${PREFIX}/bin/rfc |