1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- Respect NOPORTDOCS

- Remove useless pkg-plist

Noticed by:	QAT
This commit is contained in:
Philippe Audeoud 2008-11-06 16:05:24 +00:00
parent 25ee53c06d
commit 0a9b3777b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222453
6 changed files with 24 additions and 33 deletions

View File

@ -17,14 +17,19 @@ COMMENT= Library of Routines for Random Number Generation
USE_LDCONFIG= yes
MAKE_ENV= NOPROFILE=true
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PORTDOCS= Basegen.c.doc ranlib.c.chs ranlib.c.fdoc
PLIST_FILES= include/ranlib.h \
lib/libranlib.a \
lib/libranlib.so \
lib/libranlib.so.1
post-extract:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ranlib
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/ranlib
${MKDIR} ${DOCSDIR}
cd ${WRKDIR}/${DISTNAME}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,8 +0,0 @@
include/ranlib.h
lib/libranlib.a
lib/libranlib.so
lib/libranlib.so.1
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
@dirrm share/doc/ranlib

View File

@ -17,14 +17,19 @@ COMMENT= Library of Routines for Random Number Generation
USE_LDCONFIG= yes
MAKE_ENV= NOPROFILE=true
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PORTDOCS= Basegen.c.doc ranlib.c.chs ranlib.c.fdoc
PLIST_FILES= include/ranlib.h \
lib/libranlib.a \
lib/libranlib.so \
lib/libranlib.so.1
post-extract:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ranlib
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/ranlib
${MKDIR} ${DOCSDIR}
cd ${WRKDIR}/${DISTNAME}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,8 +0,0 @@
include/ranlib.h
lib/libranlib.a
lib/libranlib.so
lib/libranlib.so.1
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
@dirrm share/doc/ranlib

View File

@ -17,14 +17,19 @@ COMMENT= Library of Routines for Random Number Generation
USE_LDCONFIG= yes
MAKE_ENV= NOPROFILE=true
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PORTDOCS= Basegen.c.doc ranlib.c.chs ranlib.c.fdoc
PLIST_FILES= include/ranlib.h \
lib/libranlib.a \
lib/libranlib.so \
lib/libranlib.so.1
post-extract:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ranlib
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/ranlib
${MKDIR} ${DOCSDIR}
cd ${WRKDIR}/${DISTNAME}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,8 +0,0 @@
include/ranlib.h
lib/libranlib.a
lib/libranlib.so
lib/libranlib.so.1
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
@dirrm share/doc/ranlib