aboutsummaryrefslogtreecommitdiffstats
path: root/math/randlib
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2008-11-07 00:05:24 +0800
committerjadawin <jadawin@FreeBSD.org>2008-11-07 00:05:24 +0800
commit1b4a282220d59e10cbc0213620f4b284c1581324 (patch)
tree166a294105a254b75eae44d16c8f9b388a935478 /math/randlib
parentabf5c787c3fac9b9227e481f0134394b215e1dc9 (diff)
downloadfreebsd-ports-gnome-1b4a282220d59e10cbc0213620f4b284c1581324.tar.gz
freebsd-ports-gnome-1b4a282220d59e10cbc0213620f4b284c1581324.tar.zst
freebsd-ports-gnome-1b4a282220d59e10cbc0213620f4b284c1581324.zip
- Respect NOPORTDOCS
- Remove useless pkg-plist Noticed by: QAT
Diffstat (limited to 'math/randlib')
-rw-r--r--math/randlib/Makefile11
-rw-r--r--math/randlib/pkg-plist8
2 files changed, 8 insertions, 11 deletions
diff --git a/math/randlib/Makefile b/math/randlib/Makefile
index 1dde5d649c2c..34b6353e1c00 100644
--- a/math/randlib/Makefile
+++ b/math/randlib/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/randlib/pkg-plist b/math/randlib/pkg-plist
deleted file mode 100644
index f59969270e13..000000000000
--- a/math/randlib/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