aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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