summaryrefslogtreecommitdiff
path: root/textproc/ocaml-text
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2015-05-16 08:59:44 +0000
committerJohan van Selst <johans@FreeBSD.org>2015-05-16 08:59:44 +0000
commit396e41310db56aac1bde0b2a6b19574c77bf058e (patch)
treea5511d29f43bba2eb8f74c316336ddacdaf6f93c /textproc/ocaml-text
parent- Add CPE info (diff)
- Update ocaml-text to 0.8, now from Github
- Adopt port
Notes
Notes: svn path=/head/; revision=386502
Diffstat (limited to 'textproc/ocaml-text')
-rw-r--r--textproc/ocaml-text/Makefile17
-rw-r--r--textproc/ocaml-text/distinfo4
2 files changed, 11 insertions, 10 deletions
diff --git a/textproc/ocaml-text/Makefile b/textproc/ocaml-text/Makefile
index d54a06329dc1..7be68c580793 100644
--- a/textproc/ocaml-text/Makefile
+++ b/textproc/ocaml-text/Makefile
@@ -2,16 +2,17 @@
# $FreeBSD$
PORTNAME= text
-PORTVERSION= 0.6
-PORTREVISION= 1
+PORTVERSION= 0.8
CATEGORIES= textproc
-MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/937/
PKGNAMEPREFIX= ocaml-
-DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= johans@stack.nl
COMMENT= OCaml library for dealing with text
+USE_GITHUB= yes
+GH_ACCOUNT= vbmithr
+GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
+
USES= gmake
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${PREFIX} \
@@ -38,13 +39,13 @@ post-patch:
${WRKSRC}/setup.ml
do-configure:
- (cd ${WRKSRC}; ocaml setup.ml -configure ${CONFIGURE_ARGS})
+ cd ${WRKSRC}; ocaml setup.ml -configure ${CONFIGURE_ARGS}
do-build:
- (cd ${WRKSRC}; ocaml setup.ml -build)
+ cd ${WRKSRC}; ocaml setup.ml -build
do-install:
${MKDIR} ${STAGEDIR}${OCAMLFIND_DESTDIR}
- (cd ${WRKSRC}; ocaml setup.ml -install)
+ cd ${WRKSRC}; ocaml setup.ml -install
.include <bsd.port.mk>
diff --git a/textproc/ocaml-text/distinfo b/textproc/ocaml-text/distinfo
index 2942015076d4..56e56d883085 100644
--- a/textproc/ocaml-text/distinfo
+++ b/textproc/ocaml-text/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ocaml-text-0.6.tar.gz) = cfd4d224ec0b776ce462c5ba5cb6e4eae8cf397ede6d3b91add44a05a6520f49
-SIZE (ocaml-text-0.6.tar.gz) = 253162
+SHA256 (vbmithr-ocaml-text-0.8_GH0.tar.gz) = bab32ca98a086631a0715d06109ebf09a71d2ac9aa901bc4f4ecd3d84331b746
+SIZE (vbmithr-ocaml-text-0.8_GH0.tar.gz) = 80898