aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-15 08:43:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-15 08:43:57 +0800
commit77666118195a4d53697a92ca4e1730517978498b (patch)
treebdd3ebd6154aed4f1c26216637d0beeac7b42fad
parent83b88b98f802e9526dda2e43f18e00a31b3b43f6 (diff)
downloadfreebsd-ports-gnome-77666118195a4d53697a92ca4e1730517978498b.tar.gz
freebsd-ports-gnome-77666118195a4d53697a92ca4e1730517978498b.tar.zst
freebsd-ports-gnome-77666118195a4d53697a92ca4e1730517978498b.zip
- Update to 3.0.5, fixing build
- Simplify docs and examples handling
-rw-r--r--devel/ocaml-pomap/Makefile13
-rw-r--r--devel/ocaml-pomap/distinfo4
-rw-r--r--devel/ocaml-pomap/pkg-descr2
3 files changed, 8 insertions, 11 deletions
diff --git a/devel/ocaml-pomap/Makefile b/devel/ocaml-pomap/Makefile
index a6043f047352..1318923f2d8f 100644
--- a/devel/ocaml-pomap/Makefile
+++ b/devel/ocaml-pomap/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= pomap
-PORTVERSION= 3.0.3
+PORTVERSION= 3.0.5
+DISTVERSIONPREFIX= v
CATEGORIES= devel
-MASTER_SITES= http://cdn.bitbucket.org/mmottl/pomap/downloads/
PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
@@ -12,7 +12,8 @@ COMMENT= OCaml library to maintain a list of partially ordered elements
LICENSE= LGPL21
-OPTIONS_DEFINE= DOCS EXAMPLES
+USE_GITHUB= yes
+GH_ACCOUNT= mmottl
USE_OCAML= yes
USE_OCAML_FINDLIB=yes
@@ -29,19 +30,15 @@ EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS.txt CHANGES.txt README.md
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-.endif
.include <bsd.port.mk>
diff --git a/devel/ocaml-pomap/distinfo b/devel/ocaml-pomap/distinfo
index 47a2da926776..c90b96faa212 100644
--- a/devel/ocaml-pomap/distinfo
+++ b/devel/ocaml-pomap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pomap-3.0.3.tar.gz) = ff35571fb06230d4448ec61d57dc46d38019ceba1e650600c7eedf26590a5256
-SIZE (pomap-3.0.3.tar.gz) = 73040
+SHA256 (mmottl-pomap-v3.0.5_GH0.tar.gz) = 9788da1550dd88557262e91f4cd3f8c216b2b66ad0d3a2c7e65734177e5f87c2
+SIZE (mmottl-pomap-v3.0.5_GH0.tar.gz) = 74574
diff --git a/devel/ocaml-pomap/pkg-descr b/devel/ocaml-pomap/pkg-descr
index 378909d5b568..06301ece62c6 100644
--- a/devel/ocaml-pomap/pkg-descr
+++ b/devel/ocaml-pomap/pkg-descr
@@ -3,4 +3,4 @@ ordered elements. Whereas a total order allows you to say whether some
element is lower, equal or greater than another one, partial orders also
allow for a "don-t know" case.
-WWW: https://bitbucket.org/mmottl/pomap
+WWW: https://mmottl.github.io/pomap/