aboutsummaryrefslogtreecommitdiff
path: root/news/nn
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-02-08 13:10:58 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-02-08 13:10:58 +0000
commit093200b051d928a297e34303fee065fe7a75ea20 (patch)
tree44f095e40101d8c63408d3ed21c52fcaec2a4b79 /news/nn
parent29b3b5995fd4f9f7a038f34d0b1db7d48e1a4a69 (diff)
downloadports-093200b051d928a297e34303fee065fe7a75ea20.tar.gz
ports-093200b051d928a297e34303fee065fe7a75ea20.zip
Notes
Diffstat (limited to 'news/nn')
-rw-r--r--news/nn/Makefile17
-rw-r--r--news/nn/pkg-install1
-rw-r--r--news/nn/pkg-plist19
3 files changed, 21 insertions, 16 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile
index b64174c9f80e..2495d85c1773 100644
--- a/news/nn/Makefile
+++ b/news/nn/Makefile
@@ -14,21 +14,14 @@ COMMENT= Newsreader
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Iconf" LDFLAGS="${LDFLAGS} -s"
-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
-MAN8= nnmaster.8 nnspew.8
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
pre-patch:
@${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h.unparsed
pre-build:
- @${CAT} ${WRKSRC}/config.h.unparsed | ${SED} -e "s#SUB_PREFIX#${PREFIX}#" \
- | ${SED} -e "s#SUB_MANPREFIX#${MANPREFIX}#" > ${WRKSRC}/config.h
+ @${SED} 's#SUB_PREFIX#${PREFIX}#; s#SUB_MANPREFIX#${MANPREFIX}#' \
+ ${WRKSRC}/config.h.unparsed > ${WRKSRC}/config.h
-post-install:
- @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${DISTNAME} POST-INSTALL
+post-build:
+ @${REINPLACE_CMD} 's#${PREFIX}#$${DESTDIR}&#' ${WRKSRC}/inst
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/news/nn/pkg-install b/news/nn/pkg-install
index f796ec9c3cf5..3464fa390e52 100644
--- a/news/nn/pkg-install
+++ b/news/nn/pkg-install
@@ -5,6 +5,7 @@ if [ "x$2" != "xPOST-INSTALL" ]; then
fi
cat << xxENDxx
+
*******************************************************************
You have just installed the $1 package
diff --git a/news/nn/pkg-plist b/news/nn/pkg-plist
index ca9486ef858e..76b597034c3e 100644
--- a/news/nn/pkg-plist
+++ b/news/nn/pkg-plist
@@ -11,11 +11,8 @@ bin/nnpost
bin/nnbatch
bin/nnview
@unexec if cmp -s %D/etc/nntp_domain %D/etc/nntp_domain.dist; then rm -f %D/etc/nntp_domain; fi
-etc/nntp_domain.dist
-@exec [ -f %B/nntp_domain ] || cp %B/%f %B/nntp_domain
@unexec if cmp -s %D/etc/nntp_server %D/etc/nntp_server.dist; then rm -f %D/etc/nntp_server; fi
-etc/nntp_server.dist
-@exec [ -f %B/nntp_server ] || cp %B/%f %B/nntp_server
+@unexec rm -f %D/etc/nntp_domain.dist %D/etc/nntp_server.dist
lib/nn/aux
lib/nn/upgrade_rc
lib/nn/conf
@@ -37,5 +34,19 @@ lib/nn/help/help.show
lib/nn/help/help.sort
lib/nn/help/help.variables
lib/nn/help/Manual
+man/man1/nn.1.gz
+man/man1/nnacct.1m.gz
+man/man1/nnadmin.1m.gz
+man/man1/nncheck.1.gz
+man/man1/nngoback.1.gz
+man/man1/nngrab.1.gz
+man/man1/nngrep.1.gz
+man/man1/nnpost.1.gz
+man/man1/nnstats.1m.gz
+man/man1/nntidy.1.gz
+man/man1/nnusage.1m.gz
+man/man1/nnview.1.gz
+man/man8/nnmaster.8.gz
+man/man8/nnspew.8.gz
@dirrm lib/nn/help
@dirrm lib/nn