diff options
author | SADA Kenji <sada@FreeBSD.org> | 2000-03-08 21:24:01 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 2000-03-08 21:24:01 +0000 |
commit | 8c40db4c8e56b4f37d98973954c3b00dbf3f5762 (patch) | |
tree | 6060a89977e222cf37b8c2231838963e728fecc5 /news/leafnode+ | |
parent | 4dae0e3ce1c288e4a1ed8c73438c6f299979bfb1 (diff) | |
download | ports-8c40db4c8e56b4f37d98973954c3b00dbf3f5762.tar.gz ports-8c40db4c8e56b4f37d98973954c3b00dbf3f5762.zip |
Notes
Diffstat (limited to 'news/leafnode+')
-rw-r--r-- | news/leafnode+/Makefile | 17 | ||||
-rw-r--r-- | news/leafnode+/files/INSTALL.in | 2 |
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/. |