summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--news/leafnode+/Makefile26
-rw-r--r--news/leafnode+/distinfo2
-rw-r--r--news/leafnode+/files/patch-aa2
3 files changed, 19 insertions, 11 deletions
diff --git a/news/leafnode+/Makefile b/news/leafnode+/Makefile
index 5328e36..2b19508 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>
diff --git a/news/leafnode+/distinfo b/news/leafnode+/distinfo
index a795214..3cbc4ca 100644
--- a/news/leafnode+/distinfo
+++ b/news/leafnode+/distinfo
@@ -1 +1 @@
-MD5 (leafnode+-2.9.tar.gz) = 1a1239c9797b7f637ddda3d4d0572d40
+MD5 (leafnode+-2.10.tar.gz) = d2fa086ff77b457fc55bc55074ddf174
diff --git a/news/leafnode+/files/patch-aa b/news/leafnode+/files/patch-aa
index 818c724..b685e55 100644
--- a/news/leafnode+/files/patch-aa
+++ b/news/leafnode+/files/patch-aa
@@ -10,7 +10,7 @@
-PREFIX = /usr/local
BINDIR = $(PREFIX)/sbin
-MANDIR = $(PREFIX)/man
- VERSION = 2.9
+ VERSION = 2.10
#
# if you want to use Socks, use following.
@@ -29,11 +25,11 @@
OpenPOWER on IntegriCloud