summaryrefslogtreecommitdiff
path: root/pkgtools/port2pkg/files
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-01-02 12:15:48 +0000
committerjoerg <joerg@pkgsrc.org>2012-01-02 12:15:48 +0000
commit68b23d850176bea71c4af09bfcec2d8e4aa9e938 (patch)
treed79a29f6093380bd6518e016ec26465705b7af47 /pkgtools/port2pkg/files
parent91bb58304f27315f5b3e90a86fdd1d392f1838fd (diff)
downloadpkgsrc-68b23d850176bea71c4af09bfcec2d8e4aa9e938.tar.gz
Make sure that only the real RCS ID gets embedded into the output.
Bump version, remove revision.
Diffstat (limited to 'pkgtools/port2pkg/files')
-rwxr-xr-xpkgtools/port2pkg/files/port2pkg.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/port2pkg/files/port2pkg.pl b/pkgtools/port2pkg/files/port2pkg.pl
index e826d503ac4..6ea47fb0c29 100755
--- a/pkgtools/port2pkg/files/port2pkg.pl
+++ b/pkgtools/port2pkg/files/port2pkg.pl
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
-# $NetBSD: port2pkg.pl,v 1.19 2007/07/10 15:27:57 joerg Exp $
+# $NetBSD: port2pkg.pl,v 1.20 2012/01/02 12:15:48 joerg Exp $
#
require 'getopts.pl';
@@ -289,7 +289,7 @@ sub conv_PLIST {
open(NEWPLIST, ">$pkgdir/new.$plist")
|| die "$pkgdir/new.$plist: $!\n";
- print NEWPLIST "\@comment \$NetBSD\$\n";
+ print NEWPLIST "\@comment \$"."NetBSD\$\n";
my ($cat_added, $man_added);
while (<OLDPLIST>) {
s|\%\%([^\%]+)\%\%|\${$1}|g;
@@ -323,7 +323,7 @@ sub add_NetBSD_ID {
|| open(MD5, "$portsdir/distinfo")) {
open(NMD5, ">$pkgdir/distinfo")
|| die "$pkgdir/distinfo: $!\n";
- print NMD5 "\$NetBSD\$\n\n";
+ print NMD5 "\$"."NetBSD\$\n\n";
while (<MD5>) {
print NMD5 $_;
}
@@ -341,7 +341,7 @@ sub add_NetBSD_ID {
|| open(PATCH, "$portsdir/files/$patch")) {
open(NPATCH, ">$pkgdir/patches/$patch")
|| die "$pkgdir/patches/$patch: $!\n";
- print NPATCH "\$NetBSD\$\n\n";
+ print NPATCH "\$"."NetBSD\$\n\n";
while (<PATCH>) {
if (/(FreeBSD)/i ||
/(#!.*perl)/) {