aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2012-10-15 14:10:44 +0800
committerbdrewery <bdrewery@FreeBSD.org>2012-10-15 14:10:44 +0800
commit2fbe6884d395e54200e00a2750397cda7d9690be (patch)
tree74481c827b240cffbea1cd23e29d1b95b7532ffc /ports-mgmt
parentfed4e2cf9c6584a0de9feb36a1da4e2cd6ea5884 (diff)
downloadfreebsd-ports-gnome-2fbe6884d395e54200e00a2750397cda7d9690be.tar.gz
freebsd-ports-gnome-2fbe6884d395e54200e00a2750397cda7d9690be.tar.zst
freebsd-ports-gnome-2fbe6884d395e54200e00a2750397cda7d9690be.zip
- Add backup non-https mirror
- Add PKGNG option to apply pkgng support patch. This will be fully integrated upstream in the next version. This functionality is only enabled when WITH_PKGNG is defined in make.conf (or a recent CURRENT by default, see UPDATING 20121010). Due to the compat OPTION handling, defining WITH_PKGNG will also apply the patch by default. The pkgng patch is contributed by avilla@ Feature safe: yes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmaster/Makefile11
-rw-r--r--ports-mgmt/portmaster/distinfo2
2 files changed, 12 insertions, 1 deletions
diff --git a/ports-mgmt/portmaster/Makefile b/ports-mgmt/portmaster/Makefile
index 9553dd875b9c..f8516e8dce3a 100644
--- a/ports-mgmt/portmaster/Makefile
+++ b/ports-mgmt/portmaster/Makefile
@@ -2,7 +2,10 @@
PORTNAME= portmaster
PORTVERSION= 3.14
+PORTREVISION= 1
CATEGORIES= ports-mgmt
+MASTER_SITES= GH \
+ http://mirror.shatow.net/freebsd/portmaster/
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT}
MAINTAINER= bdrewery@FreeBSD.org
@@ -15,9 +18,10 @@ GH_ACCOUNT= portmaster
GH_COMMIT= 31009f6
GH_TAGNAME= ${GH_COMMIT}
-OPTIONS_DEFINE= BASH ZSH
+OPTIONS_DEFINE= BASH ZSH PKGNG
BASH_DESC= Install programmable completions for Bash
ZSH_DESC= Install programmable completions for zsh
+PKGNG_DESC= Enable PKGNG support
PLIST_FILES= sbin/portmaster etc/portmaster.rc.sample
@@ -25,6 +29,11 @@ MAN8= portmaster.8
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MPKGNG}
+PATCH_SITES+= http://mirror.shatow.net/freebsd/portmaster/
+PATCHFILES+= patch-portmaster-pkgng.gz
+.endif
+
.if ${PORT_OPTIONS:MBASH}
PLIST_FILES+= etc/bash_completion.d/portmaster.sh
PLIST_DIRSTRY+= etc/bash_completion.d
diff --git a/ports-mgmt/portmaster/distinfo b/ports-mgmt/portmaster/distinfo
index db4b045772e7..4b024edc6037 100644
--- a/ports-mgmt/portmaster/distinfo
+++ b/ports-mgmt/portmaster/distinfo
@@ -1,2 +1,4 @@
SHA256 (portmaster-portmaster-3.14-31009f6.tar.gz) = 9029531c486d937c09974baa0174f5a59b5e54c2400ab60caabb09af3add9605
SIZE (portmaster-portmaster-3.14-31009f6.tar.gz) = 42265
+SHA256 (patch-portmaster-pkgng.gz) = f55e9e8e2117988a5b1e58c269c109d00d1468892b6d742210c9bafca41e1d34
+SIZE (patch-portmaster-pkgng.gz) = 9937