1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

- Fix license

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-02-16 09:01:33 +00:00
parent abd2db2eac
commit 4a1bf78fb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434197

View File

@ -10,22 +10,27 @@ DIST_SUBDIR= pure
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiprecision floats for Pure
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
USES= pkgconfig pure
MAKE_ARGS+= libdir="${PREFIX}/lib"
MAKE_ARGS= libdir="${PREFIX}/lib"
PORTDOCS= README
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
PLIST_FILES= lib/pure/mpfr.pure \
lib/pure/mpfr.so
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/mpfr.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})