Skip to content

Commit

Permalink
news/nntp: use ${PREFIX}/share/man
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Meyer authored and Dirk Meyer committed Jan 11, 2024
1 parent b3b9bf3 commit ad11c5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions 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}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions 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
Expand All @@ -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

0 comments on commit ad11c5e

Please sign in to comment.