aboutsummaryrefslogtreecommitdiff
path: root/math/libranlib
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2008-11-06 16:05:24 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2008-11-06 16:05:24 +0000
commit0a9b3777b41dc12c0ac8666702705c356c6807f6 (patch)
tree251be1c32d47ce86044bbc911a23f1b41f1706ae /math/libranlib
parent25ee53c06d74a0712027030b7df43a2cac02ea45 (diff)
downloadports-0a9b3777b41dc12c0ac8666702705c356c6807f6.tar.gz
ports-0a9b3777b41dc12c0ac8666702705c356c6807f6.zip
Notes
Diffstat (limited to 'math/libranlib')
-rw-r--r--math/libranlib/Makefile11
-rw-r--r--math/libranlib/pkg-plist8
2 files changed, 8 insertions, 11 deletions
diff --git a/math/libranlib/Makefile b/math/libranlib/Makefile
index 1dde5d649c2c..34b6353e1c00 100644
--- a/math/libranlib/Makefile
+++ b/math/libranlib/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>
diff --git a/math/libranlib/pkg-plist b/math/libranlib/pkg-plist
deleted file mode 100644
index f59969270e13..000000000000
--- a/math/libranlib/pkg-plist
+++ /dev/null
@@ -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