aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2024-01-11 16:43:41 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2024-01-11 16:43:41 +0000
commitad11c5e68824cb4db60469f924a5cd0fb117db3b (patch)
tree37ee6d220be85c70bda0bacc22e1b6cd9313c291
parentb3b9bf34a8cf7db1ea3f9ae954b8a09a913eb932 (diff)
downloadports-ad11c5e68824cb4db60469f924a5cd0fb117db3b.tar.gz
ports-ad11c5e68824cb4db60469f924a5cd0fb117db3b.zip
news/nntp: use ${PREFIX}/share/man
-rw-r--r--news/nntp/Makefile6
-rw-r--r--news/nntp/pkg-plist6
2 files changed, 6 insertions, 6 deletions
diff --git a/news/nntp/Makefile b/news/nntp/Makefile
index 50fe08141b80..fcf9ed809d3a 100644
--- a/news/nntp/Makefile
+++ b/news/nntp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nntp
PORTVERSION= 1.5.12.2
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= news
MASTER_SITES= ftp://ftp.dinoex.org/pub/c-news/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@@ -33,7 +33,7 @@ NEWSOV?= ${VARBASE}/news/over.view
MAKE_ENV+= DBLIBS="${LOCALBASE}/lib/libcnews.a -lcrypt -lutil"
MAKE_ENV+= ETCDIR="${STAGEDIR}${PREFIX}/sbin"
MAKE_ENV+= BINDIR="${STAGEDIR}${NEWSBIN}"
-MAKE_ENV+= MANDIR="${STAGEDIR}${PREFIX}/man"
+MAKE_ENV+= MANDIR="${STAGEDIR}${PREFIX}/share/man"
MAKE_ENV+= EXECDIR="${STAGEDIR}${PREFIX}/libexec"
OPTIONS_DEFINE= DOCS
@@ -63,7 +63,7 @@ pre-configure:
-e "s=/var/news=${NEWSARTS}=" \
-e "s=/usr/local/bin=${PREFIX}/bin=" \
-e "s=/usr/local/sbin=${PREFIX}/sbin=" \
- -e "s=/usr/local/man=${PREFIX}/man=" \
+ -e "s=/usr/local/man=${PREFIX}/share/man=" \
${WRKSRC}/conf.h
pre-install:
diff --git a/news/nntp/pkg-plist b/news/nntp/pkg-plist
index 2ba40d6b24d0..1cde95c38fd4 100644
--- a/news/nntp/pkg-plist
+++ b/news/nntp/pkg-plist
@@ -1,6 +1,3 @@
-man/man1/nntpxmit.1.gz
-man/man8/nntpd.8c.gz
-man/man8/acttimes.8c.gz
libexec/nntpd
sbin/nntpd
%%NEWSBIN%%/acttimes
@@ -17,6 +14,9 @@ sbin/nntpd
%%PORTDOCS%%%%DOCSDIR%%/support-README
%%PORTDOCS%%%%DOCSDIR%%/xfer-README
%%PORTDOCS%%%%DOCSDIR%%/xmit-README
+share/man/man1/nntpxmit.1.gz
+share/man/man8/nntpd.8c.gz
+share/man/man8/acttimes.8c.gz
%%VARBASE%%/%%NEWSCTL%%/overview.fmt
@dir(news,news,755) %%VARBASE%%/%%NEWSCTL%%
@dir(news,news,755) %%VARBASE%%/lib