2013-07-10 23:11:24 +02:00
|
|
|
# Created by: Zhihao Yuan <lichray@gmail.com>
|
2012-01-26 21:18:32 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pure-mpfr
|
|
|
|
PORTVERSION= 0.4
|
2013-11-06 23:50:21 +01:00
|
|
|
PORTREVISION= 1
|
2012-01-26 21:18:32 +01:00
|
|
|
CATEGORIES= math
|
2013-11-06 23:50:21 +01:00
|
|
|
MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
|
|
|
|
DIST_SUBDIR= pure
|
2012-01-26 21:18:32 +01:00
|
|
|
|
2014-07-23 19:30:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-01-26 21:18:32 +01:00
|
|
|
COMMENT= Multiprecision floats for Pure
|
|
|
|
|
2013-11-06 23:50:21 +01:00
|
|
|
LICENSE= GPLv3 LGPL3
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
|
|
|
USES= pkgconfig pure
|
2014-08-07 16:42:45 +02:00
|
|
|
MAKE_ARGS+= libdir="${PREFIX}/lib"
|
2013-11-06 23:50:21 +01:00
|
|
|
PORTDOCS= README
|
|
|
|
PORTEXAMPLES= *
|
2014-02-21 14:38:05 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-08-07 16:42:45 +02:00
|
|
|
PLIST_FILES= lib/pure/mpfr.pure \
|
|
|
|
lib/pure/mpfr.so
|
2013-11-06 23:50:21 +01:00
|
|
|
|
|
|
|
post-install:
|
2014-08-07 16:42:45 +02:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/mpfr.so
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
2013-11-06 23:50:21 +01:00
|
|
|
|
2013-07-10 23:11:24 +02:00
|
|
|
.include <bsd.port.mk>
|