openbsd-ports/databases/ocaml-postgresql/Makefile
avsm a964285fc8 * bump version to 2.0.2
* use OASIS build system
* remove obsolete patches
* add WANTLIB
* add empty REGRESS_TARGET

From: Christopher Zimmermann <madroach@gmerlin.de>
2012-08-18 21:55:07 +00:00

36 lines
830 B
Makefile

# $OpenBSD: Makefile,v 1.20 2012/08/18 21:55:07 avsm Exp $
COMMENT= Objective Caml bindings for PostgreSQL
CATEGORIES= databases
V= 2.0.2
NAME = ocaml-postgresql
DISTNAME= postgresql-ocaml-${V}
PKGNAME= ${NAME}-${V}
MASTER_SITES= https://bitbucket.org/mmottl/postgresql-ocaml/downloads/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
HOMEPAGE= https://bitbucket.org/mmottl/postgresql-ocaml/
# LGPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MODULES= lang/ocaml
WANTLIB = pq
BUILD_DEPENDS = sysutils/findlib
LIB_DEPENDS= databases/postgresql
CONFIGURE_STYLE = oasis
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${NAME}
${INSTALL_DATA} \
${FILESDIR}/README ${WRKDIST}/examples/* \
${PREFIX}/share/examples/${NAME}/
.include <bsd.port.mk>