mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
bb3116d3b5
PR: ports/167053 Submitted by: jyyou@cs.nctu.edu.tw Approved by: maintainer, tcrimi@gmail.com
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# New ports collection makefile for: ocaml-calendar
|
|
# Date created: Feb 26, 2007
|
|
# Whom: Jaap Boender <jaapb@kerguelen.org>
|
|
#
|
|
# $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 <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
|
|
|
|
.include <bsd.port.post.mk>
|