1 # Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
7 CATEGORIES= databases geography
9 MAINTAINER= sunpoet@FreeBSD.org
10 COMMENT= Spherical data types, functions, and operators for PostgreSQL
13 LICENSE_FILE= ${WRKSRC}/COPYRIGHT.pg_sphere
20 MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 \
22 install_bin=/usr/bin/install
23 TEST_TARGET= installcheck
25 DATADIR= ${PREFIX}/share/postgresql
26 DOCSDIR?= ${PREFIX}/share/doc/postgresql
31 DOCS_MAKE_ARGS_OFF= DOCS=""
34 @${REINPLACE_CMD} -e 's|int4|int32|g' ${WRKSRC}/line.c ${WRKSRC}/line.h
37 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_sphere.so
39 .include <bsd.port.mk>