freebsd-ports/databases/pgsphere/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

39 lines
875 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
# $FreeBSD$
PORTNAME= pgsphere
PORTVERSION= 1.1.5
PORTREVISION= 2
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
USES= gmake pgsql
LLD_UNSAFE= yes
USE_LDCONFIG= yes
MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 \
docdir=${DOCSDIR} \
install_bin=/usr/bin/install
TEST_TARGET= installcheck
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>