pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/rfcutil Replace ad hoc sed usage with REPLACE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d6e433bcf1f
branches:  trunk
changeset: 468705:5d6e433bcf1f
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Feb 16 10:11:45 2004 +0000

description:
Replace ad hoc sed usage with REPLACE_PERL.

diffstat:

 textproc/rfcutil/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 092931b834b6 -r 5d6e433bcf1f textproc/rfcutil/Makefile
--- a/textproc/rfcutil/Makefile Mon Feb 16 10:02:42 2004 +0000
+++ b/textproc/rfcutil/Makefile Mon Feb 16 10:11:45 2004 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index