blob: 03ca5cf1baf8c3fd89ec0419d8d660677a6953bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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>
|