aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2012-01-26 19:18:51 +0800
committerpav <pav@FreeBSD.org>2012-01-26 19:18:51 +0800
commit8c5e0793188e5bbbf00a6ed44f4fa4480c24f509 (patch)
treede21d6cb700408c37227fad6cd6e2f0f33f30fee /math
parent3a7304aa9281f789c5922f5bb0b896eb4c76ca43 (diff)
downloadfreebsd-ports-gnome-8c5e0793188e5bbbf00a6ed44f4fa4480c24f509.tar.gz
freebsd-ports-gnome-8c5e0793188e5bbbf00a6ed44f4fa4480c24f509.tar.zst
freebsd-ports-gnome-8c5e0793188e5bbbf00a6ed44f4fa4480c24f509.zip
- Update pure to 0.51 and update modules
PR: ports/161799 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
Diffstat (limited to 'math')
-rw-r--r--math/pure-rational/Makefile15
-rw-r--r--math/pure-rational/distinfo4
2 files changed, 9 insertions, 10 deletions
diff --git a/math/pure-rational/Makefile b/math/pure-rational/Makefile
index bf8e9f272c4b..84b38a919a9d 100644
--- a/math/pure-rational/Makefile
+++ b/math/pure-rational/Makefile
@@ -7,21 +7,20 @@
PORTNAME= pure-rational
PORTVERSION= 0.1
+PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= http://pure-lang.googlecode.com/files/
MAINTAINER= lichray@gmail.com
COMMENT= Rational number library for the Pure language
-LIB_DEPENDS+= pure:${PORTSDIR}/lang/pure
-
LICENSE= GPLv3
+USE_PURE= yes
+NO_PURE_EXAMPLES= yes
+
PLIST_FILES= lib/pure/rational.pure \
lib/pure/rat_interval.pure
-USE_GMAKE= yes
-
-MAKE_ARGS+= prefix=${PREFIX}
-
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
+.include <bsd.port.post.mk>
diff --git a/math/pure-rational/distinfo b/math/pure-rational/distinfo
index c5da557efc55..8596660ab0ec 100644
--- a/math/pure-rational/distinfo
+++ b/math/pure-rational/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pure-rational-0.1.tar.gz) = c6b52330d45cb2b79c4bbfa748d9eccb796abd3b354d3d3d663d325f4eceeb1b
-SIZE (pure-rational-0.1.tar.gz) = 44687
+SHA256 (pure/pure-rational-0.1.tar.gz) = 62cb4079a0dadd232a859e577e97e50e9718ccfcc5983c4d9c4c32cac7a9bafa
+SIZE (pure/pure-rational-0.1.tar.gz) = 65724