diff options
author | Tom Hukins <tom@FreeBSD.org> | 2002-11-03 20:51:16 +0000 |
---|---|---|
committer | Tom Hukins <tom@FreeBSD.org> | 2002-11-03 20:51:16 +0000 |
commit | 27f56c844b741e0e6b95ec0ee501c334362ee9e4 (patch) | |
tree | 0f58d30e328f626cd75fc168cfd3a36bce73463c /news/leafnode+ | |
parent | PERL -> REINPLACE_CMD (diff) |
Use standard %%PORTDOCS%% mechanism instead of using a different PLIST if
NOPORTDOCS is defined
Notes
Notes:
svn path=/head/; revision=69369
Diffstat (limited to 'news/leafnode+')
-rw-r--r-- | news/leafnode+/Makefile | 4 | ||||
-rw-r--r-- | news/leafnode+/pkg-plist | 12 | ||||
-rw-r--r-- | news/leafnode+/pkg-plist.nodocs | 5 |
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 |