summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/leafnode+/Makefile17
-rw-r--r--news/leafnode+/files/INSTALL.in2
2 files changed, 4 insertions, 15 deletions
diff --git a/news/leafnode+/Makefile b/news/leafnode+/Makefile
index 2b19508658f6..7bb1f8360652 100644
--- a/news/leafnode+/Makefile
+++ b/news/leafnode+/Makefile
@@ -47,19 +47,8 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/leafnode+
.endfor
.endif
-.if !exists{LEAFSPOOLDIR} || !exists{{LEAFLIBDIR}
- @${MKDIR} ${LEAFSPOOLDIR} ${LEAFLIBDIR}
- @${MKDIR} ${LEAFSPOOLDIR}/interesting.groups
- @${MKDIR} ${LEAFSPOOLDIR}/out.going
-.for dir_a in 0 1 2 3 4 5 6 7 8 9
-.for dir_b in 0 1 2 3 4 5 6 7 8 9
-.for dir_c in 0 1 2 3 4 5 6 7 8 9
- @${MKDIR} ${LEAFSPOOLDIR}/message.id/${dir_a}${dir_b}${dir_c}
-.endfor
-.endfor
-.endfor
- @${CHOWN} -R news:news ${LEAFSPOOLDIR} ${LEAFLIBDIR}
- @${CHMOD} 2750 ${LEAFSPOOLDIR}
-.endif
+
+post-install:
+ @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
diff --git a/news/leafnode+/files/INSTALL.in b/news/leafnode+/files/INSTALL.in
index 0e2da2b4443c..dc5b702ffd3f 100644
--- a/news/leafnode+/files/INSTALL.in
+++ b/news/leafnode+/files/INSTALL.in
@@ -2,7 +2,7 @@
# $FreeBSD$
LIBDIR=@LIBDIR@
SPOOLDIR=@SPOOLDIR@
-if [ x$2 = xPOST-INSTALL -a x$LEAFNODE_SETUP_WRKDIRS != x ]; then
+if [ x$2 = xPOST-INSTALL ]; then
if [ ! -d $LIBDIR ]; then
mkdir -p $LIBDIR
chown -R news.news $LIBDIR/.