2012-08-16 12:11:05 +02:00
|
|
|
PORTNAME= poudriere
|
2021-11-30 21:07:42 +01:00
|
|
|
DISTVERSION= 3.3.99.20211130
|
|
|
|
PORTREVISION= 0
|
2012-08-16 12:11:05 +02:00
|
|
|
CATEGORIES= ports-mgmt
|
2014-05-11 20:03:34 +02:00
|
|
|
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
|
2014-09-19 16:36:51 +02:00
|
|
|
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
|
|
|
|
GH
|
2012-09-13 06:36:24 +02:00
|
|
|
PKGNAMESUFFIX= -devel
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2013-12-16 18:27:55 +01:00
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
2012-08-16 12:11:05 +02:00
|
|
|
COMMENT= Port build and test system
|
|
|
|
|
2014-01-23 00:21:56 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2021-11-23 23:11:40 +01:00
|
|
|
CONFLICTS_INSTALL= poudriere
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2014-09-19 16:36:51 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= freebsd
|
2021-11-30 21:07:42 +01:00
|
|
|
GH_TAGNAME= 3.3.0-1068-g8d0342ef6
|
2013-09-26 15:34:49 +02:00
|
|
|
|
2014-03-23 16:40:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-03-23 17:15:14 +01:00
|
|
|
ETCDIR= ${PREFIX}/etc/poudriere.d
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2018-03-28 19:57:02 +02:00
|
|
|
OPTIONS_DEFINE= BASH CERTS DIALOG4PORTS EXAMPLES QEMU ZSH
|
|
|
|
OPTIONS_DEFAULT=BASH CERTS DIALOG4PORTS ZSH
|
2014-03-23 16:40:10 +01:00
|
|
|
OPTIONS_SUB= yes
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2018-02-02 19:25:38 +01:00
|
|
|
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
|
2018-02-02 19:08:56 +01:00
|
|
|
|
2018-02-02 19:25:38 +01:00
|
|
|
DIALOG4PORTS_DESC= Install dialog4ports for options command
|
2018-02-02 19:05:09 +01:00
|
|
|
DIALOG4PORTS_RUN_DEPENDS= dialog4ports>0:ports-mgmt/dialog4ports
|
|
|
|
|
2018-02-02 19:25:38 +01:00
|
|
|
QEMU_DESC= Add qemu-user-static for non-x86 architectures
|
2016-04-01 16:16:16 +02:00
|
|
|
QEMU_RUN_DEPENDS= qemu-user-static>0:emulators/qemu-user-static
|
2014-06-03 16:03:21 +02:00
|
|
|
|
2017-03-07 05:45:00 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
# rm -x support came in 10.0. A bundled rm is used if not supported in base.
|
|
|
|
# While <10 is technically not supported in the Ports Tree, Poudriere
|
|
|
|
# detects this and it being a package build tool it should still be
|
|
|
|
# supported as a user may be installing this to build packages for upgrading
|
|
|
|
# their system to a supported release.
|
|
|
|
.if ${OSVERSION} < 1000000
|
|
|
|
PLIST_SUB+= RM=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= RM="@comment "
|
|
|
|
.endif
|
|
|
|
|
2017-11-10 07:28:14 +01:00
|
|
|
post-patch:
|
2017-03-08 18:06:41 +01:00
|
|
|
${REINPLACE_CMD} \
|
|
|
|
-e "s,^\(POUDRIERE_VERSION\)=.*,\1='${PKGVERSION}'," \
|
2021-03-01 06:11:42 +01:00
|
|
|
${WRKSRC}/src/bin/poudriere.in
|
2017-03-08 18:06:41 +01:00
|
|
|
|
2014-03-23 16:40:10 +01:00
|
|
|
post-install:
|
2018-03-28 19:57:02 +02:00
|
|
|
${LN} -fs ${LOCALBASE}/share/freebsd/MANIFESTS \
|
|
|
|
${STAGEDIR}${DATADIR}/MANIFESTS
|
|
|
|
|
|
|
|
post-install-BASH-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/completions/bash/poudriere \
|
|
|
|
${STAGEDIR}${PREFIX}/share/bash-completion/completions/
|
2012-08-16 12:11:05 +02:00
|
|
|
|
2018-03-28 20:38:20 +02:00
|
|
|
post-install-ZSH-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/completions/zsh/_poudriere \
|
|
|
|
${STAGEDIR}${PREFIX}/share/zsh/site-functions/
|
|
|
|
|
2012-08-16 12:11:05 +02:00
|
|
|
.include <bsd.port.mk>
|