Files
Juan David Hurtado G 007879177d sysutils/bastille: Update 0.13.20250126 => 0.14.20250420
Changelog:
https://github.com/BastilleBSD/bastille/releases/tag/0.14.20250420

- Transfer maintainership.
- Add co-maintainer Barry McCormick <snarfingcode666@gmail.com>.
- Pet portclippy.

PR:		286251
Approved by:	Christer Edwards <christer.edwards@gmail.com> (former maintainer)
2025-05-03 15:29:43 +03:00

41 lines
1.1 KiB
Makefile

PORTNAME= bastille
DISTVERSION= 0.14.20250420
CATEGORIES= sysutils
MAINTAINER= jdhurtado@orbiware.com
# co-maintainer: snarfingcode666@gmail.com
COMMENT= Jail automation framework
WWW= https://bastillebsd.org
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= bastillebsd
NO_ARCH= yes
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} \
-e 's|/usr/local/etc/bastille|${ETCDIR}|g' \
-e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/usr/local/etc/rc.d/bastille
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/usr/local/bin/bastille ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/usr/local/etc/rc.d/bastille \
${STAGEDIR}${PREFIX}/etc/rc.d
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/usr/local/share/bastille && \
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${INSTALL_MAN} ${WRKSRC}/usr/local/man/man8/bastille.8.gz \
${STAGEDIR}${PREFIX}/share/man/man8/${PORTNAME}.8.gz
${INSTALL_DATA} ${WRKSRC}/usr/local/etc/bastille/bastille.conf.sample \
${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
.include <bsd.port.mk>