mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
cf118ccf87
Reported by: lwhsu
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
PORTNAME= givaro
|
|
PORTVERSION= 4.1.1
|
|
DISTVERSIONPREFIX=v
|
|
PORTREVISION= 2
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= pi@FreeBSD.org
|
|
COMMENT= C++ library for computer algebra
|
|
|
|
LICENSE= CeCILL-Bv1-en.txt
|
|
LICENSE_NAME= Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre] B license, version 1
|
|
LICENSE_FILE= ${WRKSRC}/Licence_CeCILL-B_V1-en.txt
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp
|
|
|
|
USES= autoreconf compiler:c++11-lang gmake libtool pathfix pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-gmp="${LOCALBASE}"
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= linbox-team
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
|
|
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \
|
|
dot:graphics/graphviz
|
|
DOCS_CONFIGURE_ON= --enable-doc --with-docdir=${DOCSDIR}
|
|
|
|
post-install-DOCS-on:
|
|
${RMDIR} ${STAGEDIR}${DOCSDIR}/givaro-dev-html
|
|
${FIND} ${WRKSRC}/docs/givaro-html -not -type d \
|
|
| ${SED} -ne 's,^${WRKSRC}/docs/givaro-html,${DOCSDIR}/givaro-html,p' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|