1 # $NetBSD: Makefile,v 1.2 2012/06/14 07:45:33 sbd Exp $
3 PKGNAME= ${DISTNAME:C/-/91-datatypes-/}
4 COMMENT= PostgreSQL data types support modules
6 PKG_DESTDIR_SUPPORT= user-destdir
8 DEPENDS+= postgresql91-server>=${PKGVERSION_NOREV}:../../databases/postgresql91-server
10 .include "../../databases/postgresql91/Makefile.common"
12 CONFIGURE_ARGS+= --with-ossp-uuid
13 # because global pg_config.h is included, we have to define this
14 CPPFLAGS+= -DHAVE_UUID_H
16 BUILD_DIRS+= contrib/citext
17 BUILD_DIRS+= contrib/hstore
18 BUILD_DIRS+= contrib/intarray
19 BUILD_DIRS+= contrib/isn
20 BUILD_DIRS+= contrib/ltree
21 BUILD_DIRS+= contrib/lo
22 BUILD_DIRS+= contrib/uuid-ossp
23 BUILD_DIRS+= contrib/unaccent
24 BUILD_MAKE_FLAGS= PGXS=1
26 .include "../../databases/postgresql91-client/buildlink3.mk"
27 .include "../../devel/ossp-uuid/buildlink3.mk"
28 .include "../../mk/bsd.pkg.mk"