View | Details | Raw Unified | Return to bug 179406
Collapse All | Expand All

(-)./Makefile (-10 / +28 lines)
Lines 1-24 Link Here
1
# New ports collection makefile for:	pure-mpfr
1
# Created by: Zhihao Yuan <lichray@gmail.com>
2
# Date created:		2011-10-19
3
# Whom:			Zhihao Yuan <lichray@gmail.com>
4
#
5
# $FreeBSD: head/math/pure-mpfr/Makefile 300896 2012-07-14 13:54:48Z beat $
2
# $FreeBSD: head/math/pure-mpfr/Makefile 300896 2012-07-14 13:54:48Z beat $
6
#
7
3
8
PORTNAME=	pure-mpfr
4
PORTNAME=	pure-mpfr
9
PORTVERSION=	0.4
5
PORTVERSION=	0.4
6
PORTREVISION=	1
10
CATEGORIES=	math
7
CATEGORIES=	math
8
#MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
MASTER_SITES=	https://pure-lang.googlecode.com/files/
10
DIST_SUBDIR=	pure
11
11
12
MAINTAINER=	lichray@gmail.com
12
MAINTAINER=	lichray@gmail.com
13
COMMENT=	Multiprecision floats for Pure
13
COMMENT=	Multiprecision floats for Pure
14
14
15
USE_PURE=	yes
15
LICENSE=	GPLv3 LGPL3
16
LICENSE_COMB=	dual
17
18
MAKE_ARGS+=	libdir="${PREFIX}/lib"
19
20
USES=		pkgconfig pure
16
21
17
PLIST_FILES=	lib/pure/mpfr.pure \
22
PLIST_FILES=	lib/pure/mpfr.pure \
18
		lib/pure/mpfr.so
23
		lib/pure/mpfr.so
19
24
20
MAKE_ARGS+=	libdir="${PREFIX}/lib"
25
PORTDOCS=	README
26
27
PORTEXAMPLES=	*
28
29
.include <bsd.port.options.mk>
30
31
post-install:
32
.if ${PORT_OPTIONS:MDOCS}
33
	@${MKDIR} ${DOCSDIR}
34
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
35
.endif
36
37
.if ${PORT_OPTIONS:MEXAMPLES}
38
	@${MKDIR} ${EXAMPLESDIR}
39
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
40
.endif
21
41
22
.include <bsd.port.pre.mk>
42
.include <bsd.port.mk>
23
.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
24
.include <bsd.port.post.mk>
(-)./pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
mpfr numbers or values) available in Pure, so that they work with the other
2
mpfr numbers or values) available in Pure, so that they work with the other
3
types of Pure numbers in an almost seamless fashion.
3
types of Pure numbers in an almost seamless fashion.
4
4
5
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-mpfr.html
5
WWW: http://docs.pure-lang.googlecode.com/hg/pure-mpfr.html

Return to bug 179406