aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/porttools
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-07-27 15:40:01 +0800
committerdelphij <delphij@FreeBSD.org>2008-07-27 15:40:01 +0800
commit3e5130d4abda576a33171c6ddaf3eae11e3f7962 (patch)
treeca6896f7e6cccfd6b7349fca1fba14802cf14e43 /ports-mgmt/porttools
parentc47536d08090a980ab0ced6e38dc3c5d0f6ae38c (diff)
downloadfreebsd-ports-gnome-3e5130d4abda576a33171c6ddaf3eae11e3f7962.tar.gz
freebsd-ports-gnome-3e5130d4abda576a33171c6ddaf3eae11e3f7962.tar.zst
freebsd-ports-gnome-3e5130d4abda576a33171c6ddaf3eae11e3f7962.zip
When doing 'update' and 'diff', use our cvs(1)'s -R feature, this would accelerate
on certain configurations. While I'm there, make use of 'SF' macro for SourceForge mirror. PR: ports/116248
Diffstat (limited to 'ports-mgmt/porttools')
-rw-r--r--ports-mgmt/porttools/Makefile4
-rw-r--r--ports-mgmt/porttools/files/patch-util_diff.in20
2 files changed, 22 insertions, 2 deletions
diff --git a/ports-mgmt/porttools/Makefile b/ports-mgmt/porttools/Makefile
index 9a6f3472b097..b376e6d59bd8 100644
--- a/ports-mgmt/porttools/Makefile
+++ b/ports-mgmt/porttools/Makefile
@@ -7,9 +7,9 @@
PORTNAME= porttools
PORTVERSION= 0.77
+PORTREVISION= 1
CATEGORIES= ports-mgmt
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools for testing and submitting port updates and new ports
diff --git a/ports-mgmt/porttools/files/patch-util_diff.in b/ports-mgmt/porttools/files/patch-util_diff.in
new file mode 100644
index 000000000000..79c453f08c07
--- /dev/null
+++ b/ports-mgmt/porttools/files/patch-util_diff.in
@@ -0,0 +1,20 @@
+--- ./util_diff.in.orig 2006-05-06 19:31:58.000000000 +0800
++++ ./util_diff.in 2007-09-10 11:14:41.199138345 +0800
+@@ -54,7 +54,7 @@
+
+ # Run 'cvs update' first
+ echo "===> Updating from CVS"
+- cvs update -Pd
++ cvs -R update -Pd
+ if [ $? -ne 0 ]
+ then
+ echo "Error updating CVS"
+@@ -62,7 +62,7 @@
+ exit 1
+ fi
+
+- DIFF_CMD="cvs diff -uN"
++ DIFF_CMD="cvs -R diff -uN"
+ else
+ # Non-CVS modes
+ if [ -d ${DIFF_MODE} ]