1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Use standard %%PORTDOCS%% mechanism instead of using a different PLIST if

NOPORTDOCS is defined
This commit is contained in:
Tom Hukins 2002-11-03 20:51:16 +00:00
parent 35d65d20e1
commit 27f56c844b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69369
3 changed files with 6 additions and 15 deletions

View File

@ -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" \

View File

@ -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

View File

@ -1,5 +0,0 @@
sbin/leafnode
sbin/fetchnews
sbin/texpire
sbin/checkgroups
sbin/leaftool