summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-03-14 07:27:51 +0000
committerdinoex <dinoex@FreeBSD.org>2001-03-14 07:27:51 +0000
commit333dd400608ba00263bba1c9d5669a9989e4e21c (patch)
treecedb14fdfa1f83715c87f7e0ad3222aa6fb8a1c2 /news
parent1b62929efbae790cf3bc66cd4310581ff11a7990 (diff)
downloadFreeBSD-ports-333dd400608ba00263bba1c9d5669a9989e4e21c.zip
FreeBSD-ports-333dd400608ba00263bba1c9d5669a9989e4e21c.tar.gz
fix pkg-plist, even if CNEWSBIN is not set
Diffstat (limited to 'news')
-rw-r--r--news/c-nocem/Makefile1
-rw-r--r--news/c-nocem/pkg-plist4
2 files changed, 3 insertions, 2 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile
index 8b75e67..449c831 100644
--- a/news/c-nocem/Makefile
+++ b/news/c-nocem/Makefile
@@ -20,5 +20,6 @@ CNEWSSRC?= ${.CURDIR}/../cnews/work
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-cnews=${WRKDIRPREFIX}${CNEWSSRC}
+PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
.include <bsd.port.mk>
diff --git a/news/c-nocem/pkg-plist b/news/c-nocem/pkg-plist
index ee08919..d594880 100644
--- a/news/c-nocem/pkg-plist
+++ b/news/c-nocem/pkg-plist
@@ -1,2 +1,2 @@
-libexec/cnews/fastcancel
-libexec/cnews/c-nocem
+%%NEWSBIN%%/fastcancel
+%%NEWSBIN%%/c-nocem
OpenPOWER on IntegriCloud