aboutsummaryrefslogtreecommitdiffstats
path: root/news/cnews/Makefile
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-08-07 15:50:02 +0800
committerkevlo <kevlo@FreeBSD.org>2000-08-07 15:50:02 +0800
commitb128667fe8248cf388d8fb4c007bd6a003926c45 (patch)
tree7a62080ef4efe6f32258ec16e275f257722990cf /news/cnews/Makefile
parentc5fc02bacc526293508c0030815e51875d04b908 (diff)
downloadfreebsd-ports-gnome-b128667fe8248cf388d8fb4c007bd6a003926c45.tar.gz
freebsd-ports-gnome-b128667fe8248cf388d8fb4c007bd6a003926c45.tar.zst
freebsd-ports-gnome-b128667fe8248cf388d8fb4c007bd6a003926c45.zip
- Update MASTER_SITES
- PLIST is configurable and added URL's PR: ports/20406 Submitted by: MAINTAINER
Diffstat (limited to 'news/cnews/Makefile')
-rw-r--r--news/cnews/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index e5a20d185470..9ca4647eb7bd 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -45,7 +45,8 @@ MAN8= cnewsdo.8cn expire.8cn explode.8cn mergeactive.8 \
mkhistory.8cn newsaux.8cn newsbatch.8cn newsmail.8cn \
newsmaint.8cn newsoverview.8 relaynews.8cn report.8cn \
rnews.8cn
-PLIST= ${WRKDIR}/.PLIST.sed
+PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
+PLIST_SUB+= NEWSCTL=${NEWSCTL:S=${PREFIX}/==}
MODIFY= conf/quiz.def \
conf/substitutions \
@@ -85,10 +86,6 @@ pre-configure:
-e "s=/usr/local/bin=${PREFIX}/bin=" \
${WRKSRC}/${i}.sed >${WRKSRC}/${i}
.endfor
- @${SED} \
- -e "s=news/cnewsbin=${NEWSBIN:S=${PREFIX}/==}=" \
- -e "s=news/lib=${NEWSCTL:S=${PREFIX}/==}=" \
- ${PKGDIR}/PLIST >${PLIST}
do-install:
${RM} -f ${PREFIX}/bin/inews