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