aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorKamigishi Rei <spambox@haruhiism.net>2026-07-18 15:39:12 +0000
committerYusuf Yaman <nxjoseph@FreeBSD.org>2026-07-18 15:43:11 +0000
commit0f8691c17b7fe9d9788145516d463b27e83ae651 (patch)
treed217da76c2d73a76c0fa4dd891e000910b55e9d6 /www
parentde814060645d65804973f2bf3a7697c70929ee42 (diff)
Diffstat (limited to 'www')
-rw-r--r--www/iocaine/Makefile7
-rw-r--r--www/iocaine/pkg-plist7
2 files changed, 5 insertions, 9 deletions
diff --git a/www/iocaine/Makefile b/www/iocaine/Makefile
index 0e66327d9cb6..0177db64af54 100644
--- a/www/iocaine/Makefile
+++ b/www/iocaine/Makefile
@@ -1,5 +1,6 @@
PORTNAME= iocaine
DISTVERSION= 3.5.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://git.madhouse-project.org/iocaine/iocaine/archive/ \
https://raw.githubusercontent.com/ai-robots-txt/ai.robots.txt/refs/tags/v${ROBOTS_VERSION}/:robots \
@@ -70,10 +71,8 @@ post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
(cd ${WRKSRC}/iocaine-powder/embeds/defaults && \
${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR})
- ${INSTALL_DATA} ${WRKSRC}/iocaine-powder/embeds/defaults/config.kdl \
- ${STAGEDIR}${ETCDIR}/config.kdl.sample
- ${INSTALL_DATA} ${WRKSRC}/iocaine-powder/embeds/defaults/testsuite.kdl \
- ${STAGEDIR}${ETCDIR}/testsuite.kdl.sample
+ @${MV} ${STAGEDIR}${ETCDIR}/config.kdl ${STAGEDIR}${ETCDIR}/config.kdl.sample
+ @${MV} ${STAGEDIR}${ETCDIR}/testsuite.kdl ${STAGEDIR}${ETCDIR}/testsuite.kdl.sample
@${MKDIR} ${STAGEDIR}/var/db/${PORTNAME}
.include <bsd.port.mk>
diff --git a/www/iocaine/pkg-plist b/www/iocaine/pkg-plist
index ea0bc04971f6..9de9c7c337d6 100644
--- a/www/iocaine/pkg-plist
+++ b/www/iocaine/pkg-plist
@@ -1,8 +1,6 @@
bin/iocaine
%%ETCDIR%%/README.md
-%%ETCDIR%%/config.kdl
-%%ETCDIR%%/config.kdl.orig
-%%ETCDIR%%/config.kdl.sample
+@sample %%ETCDIR%%/config.kdl.sample
%%ETCDIR%%/etc/fennel.lua
%%ETCDIR%%/etc/robots.json
%%ETCDIR%%/lua/decide.lua
@@ -13,6 +11,5 @@ bin/iocaine
%%ETCDIR%%/roto/init/pkg.roto
%%ETCDIR%%/roto/main/pkg.roto
%%ETCDIR%%/templates/garbage.html
-%%ETCDIR%%/testsuite.kdl
-%%ETCDIR%%/testsuite.kdl.sample
+@sample %%ETCDIR%%/testsuite.kdl.sample
@dir(%%USERS%%,%%GROUPS%%,750) /var/db/iocaine