aboutsummaryrefslogtreecommitdiff
path: root/math/randlib
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-19 09:29:05 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-19 09:29:05 +0000
commit507ce4b5517ad936f6148240a23dfb4bbedc7f82 (patch)
tree433956e280af33dfdd20032fbfab245a809f3d6a /math/randlib
parent1a4672f9fe7619ff057792b6cbe6a06588aacbce (diff)
downloadports-507ce4b5517ad936f6148240a23dfb4bbedc7f82.tar.gz
ports-507ce4b5517ad936f6148240a23dfb4bbedc7f82.zip
Notes
Diffstat (limited to 'math/randlib')
-rw-r--r--math/randlib/Makefile5
-rw-r--r--math/randlib/files/Makefile.lib2
2 files changed, 3 insertions, 4 deletions
diff --git a/math/randlib/Makefile b/math/randlib/Makefile
index 7ca905ae89b6..9e3adefaa10d 100644
--- a/math/randlib/Makefile
+++ b/math/randlib/Makefile
@@ -20,14 +20,13 @@ PLIST_FILES= include/randlib.h \
lib/librandlib.so \
lib/librandlib.so.1
-NO_STAGE= yes
post-extract:
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/randlib
- @${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${PREFIX}/share/doc/randlib
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/math/randlib/files/Makefile.lib b/math/randlib/files/Makefile.lib
index 7bc0799ecdde..15700650d0e5 100644
--- a/math/randlib/files/Makefile.lib
+++ b/math/randlib/files/Makefile.lib
@@ -10,6 +10,6 @@ SRCS= linpack.c com.c randlib.c
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/randlib.h \
- ${PREFIX}/include
+ $(DESTDIR)${PREFIX}/include
.include <bsd.lib.mk>