aboutsummaryrefslogtreecommitdiff
path: root/databases/ocaml-pgocaml
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-04-21 21:30:47 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-04-21 21:30:47 +0000
commitbb3116d3b5a93f7c11064264bc1b4749949fa65b (patch)
treeae5eb3b05f011ddfde1ff4f3c71347ea20aa1d48 /databases/ocaml-pgocaml
parentc17a3f10ac84f925f65f4448c3b8be3382479852 (diff)
Notes
Diffstat (limited to 'databases/ocaml-pgocaml')
-rw-r--r--databases/ocaml-pgocaml/Makefile24
-rw-r--r--databases/ocaml-pgocaml/distinfo4
2 files changed, 13 insertions, 15 deletions
diff --git a/databases/ocaml-pgocaml/Makefile b/databases/ocaml-pgocaml/Makefile
index b3d411dcadb5..03ca5cf1baf8 100644
--- a/databases/ocaml-pgocaml/Makefile
+++ b/databases/ocaml-pgocaml/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= pgocaml
-PORTVERSION= 1.4
+PORTVERSION= 1.5
CATEGORIES= databases
-MASTER_SITES= BERLIOS
+MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/850/
PKGNAMEPREFIX= ocaml-
EXTRACT_SUFX= .tgz
@@ -20,23 +20,21 @@ BUILD_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/extlib:${PORTSDIR}/devel/ocaml-e
${LOCALBASE}/${OCAML_SITELIBDIR}/calendar:${PORTSDIR}/devel/ocaml-calendar \
${LOCALBASE}/${OCAML_SITELIBDIR}/csv:${PORTSDIR}/textproc/ocaml-csv
-DEPRECATED= BROKEN for more than 6 month
-EXPIRATION_DATE= 2012-05-10
-
-BROKEN= does not build
-
USE_GMAKE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
-OCAML_PKGDIRS= pgocaml
+USE_OCAMLFIND_PLIST= yes
INSTALL_TARGET= findlib_install
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/camlp4o.byte)
+post-patch:
+ ${REINPLACE_CMD} 's/-pp "camlp4o/-pp "camlp4o.byte/g' ${WRKSRC}/Makefile
+.endif
+
pre-build:
cd ${WRKSRC}; ${GMAKE} depend
-post-install:
- @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
- ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/ocaml-pgocaml/distinfo b/databases/ocaml-pgocaml/distinfo
index 670004dd1899..d0334d5ef742 100644
--- a/databases/ocaml-pgocaml/distinfo
+++ b/databases/ocaml-pgocaml/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pgocaml-1.4.tgz) = ee041b2efcf071b0b0e7f48428b2cfd8a1b4550bfe402dbe2a259af2b7b5c190
-SIZE (pgocaml-1.4.tgz) = 41256
+SHA256 (pgocaml-1.5.tgz) = 99e70a6963432618f4e5c3922e9622e59132ed7787dd2d668dab2b0048292a0b
+SIZE (pgocaml-1.5.tgz) = 43764