From 660d3cc56506a8baf0cc70a638d93aef54a51829 Mon Sep 17 00:00:00 2001 From: Kevin Lo <kevlo@FreeBSD.org> Date: Mon, 7 Aug 2000 07:17:39 +0000 Subject: PLIST configurable PR: ports/20404 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org> --- news/nntp/Makefile | 6 ++---- news/nntp/pkg-plist | 10 +++++----- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'news/nntp') 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 -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0