diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2000-08-07 07:17:39 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2000-08-07 07:17:39 +0000 |
commit | 660d3cc56506a8baf0cc70a638d93aef54a51829 (patch) | |
tree | 697c9b4581349fbf1aa5bf907b6e26b7c0242ea5 /news/nntp | |
parent | 09a0a92b002db5c5869ebd0ef222a00d1058cfdc (diff) |
PLIST configurable
PR: ports/20404
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Notes
Notes:
svn path=/head/; revision=31358
Diffstat (limited to 'news/nntp')
-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 |