1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-19 09:29:05 +00:00
parent 1a4672f9fe
commit 507ce4b551
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358368
2 changed files with 3 additions and 4 deletions

View File

@ -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>

View File

@ -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>