aboutsummaryrefslogtreecommitdiff
path: root/news
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
parent89ee0dfbbb4e5413da3d6ef7c115c4bd9068cf88 (diff)
downloadports-1cdc3378b8d821885a6121a485d3abf11d5a72ad.tar.gz
ports-1cdc3378b8d821885a6121a485d3abf11d5a72ad.zip
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')
-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 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>
diff --git a/news/leafnode+/distinfo b/news/leafnode+/distinfo
index a79521400af3..3cbc4ca3da4e 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 818c724a87d5..b685e5581f5b 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 @@