diff options
author | seb <seb> | 2004-02-16 10:11:45 +0000 |
---|---|---|
committer | seb <seb> | 2004-02-16 10:11:45 +0000 |
commit | 97aeed5ccf3f1cd4474256d8c09bfb48d9cea426 (patch) | |
tree | ef2ca47807f702decaeab6fab874dbb1bea8e207 /textproc/rfcutil | |
parent | 01129bd6c29504db00535fd2babef816da33c012 (diff) | |
download | pkgsrc-97aeed5ccf3f1cd4474256d8c09bfb48d9cea426.tar.gz |
Replace ad hoc sed usage with REPLACE_PERL.
Diffstat (limited to 'textproc/rfcutil')
-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 |