summaryrefslogtreecommitdiff
path: root/news/leafnode+/Makefile
diff options
context:
space:
mode:
authorTom Hukins <tom@FreeBSD.org>2000-01-24 21:26:50 +0000
committerTom Hukins <tom@FreeBSD.org>2000-01-24 21:26:50 +0000
commit1cdc3378b8d821885a6121a485d3abf11d5a72ad (patch)
treeda4904ae3ad652d0c34541c29553fc9d8747dd3d /news/leafnode+/Makefile
parentUpdate to version 0.7.23 (diff)
Fix pkg/MESSAGE version numbering problem. Also, upgrade to the
latest version, 2.10. PR: ports/15626 Submitted by: Masahiro TAKEMURA <t80382@naoe.t.u-tokyo.ac.jp>
Notes
Notes: svn path=/head/; revision=25038
Diffstat (limited to 'news/leafnode+/Makefile')
-rw-r--r--news/leafnode+/Makefile26
1 files changed, 17 insertions, 9 deletions
diff --git a/news/leafnode+/Makefile b/news/leafnode+/Makefile
index 5328e3631cf3..2b19508658f6 100644
--- a/news/leafnode+/Makefile
+++ b/news/leafnode+/Makefile
@@ -1,14 +1,14 @@
# New ports collection makefile for: leafnode+
-# Version required: 2.9
+# Version required: 2.10
# Date created: 19 November 1998
# Whom: Tom Hukins <tom@FreeBSD.org>
#
# $FreeBSD$
#
-DISTNAME= leafnode+-2.9
+DISTNAME= leafnode+-2.10
CATEGORIES= news
-MASTER_SITES= ftp://ftp.big.or.jp/pub/usr2/jam/leafnode/
+MASTER_SITES= ftp://hiroshima.isdn.uiuc.edu/leafnode+/
MAINTAINER= tom@FreeBSD.org
@@ -47,11 +47,19 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/leafnode+
.endfor
.endif
-
-post-install:
- @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @if test \( ! -d ${LEAFSPOOLDIR} \) -o \( ! -d ${LEAFLIBDIR} \) ; then \
- ${CAT} ${PKGDIR}/MESSAGE; \
- fi
+.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
.include <bsd.port.mk>