summaryrefslogtreecommitdiff
path: root/www/wyvern/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/wyvern/Makefile')
-rw-r--r--www/wyvern/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/wyvern/Makefile b/www/wyvern/Makefile
index 2629b71042bc..672210592b88 100644
--- a/www/wyvern/Makefile
+++ b/www/wyvern/Makefile
@@ -28,8 +28,14 @@ MAKE_ARGS= rcdir="${LOCALBASE}/etc/rc.d"
CONFIGURE_ARGS+= --enable-ipv6
.endif
+post-extract:
+ ${MV} ${WRKSRC}/htdocs/index.html ${WRKSRC}/htdocs/index.html-dist
+
post-install:
${LN} -sf ${PREFIX}/sbin/* ${LOCALBASE}/sbin/
+ if [ ! -f ${PREFIX}/htdocs/index.html ]; then \
+ ${CP} -p ${PREFIX}/htdocs/index.html-dist ${PREFIX}/htdocs/index.html; \
+ fi
@${CAT} ${PKGMESSAGE}
certificate: