diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-05-03 23:10:11 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-05-03 23:10:11 +0000 |
commit | 8e0c383b2c2a5874507cf290d85318ca06d424d9 (patch) | |
tree | aa119e619f12df81350ff798df8a2a1ab6962940 | |
parent | .gitauthors: Add Matt Macy (mmacy) (diff) |
- Add DIALOG4PORTS option (default on) to install it for 'options' command [1].
- Add CERTS option (default on) to allow disabling cert dependencies.
- Reword QEMU_DESC to match poudriere-devel.
- Only install ZSH files if the option is enabled.
PR: 225457 [1]
Submitted by: Yasuhiro KIMURA <yasu@utahime.org> [1] (based on)
-rw-r--r-- | ports-mgmt/poudriere/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/ports-mgmt/poudriere/Makefile b/ports-mgmt/poudriere/Makefile index 18ffc1bf3df4..04d95dee26e3 100644 --- a/ports-mgmt/poudriere/Makefile +++ b/ports-mgmt/poudriere/Makefile @@ -2,7 +2,7 @@ PORTNAME= poudriere DISTVERSION= 3.2.6 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ @@ -21,14 +21,18 @@ GH_ACCOUNT= freebsd GNU_CONFIGURE= yes ETCDIR= ${PREFIX}/etc/poudriere.d -OPTIONS_DEFINE= ZSH QEMU EXAMPLES -OPTIONS_DEFAULT=ZSH +OPTIONS_DEFINE= CERTS DIALOG4PORTS ZSH QEMU EXAMPLES +OPTIONS_DEFAULT=CERTS DIALOG4PORTS ZSH OPTIONS_SUB= yes -RUN_DEPENDS+= ca_root_nss>=0:security/ca_root_nss -RUN_DEPENDS+= freebsd-release-manifests>0:misc/freebsd-release-manifests +CERTS_DESC= Install checksum and SSL certificates for jail creation +CERTS_RUN_DEPENDS+= ca_root_nss>=0:security/ca_root_nss +CERTS_RUN_DEPENDS+= freebsd-release-manifests>0:misc/freebsd-release-manifests -QEMU_DESC= Add qemu-user-static to compile ports for non-x86 architectures +DIALOG4PORTS_DESC= Install dialog4ports for options command +DIALOG4PORTS_RUN_DEPENDS= dialog4ports>0:ports-mgmt/dialog4ports + +QEMU_DESC= Add qemu-user-static for non-x86 architectures QEMU_RUN_DEPENDS= qemu-user-static>0:emulators/qemu-user-static .include <bsd.port.options.mk> @@ -52,10 +56,12 @@ post-patch: ${REINPLACE_CMD} '/.PHONY: poudriere/d' ${WRKSRC}/Makefile.* post-install: + ${LN} -fs ${LOCALBASE}/share/freebsd/MANIFESTS \ + ${STAGEDIR}${DATADIR}/MANIFESTS + +post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ ${INSTALL_DATA} ${WRKSRC}/completions/zsh/_poudriere \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ - ${LN} -fs ${LOCALBASE}/share/freebsd/MANIFESTS \ - ${STAGEDIR}${DATADIR}/MANIFESTS .include <bsd.port.mk> |