aboutsummaryrefslogtreecommitdiffstats
path: root/news/leafnode+
diff options
context:
space:
mode:
authortom <tom@FreeBSD.org>2002-11-04 04:51:16 +0800
committertom <tom@FreeBSD.org>2002-11-04 04:51:16 +0800
commita48485120f4a7f56a556869a29618ed2c669c4f8 (patch)
treed9092bde0e55fa0d35de5762ea4ccb2958aa730a /news/leafnode+
parentf96be13c3f0f1720fce28334d0ce481dd7578515 (diff)
downloadfreebsd-ports-gnome-a48485120f4a7f56a556869a29618ed2c669c4f8.tar.gz
freebsd-ports-gnome-a48485120f4a7f56a556869a29618ed2c669c4f8.tar.zst
freebsd-ports-gnome-a48485120f4a7f56a556869a29618ed2c669c4f8.zip
Use standard %%PORTDOCS%% mechanism instead of using a different PLIST if
NOPORTDOCS is defined
Diffstat (limited to 'news/leafnode+')
-rw-r--r--news/leafnode+/Makefile4
-rw-r--r--news/leafnode+/pkg-plist12
-rw-r--r--news/leafnode+/pkg-plist.nodocs5
3 files changed, 6 insertions, 15 deletions
diff --git a/news/leafnode+/Makefile b/news/leafnode+/Makefile
index c84e9a43d198..81fffbd489ff 100644
--- a/news/leafnode+/Makefile
+++ b/news/leafnode+/Makefile
@@ -16,10 +16,6 @@ MAINTAINER= tom@FreeBSD.org
MAN8= checkgroups.8 fetchnews.8 leafnode.8 texpire.8
PKGINSTALL= ${WRKDIR}/INSTALL
-.if defined(NOPORTDOCS)
-PLIST= ${PKGDIR}/pkg-plist.nodocs
-.endif
-
LEAFLIBDIR?= ${PREFIX}/lib/leafnode
LEAFSPOOLDIR?= /var/spool/leafnode
REWRITE= ${SED} -e "s:@LIBDIR@:${LEAFLIBDIR}:g" \
diff --git a/news/leafnode+/pkg-plist b/news/leafnode+/pkg-plist
index ded785dfe99b..56f5afabf80d 100644
--- a/news/leafnode+/pkg-plist
+++ b/news/leafnode+/pkg-plist
@@ -3,11 +3,11 @@ sbin/fetchnews
sbin/texpire
sbin/checkgroups
sbin/leaftool
-share/doc/leafnode+/Changes
-share/doc/leafnode+/FAQ
-share/doc/leafnode+/INSTALL
-share/doc/leafnode+/README
-share/doc/leafnode+/config.example
+%%PORTDOCS%%share/doc/leafnode+/Changes
+%%PORTDOCS%%share/doc/leafnode+/FAQ
+%%PORTDOCS%%share/doc/leafnode+/INSTALL
+%%PORTDOCS%%share/doc/leafnode+/README
+%%PORTDOCS%%share/doc/leafnode+/config.example
@exec if [ ! -d %D/lib/leafnode ]; then mkdir -p %D/lib/leafnode; fi
-@dirrm share/doc/leafnode+
+%%PORTDOCS%%@dirrm share/doc/leafnode+
@dirrm lib/leafnode
diff --git a/news/leafnode+/pkg-plist.nodocs b/news/leafnode+/pkg-plist.nodocs
deleted file mode 100644
index 5ad718af4cfd..000000000000
--- a/news/leafnode+/pkg-plist.nodocs
+++ /dev/null
@@ -1,5 +0,0 @@
-sbin/leafnode
-sbin/fetchnews
-sbin/texpire
-sbin/checkgroups
-sbin/leaftool