Lines 1-5
Link Here
|
1 |
PORTNAME= bastille |
1 |
PORTNAME= bastille |
2 |
DISTVERSION= 0.10.20231013 |
2 |
DISTVERSION= 0.10.20231125 |
3 |
CATEGORIES= sysutils |
3 |
CATEGORIES= sysutils |
4 |
|
4 |
|
5 |
MAINTAINER= christer.edwards@gmail.com |
5 |
MAINTAINER= christer.edwards@gmail.com |
Lines 15-31
GH_ACCOUNT= bastillebsd
Link Here
|
15 |
NO_BUILD= yes |
15 |
NO_BUILD= yes |
16 |
NO_ARCH= yes |
16 |
NO_ARCH= yes |
17 |
|
17 |
|
18 |
USE_RC_SUBR= bastille |
18 |
post-patch: |
|
|
19 |
@${REINPLACE_CMD} \ |
20 |
-e 's|/usr/local/etc/bastille|${ETCDIR}|g' \ |
21 |
-e 's|/usr/local|${PREFIX}|g' \ |
22 |
${WRKSRC}/usr/local/etc/rc.d/bastille |
19 |
|
23 |
|
20 |
do-install: |
24 |
do-install: |
21 |
${INSTALL_SCRIPT} ${WRKSRC}/${PREFIX}/bin/bastille ${STAGEDIR}${PREFIX}/bin |
25 |
${INSTALL_SCRIPT} ${WRKSRC}/usr/local/bin/bastille ${STAGEDIR}${PREFIX}/bin |
|
|
26 |
${INSTALL_SCRIPT} ${WRKSRC}/usr/local/etc/rc.d/bastille \ |
27 |
${STAGEDIR}${PREFIX}/etc/rc.d |
22 |
|
28 |
|
23 |
post-install: |
29 |
post-install: |
24 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
30 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
25 |
${MKDIR} ${STAGEDIR}${DATADIR} |
31 |
${MKDIR} ${STAGEDIR}${DATADIR} |
26 |
(cd ${WRKSRC}/${DATADIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) |
32 |
(cd ${WRKSRC}/usr/local/share/bastille && \ |
27 |
${INSTALL_MAN} ${WRKSRC}/${PREFIX}/man/man8/bastille.8.gz \ |
33 |
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) |
28 |
${STAGEDIR}${PREFIX}/man/man8/bastille.8.gz |
34 |
${INSTALL_MAN} ${WRKSRC}/usr/local/man/man8/bastille.8.gz \ |
29 |
${INSTALL_DATA} ${WRKSRC}/${ETCDIR}/bastille.conf.sample ${STAGEDIR}${ETCDIR}/bastille.conf.sample |
35 |
${STAGEDIR}${PREFIX}/man/man8/${PORTNAME}.8.gz |
|
|
36 |
${INSTALL_DATA} ${WRKSRC}/usr/local/etc/bastille/bastille.conf.sample \ |
37 |
${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample |
30 |
|
38 |
|
31 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |