pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/port2pkg/files Replaced ${PKGNAME:C...} with ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/46fb3bada126
branches: trunk
changeset: 502524:46fb3bada126
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Nov 05 17:23:35 2005 +0000
description:
Replaced ${PKGNAME:C...} with the equivalent ${PKGBASE}.
diffstat:
pkgtools/port2pkg/files/port2pkg.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r fee321d80481 -r 46fb3bada126 pkgtools/port2pkg/files/port2pkg.pl
--- a/pkgtools/port2pkg/files/port2pkg.pl Sat Nov 05 17:21:01 2005 +0000
+++ b/pkgtools/port2pkg/files/port2pkg.pl Sat Nov 05 17:23:35 2005 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
-# $NetBSD: port2pkg.pl,v 1.13 2004/01/10 16:27:06 cjep Exp $
+# $NetBSD: port2pkg.pl,v 1.14 2005/11/05 17:23:35 rillig Exp $
#
require 'getopts.pl';
@@ -180,7 +180,7 @@
s|^\.include <bsd.port.mk>|.include \"../../mk/bsd.pkg.mk\"|;
s|^FETCH_(DEPENDS)|BUILD_$1|;
s|^LIB_(DEPENDS)|$1|;
- s|\$\{PORTNAME\}|\${PKGNAME:C/-[^-]*\$//}|g;
+ s|\$\{PORTNAME\}|\${PKGBASE}|g;
s|\$\{PORTSDIR\}|../..|g;
s|PLIST_SUB|PLIST_SUBST|;
Home |
Main Index |
Thread Index |
Old Index