freebsd-ports/databases/pgsphere/Makefile
Sunpoet Po-Chuan Hsieh 00d154c617 Update to 1.1.5
- Add LICENSE_FILE
- Move PLIST_FILES to PLIST
- Update pkg-descr
- Update WWW

Changes:	https://github.com/pgsphere/pgsphere/commits/master
2018-04-11 19:38:05 +00:00

37 lines
843 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
# $FreeBSD$
PORTNAME= pgsphere
PORTVERSION= 1.1.5
CATEGORIES= databases geography
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Spherical data types, functions, and operators for PostgreSQL
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT.pg_sphere
OPTIONS_DEFINE= DOCS
MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 \
docdir=${DOCSDIR} \
install_bin=/usr/bin/install
TEST_TARGET= installcheck
USE_LDCONFIG= yes
USES= gmake pgsql
DATADIR= ${PREFIX}/share/postgresql
DOCSDIR?= ${PREFIX}/share/doc/postgresql
GH_TAGNAME= f36ffd6
USE_GITHUB= yes
DOCS_MAKE_ARGS_OFF= DOCS=""
post-patch:
@${REINPLACE_CMD} -e 's|int4|int32|g' ${WRKSRC}/line.c ${WRKSRC}/line.h
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_sphere.so
.include <bsd.port.mk>