diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-08-07 15:17:39 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-08-07 15:17:39 +0800 |
commit | 1613c1bb4552eddaf6957e6ab19adce58146dbd9 (patch) | |
tree | 03b307be48c04f0ea6d5a934ca5a1b3fe0ba5712 | |
parent | 205cedcada084aa7ad01a806f6279986bb02d32f (diff) | |
download | freebsd-ports-gnome-1613c1bb4552eddaf6957e6ab19adce58146dbd9.tar.gz freebsd-ports-gnome-1613c1bb4552eddaf6957e6ab19adce58146dbd9.tar.zst freebsd-ports-gnome-1613c1bb4552eddaf6957e6ab19adce58146dbd9.zip |
PLIST configurable
PR: ports/20404
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
-rw-r--r-- | news/nntp/Makefile | 6 | ||||
-rw-r--r-- | news/nntp/pkg-plist | 10 |
2 files changed, 7 insertions, 9 deletions
diff --git a/news/nntp/Makefile b/news/nntp/Makefile index a81f036c82c9..9610c65519ad 100644 --- a/news/nntp/Makefile +++ b/news/nntp/Makefile @@ -22,7 +22,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/news/cnews NO_WRKSUBDIR= yes MAN1= nntpxmit.1 MAN8= nntpd.8c acttimes.8c -PLIST= ${WRKDIR}/.PLIST.sed +PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==} +PLIST_SUB+= NEWSCTL=${NEWSCTL:S=${PREFIX}/==} MODIFY= conf.h Makefile @@ -48,9 +49,6 @@ pre-configure: -e "s=/usr/local/man=${PREFIX}/man=" \ ${WRKSRC}/${i}.sed >${WRKSRC}/${i} .endfor - @${SED} \ - -e "s=news/cnewsbin=${NEWSBIN:S=${PREFIX}/==}=" \ - ${PKGDIR}/PLIST >${PLIST} post-install: ${INSTALL_DATA} ${WRKSRC}/overview.fmt ${NEWSCTL}/overview.fmt diff --git a/news/nntp/pkg-plist b/news/nntp/pkg-plist index 7722f05752e4..d155111ce20c 100644 --- a/news/nntp/pkg-plist +++ b/news/nntp/pkg-plist @@ -1,7 +1,7 @@ sbin/nntpd -news/cnewsbin/acttimes -news/cnewsbin/nntpxmit -news/cnewsbin/nntpxfer +%%NEWSBIN%%/acttimes +%%NEWSBIN%%/nntpxmit +%%NEWSBIN%%/nntpxfer @comment just in case anyone wants it -news/cnewsbin/shlock -news/lib/overview.fmt +%%NEWSBIN%%/shlock +%%NEWSCTL%%/overview.fmt |