diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2008-11-06 16:05:24 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2008-11-06 16:05:24 +0000 |
commit | 0a9b3777b41dc12c0ac8666702705c356c6807f6 (patch) | |
tree | 251be1c32d47ce86044bbc911a23f1b41f1706ae /math/librandlib/Makefile | |
parent | With the update to shells/ksh93 this port is now outdated. The (diff) |
- Respect NOPORTDOCS
- Remove useless pkg-plist
Noticed by: QAT
Notes
Notes:
svn path=/head/; revision=222453
Diffstat (limited to 'math/librandlib/Makefile')
-rw-r--r-- | math/librandlib/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/math/librandlib/Makefile b/math/librandlib/Makefile index 1dde5d649c2c..34b6353e1c00 100644 --- a/math/librandlib/Makefile +++ b/math/librandlib/Makefile @@ -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> |