aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portmaster
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/portmaster')
-rw-r--r--ports-mgmt/portmaster/Makefile6
-rw-r--r--ports-mgmt/portmaster/pkg-message10
2 files changed, 15 insertions, 1 deletions
diff --git a/ports-mgmt/portmaster/Makefile b/ports-mgmt/portmaster/Makefile
index fe98313d1470..40beee04888d 100644
--- a/ports-mgmt/portmaster/Makefile
+++ b/ports-mgmt/portmaster/Makefile
@@ -2,7 +2,7 @@
PORTNAME= portmaster
PORTVERSION= 3.14
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ports-mgmt
MASTER_SITES= GH \
http://mirror.shatow.net/freebsd/portmaster/
@@ -30,6 +30,7 @@ MAN8= portmaster.8
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPKGNGPATCH}
+RUN_DEPENDS+= pkg>0:${PORTSDIR}/ports-mgmt/pkg
PATCH_SITES+= http://mirror.shatow.net/freebsd/portmaster/
PATCHFILES+= patch-portmaster-pkgng.gz
.endif
@@ -67,5 +68,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/files/zsh-completions \
${PREFIX}/share/zsh/site-functions/_portmaster
.endif
+.if ${PORT_OPTIONS:MPKGNGPATCH}
+ ${CAT} ${PKGMESSAGE}
+.endif
.include <bsd.port.mk>
diff --git a/ports-mgmt/portmaster/pkg-message b/ports-mgmt/portmaster/pkg-message
new file mode 100644
index 000000000000..b6113c63eae0
--- /dev/null
+++ b/ports-mgmt/portmaster/pkg-message
@@ -0,0 +1,10 @@
+If you are upgrading from the old package format, there are 2
+extra steps required.
+
+Enable PKGNG as your package format:
+
+ # echo 'WITH_PKGNG=yes' >> /etc/make.conf
+
+Then convert your /var/db/pkg database to the new pkg format:
+
+ # pkg2ng