From 27f56c844b741e0e6b95ec0ee501c334362ee9e4 Mon Sep 17 00:00:00 2001 From: Tom Hukins Date: Sun, 3 Nov 2002 20:51:16 +0000 Subject: Use standard %%PORTDOCS%% mechanism instead of using a different PLIST if NOPORTDOCS is defined --- news/leafnode+/Makefile | 4 ---- news/leafnode+/pkg-plist | 12 ++++++------ news/leafnode+/pkg-plist.nodocs | 5 ----- 3 files changed, 6 insertions(+), 15 deletions(-) delete mode 100644 news/leafnode+/pkg-plist.nodocs (limited to 'news') 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 -- cgit v1.2.3