aboutsummaryrefslogtreecommitdiffstats
path: root/news/nntp/Makefile
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-08-07 15:17:39 +0800
committerkevlo <kevlo@FreeBSD.org>2000-08-07 15:17:39 +0800
commit1613c1bb4552eddaf6957e6ab19adce58146dbd9 (patch)
tree03b307be48c04f0ea6d5a934ca5a1b3fe0ba5712 /news/nntp/Makefile
parent205cedcada084aa7ad01a806f6279986bb02d32f (diff)
downloadfreebsd-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>
Diffstat (limited to 'news/nntp/Makefile')
-rw-r--r--news/nntp/Makefile6
1 files changed, 2 insertions, 4 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