mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
1f340d205d
Important fix on the copy-in command. Import a fix in the rc pot script Changes: https://github.com/pizzamig/pot/releases/tag/0.14.0
67 lines
1.7 KiB
Makefile
67 lines
1.7 KiB
Makefile
# Created by: Luca Pizzamiglio <pizzamig@FreeBSD.org>
|
|
|
|
PORTNAME= pot
|
|
DISTVERSION= 0.14.0
|
|
PORTREVISION= 0
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= pizzamig@FreeBSD.org
|
|
COMMENT= Container framework for FreeBSD
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= potnet:sysutils/potnet \
|
|
ncat:security/nmap \
|
|
freebsd-release-manifests>0:misc/freebsd-release-manifests
|
|
|
|
USE_RC_SUBR= pot pot_early
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pizzamig
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= DOCS ZSH
|
|
|
|
ZSH_DESC= Zsh Autocompletion support
|
|
|
|
OPTIONS_DEFAULT= ZSH
|
|
OPTIONS_SUB= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/pot \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
( cd ${WRKSRC}/share/pot && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}/flavours
|
|
${INSTALL_DATA} ${WRKSRC}/etc/pot/pot.default.conf \
|
|
${STAGEDIR}${ETCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/etc/pot/pot.conf.sample \
|
|
${STAGEDIR}${ETCDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/etc/pot/flavours/dns.sh \
|
|
${STAGEDIR}${ETCDIR}/flavours
|
|
${INSTALL_DATA} ${WRKSRC}/etc/pot/flavours/dns \
|
|
${STAGEDIR}${ETCDIR}/flavours
|
|
${INSTALL_SCRIPT} ${WRKSRC}/etc/pot/flavours/fbsd-update.sh \
|
|
${STAGEDIR}${ETCDIR}/flavours
|
|
${INSTALL_SCRIPT} ${WRKSRC}/etc/pot/flavours/slim.sh \
|
|
${STAGEDIR}${ETCDIR}/flavours
|
|
|
|
do-install-ZSH-on:
|
|
( cd ${WRKSRC}/share/zsh && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/zsh)
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/share/doc/pot/Installation.md \
|
|
${STAGEDIR}${DOCSDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/share/doc/pot/QuickStart.md \
|
|
${STAGEDIR}${DOCSDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/share/doc/pot/Images.md \
|
|
${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|