aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortom <tom@FreeBSD.org>2000-01-25 05:26:50 +0800
committertom <tom@FreeBSD.org>2000-01-25 05:26:50 +0800
commit455173a3e1ecbd59dceba8960c35ae5082587eff (patch)
tree2a70d6391e2c2c66b610d129e00347bb52d254c9
parent5ef281e44b2b3ebd68805076bd0311bcc92a664d (diff)
downloadfreebsd-ports-gnome-455173a3e1ecbd59dceba8960c35ae5082587eff.tar.gz
freebsd-ports-gnome-455173a3e1ecbd59dceba8960c35ae5082587eff.tar.zst
freebsd-ports-gnome-455173a3e1ecbd59dceba8960c35ae5082587eff.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>
-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 @@