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 + +.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 +.include 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