pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/rfcutil Fix path to RFC-database, it's most c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56cd1e388eac
branches:  trunk
changeset: 496997:56cd1e388eac
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Mon Jul 18 20:00:22 2005 +0000

description:
Fix path to RFC-database, it's most certainly not in /usr/local.
Bump revision.

diffstat:

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

diffs (26 lines):

diff -r 1cf27cfafa2e -r 56cd1e388eac textproc/rfcutil/Makefile
--- a/textproc/rfcutil/Makefile Mon Jul 18 19:13:37 2005 +0000
+++ b/textproc/rfcutil/Makefile Mon Jul 18 20:00:22 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2005/07/16 01:19:24 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2005/07/18 20:00:22 hubertf Exp $
 #
 
 DISTNAME=      rfc-3.2
 PKGNAME=       rfcutil-3.2
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc
 MASTER_SITES=  http://www.dewn.com/rfc/
 EXTRACT_SUFX=  #
@@ -24,7 +24,9 @@
 INSTALLATION_DIRS=     bin
 
 do-extract:
-       ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/rfc
+       ${SED} \
+               -e 's,/usr/local,${PREFIX},' \
+               <${DISTDIR}/${DISTNAME} >${WRKSRC}/rfc
 
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/rfc ${PREFIX}/bin/rfc



Home | Main Index | Thread Index | Old Index