aboutsummaryrefslogtreecommitdiff
path: root/math/pure-rational
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-11-06 22:50:21 +0000
committerXin LI <delphij@FreeBSD.org>2013-11-06 22:50:21 +0000
commitbc0d646198e21b9653ddde161dcdd059533a7d9a (patch)
treef4ca39f0f94b1fc725562cca278474e325706ee3 /math/pure-rational
parentae3e5e966b6d57cfc253af140717fe2208286c6b (diff)
downloadports-bc0d646198e21b9653ddde161dcdd059533a7d9a.tar.gz
ports-bc0d646198e21b9653ddde161dcdd059533a7d9a.zip
Update to 0.57.
PR: ports/179390 Submitted by: nemysis Approved by: maintainer
Notes
Notes: svn path=/head/; revision=333045
Diffstat (limited to 'math/pure-rational')
-rw-r--r--math/pure-rational/Makefile17
-rw-r--r--math/pure-rational/pkg-descr2
2 files changed, 15 insertions, 4 deletions
diff --git a/math/pure-rational/Makefile b/math/pure-rational/Makefile
index 19df22fb7452..2f50e20ce1dd 100644
--- a/math/pure-rational/Makefile
+++ b/math/pure-rational/Makefile
@@ -5,18 +5,29 @@ PORTNAME= pure-rational
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= math
+MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
+DIST_SUBDIR= pure
MAINTAINER= lichray@gmail.com
COMMENT= Rational number library for the Pure language
LICENSE= GPLv3
-USE_PURE= yes
-NO_PURE_EXAMPLES= yes
+USES= pure
PLIST_FILES= lib/pure/rational.pure \
lib/pure/rat_interval.pure
NO_STAGE= yes
-.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
+
+PORTDOCS= README
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/math/pure-rational/pkg-descr b/math/pure-rational/pkg-descr
index 25a2d1bd43f1..89f3c90b3668 100644
--- a/math/pure-rational/pkg-descr
+++ b/math/pure-rational/pkg-descr
@@ -1,4 +1,4 @@
pure-rational provides additional operations on the rational number type
provided by the math.pure module in the standard library.
-WWW: http://docs.pure-lang.googlecode.com/hg/pure-rational.html
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-rational.html