File:  [cvs.NetBSD.org] / pkgsrc / databases / postgresql92-datatypes / Attic / Makefile
Revision 1.9: download - view: text, annotated - select for diffs
Wed Oct 1 19:25:35 2014 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, HEAD
Include btree-gist module, useful e.g. for range exclusions.

# $NetBSD: Makefile,v 1.9 2014/10/01 19:25:35 joerg Exp $

PKGNAME=	${DISTNAME:C/-/92-datatypes-/}
PKGREVISION=	1
COMMENT=	PostgreSQL data types support modules

DEPENDS+=	postgresql92-server>=${PKGVERSION_NOREV}:../../databases/postgresql92-server

.include "../../databases/postgresql92/Makefile.common"

PLIST_VARS+=		uuid

.if ${OPSYS} != "Darwin"
PLIST.uuid=		yes
CONFIGURE_ARGS+=	--with-ossp-uuid
# because global pg_config.h is included, we have to define this
CPPFLAGS+=		-DHAVE_UUID_H
BUILD_DIRS+=		contrib/uuid-ossp
.  include "../../devel/ossp-uuid/buildlink3.mk"
.endif

BUILD_DIRS+=		contrib/btree_gist
BUILD_DIRS+=		contrib/citext
BUILD_DIRS+=		contrib/hstore
BUILD_DIRS+=		contrib/intarray
BUILD_DIRS+=		contrib/isn
BUILD_DIRS+=		contrib/ltree
BUILD_DIRS+=		contrib/lo
BUILD_DIRS+=		contrib/unaccent
BUILD_MAKE_FLAGS=	PGXS=1

.include "../../databases/postgresql92-client/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>