aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-03-14 15:27:51 +0800
committerdinoex <dinoex@FreeBSD.org>2001-03-14 15:27:51 +0800
commit333dd400608ba00263bba1c9d5669a9989e4e21c (patch)
treecedb14fdfa1f83715c87f7e0ad3222aa6fb8a1c2 /news
parent1b62929efbae790cf3bc66cd4310581ff11a7990 (diff)
downloadfreebsd-ports-gnome-333dd400608ba00263bba1c9d5669a9989e4e21c.tar.gz
freebsd-ports-gnome-333dd400608ba00263bba1c9d5669a9989e4e21c.tar.zst
freebsd-ports-gnome-333dd400608ba00263bba1c9d5669a9989e4e21c.zip
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 8b75e675fb12..449c831fde25 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 ee089196aa48..d59488099116 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