summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/nn/Makefile16
-rw-r--r--news/nn/files/patch-ai24
-rw-r--r--news/nn/pkg-descr3
-rw-r--r--news/nn/pkg-plist38
4 files changed, 55 insertions, 26 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile
index 6e94dc3b2eb0..4cf422147435 100644
--- a/news/nn/Makefile
+++ b/news/nn/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: nn
-# Version required: 6.5.0
+# Version required: 6.5.3
# Date created: 24 September 1994
# Whom: adam
#
@@ -13,6 +13,10 @@ MASTER_SITES= ftp://ftp.visi.com/users/mtpins/ \
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.ORG
+MAINTAINER= jooji@webnology.com
+
+IS_INTERACTIVE= yes
+NO_PACKAGE= posting depends on inews utility, which has poster\'s domain compiled in
MAN1= nn.1 nncheck.1 nngoback.1 nngrab.1 nngrep.1 nnpost.1 \
nntidy.1 nnview.1 nnacct.1m nnadmin.1m nnstats.1m nnusage.1m
@@ -24,14 +28,12 @@ pre-patch:
pre-build:
@${CP} ${FILESDIR}/s-freebsd.h ${WRKSRC}/conf
-post-build:
- [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all )
-
pre-install:
- ${MKDIR} ${PREFIX}/news
- [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} install )
+ @${MKDIR} ${PREFIX}/news
+ [ ! -f ${WRKDIR}/.install_inews ] || (cd ${WRKSRC}/inews; ${MAKE} all)
+ [ ! -f ${WRKDIR}/.install_inews ] || (cd ${WRKSRC}/inews; ${MAKE} install)
post-install:
- @${ECHO} Put your NNTP host into ${PREFIX}/etc/nntpserver file
+ @${CP} ${WRKDIR}/nntp_server ${PREFIX}/etc/nntp_server
.include <bsd.port.mk>
diff --git a/news/nn/files/patch-ai b/news/nn/files/patch-ai
index 57213860970d..76856f96e23f 100644
--- a/news/nn/files/patch-ai
+++ b/news/nn/files/patch-ai
@@ -1,11 +1,13 @@
---- inews/conf.h.orig Sun May 2 17:08:27 1999
-+++ inews/conf.h Sun May 2 17:08:33 1999
-@@ -51,7 +51,7 @@
- * define DOMAIN to be your FQDN.
- */
-
--/* #define DOMAIN "frobozz.com.bogus" */
-+#define DOMAIN "frobozz.com.bogus"
-
- /*
- * If you define this, the hostname will not appear in the posting
+*** inews/version.c Sun Jan 24 23:44:03 1999
+--- inews/version.c.new Sun Jan 24 23:44:36 1999
+***************
+*** 2,5 ****
+ * Provide the version number of this release.
+ */
+
+! char nntp_version[] = "1.5.8 (11 March 90)";
+--- 2,5 ----
+ * Provide the version number of this release.
+ */
+
+! char nntp_version[] = "1.5.8.MINI (MINI-INEWS)";
diff --git a/news/nn/pkg-descr b/news/nn/pkg-descr
index e91c29f1ec55..a77252a063ad 100644
--- a/news/nn/pkg-descr
+++ b/news/nn/pkg-descr
@@ -1 +1,4 @@
No News is good news. This version of nn has NOV support.
+
+- Jasper O'Malley
+ jooji@webnology.com
diff --git a/news/nn/pkg-plist b/news/nn/pkg-plist
index ddb28d7bed5f..9de5e4e18920 100644
--- a/news/nn/pkg-plist
+++ b/news/nn/pkg-plist
@@ -1,14 +1,36 @@
-lib/nn
-news/lib/inews
bin/nn
-bin/nnusage
-bin/nngrab
-bin/nnstats
-bin/nncheck
bin/nnadmin
-bin/nntidy
+bin/nnbatch
+bin/nncheck
bin/nngoback
+bin/nngrab
bin/nngrep
bin/nnpost
-bin/nnbatch
+bin/nnstats
+bin/nntidy
+bin/nnusage
bin/nnview
+lib/nn/aux
+lib/nn/conf
+lib/nn/help/Manual
+lib/nn/help/adm.upgrade1
+lib/nn/help/adm.upgrade2
+lib/nn/help/adm.upgrade3
+lib/nn/help/adm.upgrade4
+lib/nn/help/adm.welcome
+lib/nn/help/help.attr
+lib/nn/help/help.commands
+lib/nn/help/help.extended
+lib/nn/help/help.help
+lib/nn/help/help.map
+lib/nn/help/help.menu
+lib/nn/help/help.more
+lib/nn/help/help.read
+lib/nn/help/help.set
+lib/nn/help/help.show
+lib/nn/help/help.sort
+lib/nn/help/help.variables
+lib/nn/upgrade_rc
+@dirrm lib/nn/help
+@dirrm lib/nn
+@unexec echo "Be sure to remove %D/news/lib/inews if you no longer need it."