aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-08-24 09:30:37 +0800
committersteve <steve@FreeBSD.org>1998-08-24 09:30:37 +0800
commitd641200e1613c1fea0d7b8e393cebeb3d8ce7347 (patch)
tree03367f6f288f7addb8cba9a8d4516a4eece8db99
parent279c2be5f7c1ec1c464b125b8353294afb842c12 (diff)
downloadfreebsd-ports-gnome-d641200e1613c1fea0d7b8e393cebeb3d8ce7347.tar.gz
freebsd-ports-gnome-d641200e1613c1fea0d7b8e393cebeb3d8ce7347.tar.zst
freebsd-ports-gnome-d641200e1613c1fea0d7b8e393cebeb3d8ce7347.zip
Update to version 1.21.
PR: 7558 (part 1 of 2) Submitted by: maintainer
-rw-r--r--japanese/mnews/Makefile21
-rw-r--r--japanese/mnews/files/site_dep.h.in4
-rw-r--r--japanese/mnews/pkg-plist1
3 files changed, 12 insertions, 14 deletions
diff --git a/japanese/mnews/Makefile b/japanese/mnews/Makefile
index 55c81f1fedb8..ecb64ff0bc25 100644
--- a/japanese/mnews/Makefile
+++ b/japanese/mnews/Makefile
@@ -1,12 +1,13 @@
# New ports collection makefile for: mnews
-# Version required: 1.19PL2
+# Version required: 1.21
# Date created: 23 Sep 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.10 1998/03/20 17:40:11 itojun Exp $
+# $Id: Makefile,v 1.11 1998/06/06 03:44:56 itojun Exp $
#
DISTNAME= mnews121
+PKGNAME?= ja-mnews-1.21
CATEGORIES= japanese news
MASTER_SITES= ftp://ftp.mei.co.jp/free/Network/news/readers/
@@ -20,19 +21,13 @@ DOCS= FAQ.doc board.doc gnspool.doc mnews.doc prerel.doc \
present.doc read1ST.doc readme.doc update.doc youbin.doc
SAMPLES= _mnews.smp jnames.fj jnames.jp jnames.smp jnames.tnn
-.ifdef WITH_GNSPOOL
-GNSPOOL= 1
-PKGNAME= ja-mnews-gnspool-1.21
-.else
-GNSPOOL= 0
-.endif
-PKGNAME?= ja-mnews-1.21
+GNSPOOL?= 0
do-configure:
- @for f in Makefile site_dep.h ; do \
- ${SED} -e s+@PREFIX@+${PREFIX}+ -e s+@GNSPOOL@+${GNSPOOL}+ \
- ${FILESDIR}/$$f.in > ${WRKSRC}/$$f ; \
- done
+.for f in Makefile site_dep.h
+ ${SED} -e s+@PREFIX@+${PREFIX}+ -e s+@GNSPOOL@+${GNSPOOL}+ \
+ ${FILESDIR}/$f.in > ${WRKSRC}/$f
+.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mnews ${PREFIX}/bin
diff --git a/japanese/mnews/files/site_dep.h.in b/japanese/mnews/files/site_dep.h.in
index 2a1ea768608b..71cbfb4430c0 100644
--- a/japanese/mnews/files/site_dep.h.in
+++ b/japanese/mnews/files/site_dep.h.in
@@ -64,7 +64,11 @@
#define AUDIO_COMMAND ""
#define PS_COMMAND "DEFAULT_PS_COMMAND"
+#if @GNSPOOL@
+#define NNTP_MODE 0
+#else /*GNSPOOL*/
#define NNTP_MODE 1
+#endif /*GNSPOOL*/
#define SMTP_MODE 0
#define POP3_MODE 0
#define RPOP_MODE 0
diff --git a/japanese/mnews/pkg-plist b/japanese/mnews/pkg-plist
index 0bda9545f899..f6d38dda954f 100644
--- a/japanese/mnews/pkg-plist
+++ b/japanese/mnews/pkg-plist
@@ -1,7 +1,6 @@
bin/mnews
lib/mnews/jnames
lib/mnews/default-domain
-man/ja/man1/mnews.1.gz
share/doc/mnews/FAQ.doc
share/doc/mnews/board.doc
share/doc/mnews/gnspool.doc