aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2010-12-15 02:38:51 +0800
committeraz <az@FreeBSD.org>2010-12-15 02:38:51 +0800
commit2f909835fb054d8a692d6ae632dab7a45e148ab9 (patch)
treeb97682258e573be901ffd1285606df4c13802985 /ports-mgmt
parentd2c396e7f048d69bf546d76707d6ee546c8c8bb2 (diff)
downloadfreebsd-ports-gnome-2f909835fb054d8a692d6ae632dab7a45e148ab9.tar.gz
freebsd-ports-gnome-2f909835fb054d8a692d6ae632dab7a45e148ab9.tar.zst
freebsd-ports-gnome-2f909835fb054d8a692d6ae632dab7a45e148ab9.zip
- Try to be more friendly with 'spaces' in @dirrmtry while rendering pkg-plist.***
- RIP MD5 in distinfo while I'm here. *** I'm not sure about this patch, so you can argue about it with me. Also you can look ports/152102. PR: ports/152156 Submitted by: az Approved by: sergei (timeout)
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/porttools/Makefile1
-rw-r--r--ports-mgmt/porttools/distinfo1
-rw-r--r--ports-mgmt/porttools/files/patch-cmd_test.in11
3 files changed, 12 insertions, 1 deletions
diff --git a/ports-mgmt/porttools/Makefile b/ports-mgmt/porttools/Makefile
index 1846784537d5..1f39e7dd719a 100644
--- a/ports-mgmt/porttools/Makefile
+++ b/ports-mgmt/porttools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= porttools
PORTVERSION= 0.99
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= SF
diff --git a/ports-mgmt/porttools/distinfo b/ports-mgmt/porttools/distinfo
index d7e4a051571f..7b3baefd8b0d 100644
--- a/ports-mgmt/porttools/distinfo
+++ b/ports-mgmt/porttools/distinfo
@@ -1,3 +1,2 @@
-MD5 (porttools-0.99.tar.gz) = 198474f53d50b6fc9a76bb2068d4fbc6
SHA256 (porttools-0.99.tar.gz) = b59f5acee9ae3c3494ffb9c588b1ea2d95abbfa82162107a84c9c42455b252a2
SIZE (porttools-0.99.tar.gz) = 17357
diff --git a/ports-mgmt/porttools/files/patch-cmd_test.in b/ports-mgmt/porttools/files/patch-cmd_test.in
new file mode 100644
index 000000000000..d25b0b0bf687
--- /dev/null
+++ b/ports-mgmt/porttools/files/patch-cmd_test.in
@@ -0,0 +1,11 @@
+--- cmd_test.in 2009-09-09 23:59:59.000000000 +0400
++++ cmd_test.in 2010-11-10 13:57:10.000000000 +0300
+@@ -189,7 +189,7 @@
+ sed -e "s,^${PREFIX}/,,"
+ sudo find ${LOCALBASE}/ -type d | sed "s,^${LOCALBASE}/,," | sort > ${PREFIX}.PLIST_DIRS.before
+ sudo find ${PREFIX}/ -type d | sed "s,^${PREFIX}/,," | sort > ${PREFIX}.PLIST_DIRS.after
+- comm -13 ${PREFIX}.PLIST_DIRS.before ${PREFIX}.PLIST_DIRS.after | sort -r | awk '{print "@dirrmtry "$1}'
++ comm -13 ${PREFIX}.PLIST_DIRS.before ${PREFIX}.PLIST_DIRS.after | sort -r | awk '{print "@dirrmtry "$0}'
+ fi
+
+ # Finish with a clean workspace