aboutsummaryrefslogtreecommitdiffstats
path: root/news/nntp
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-06-13 12:11:06 +0800
committerdinoex <dinoex@FreeBSD.org>2003-06-13 12:11:06 +0800
commitf0fe7dcff5ac17905bf0b0567a0871b2a399f198 (patch)
treea6c07d00f5b4062d5553e5939c41ce59146cec1c /news/nntp
parent6c9f339b0bb2f3c34c3e0e2188ca08aed3623fb6 (diff)
downloadfreebsd-ports-gnome-f0fe7dcff5ac17905bf0b0567a0871b2a399f198.tar.gz
freebsd-ports-gnome-f0fe7dcff5ac17905bf0b0567a0871b2a399f198.tar.zst
freebsd-ports-gnome-f0fe7dcff5ac17905bf0b0567a0871b2a399f198.zip
- Sync with cnews paths better.
Diffstat (limited to 'news/nntp')
-rw-r--r--news/nntp/Makefile14
-rw-r--r--news/nntp/pkg-plist3
2 files changed, 10 insertions, 7 deletions
diff --git a/news/nntp/Makefile b/news/nntp/Makefile
index ee827115500c..b46013eceef4 100644
--- a/news/nntp/Makefile
+++ b/news/nntp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nntp
PORTVERSION= 1.5.12.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= news
MASTER_SITES= ftp://ftp.academ.com/pub/nntp/server/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@@ -24,17 +24,19 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/news/cnews
NO_WRKSUBDIR= yes
MAN1= nntpxmit.1
MAN8= nntpd.8c acttimes.8c
-PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
-PLIST_SUB+= NEWSCTL=${NEWSCTL:S=${PREFIX}/==}
+PLIST_SUB+= VARBASE=${VARBASE}
+PLIST_SUB+= NEWSBIN=${NEWSBIN:S=^${PREFIX}/==}
+PLIST_SUB+= NEWSCTL=${NEWSCTL:S=^${VARBASE}/==}
MODIFY= conf.h Makefile
DOCSFILES1= AUTHORIZE CHANGES README README-conf.h SYSLOG doc/rfc977
DOCSFILES2= server support xfer xmit
+VARBASE?= /var
NEWSBIN?= ${PREFIX}/libexec/cnews
-NEWSCTL?= ${PREFIX}/news/lib
-NEWSARTS?= /var/news
-NEWSOV?= /var/news/over.view
+NEWSCTL?= ${VARBASE}/lib/news
+NEWSARTS?= ${VARBASE}/news
+NEWSOV?= ${VARBASE}/news
MAKE_ENV+= DBLIBS="${LOCALBASE}/lib/libcnews.a -lcrypt -lutil"
MAKE_ENV+= ETCDIR="${LOCALBASE}/sbin" BINDIR="${NEWSBIN}"
diff --git a/news/nntp/pkg-plist b/news/nntp/pkg-plist
index efd0da3ec213..c45bbf3b0b62 100644
--- a/news/nntp/pkg-plist
+++ b/news/nntp/pkg-plist
@@ -4,7 +4,6 @@ sbin/nntpd
%%NEWSBIN%%/nntpxfer
@comment just in case anyone wants it
%%NEWSBIN%%/shlock
-%%NEWSCTL%%/overview.fmt
%%PORTDOCS%%share/doc/nntp/AUTHORIZE
%%PORTDOCS%%share/doc/nntp/CHANGES
%%PORTDOCS%%share/doc/nntp/README
@@ -16,3 +15,5 @@ sbin/nntpd
%%PORTDOCS%%share/doc/nntp/xfer-README
%%PORTDOCS%%share/doc/nntp/xmit-README
%%PORTDOCS%%@dirrm share/doc/nntp
+@cwd %%VARBASE%%
+%%NEWSCTL%%/overview.fmt