# New ports collection makefile for: ocaml-calendar # Date created: Feb 26, 2007 # Whom: Jaap Boender # # $FreeBSD$ # PORTNAME= pgocaml PORTVERSION= 1.5 CATEGORIES= databases MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/850/ PKGNAMEPREFIX= ocaml- EXTRACT_SUFX= .tgz MAINTAINER= tcrimi@gmail.com COMMENT= An OCaml interface to PostgreSQL BUILD_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/extlib:${PORTSDIR}/devel/ocaml-extlib \ ${LOCALBASE}/${OCAML_SITELIBDIR}/pcre:${PORTSDIR}/devel/ocaml-pcre \ ${LOCALBASE}/${OCAML_SITELIBDIR}/calendar:${PORTSDIR}/devel/ocaml-calendar \ ${LOCALBASE}/${OCAML_SITELIBDIR}/csv:${PORTSDIR}/textproc/ocaml-csv USE_GMAKE= yes USE_OCAML= yes USE_OCAML_FINDLIB= yes 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 .include