| @@ -1,27 +1,30 @@ | | | @@ -1,27 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.50 2018/09/23 23:11:49 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.51 2018/09/29 15:13:01 tnn Exp $ |
2 | | | 2 | |
3 | MAJOR= 2.5 | | 3 | MAJOR= 2.5 |
4 | DISTNAME= postgis-${MAJOR}.0 | | 4 | DISTNAME= postgis-${MAJOR}.0 |
5 | PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME} | | 5 | PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME} |
6 | CATEGORIES= databases geography | | 6 | CATEGORIES= databases geography |
7 | MASTER_SITES= https://download.osgeo.org/postgis/source/ | | 7 | MASTER_SITES= https://download.osgeo.org/postgis/source/ |
8 | | | 8 | |
9 | MAINTAINER= gdt@NetBSD.org | | 9 | MAINTAINER= gdt@NetBSD.org |
10 | HOMEPAGE= http://postgis.net/ | | 10 | HOMEPAGE= http://postgis.net/ |
11 | COMMENT= Spatial database capabilities for PostgreSQL | | 11 | COMMENT= Spatial database capabilities for PostgreSQL |
12 | | | 12 | |
13 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
14 | | | 14 | |
| | | 15 | # Needs 9.4 or higher |
| | | 16 | PGSQL_VERSIONS_ACCEPTED= 10 96 95 94 |
| | | 17 | |
15 | DEPENDS+= postgresql${PGSQL_VERSION}-server-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-server | | 18 | DEPENDS+= postgresql${PGSQL_VERSION}-server-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-server |
16 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | | 19 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl |
17 | | | 20 | |
18 | CONFLICTS= postgis-[0-9]* | | 21 | CONFLICTS= postgis-[0-9]* |
19 | | | 22 | |
20 | # TODO section | | 23 | # TODO section |
21 | # 1. Fix installation use of "install -o root" from pgxs.mk, when postgresql | | 24 | # 1. Fix installation use of "install -o root" from pgxs.mk, when postgresql |
22 | # was built as root and postgis is built/installed as a non-root user. | | 25 | # was built as root and postgis is built/installed as a non-root user. |
23 | # https://lists.osgeo.org/pipermail/postgis-devel/2015-July/025045.html | | 26 | # https://lists.osgeo.org/pipermail/postgis-devel/2015-July/025045.html |
24 | # 2. Recheck and fix or file upstream about MAKE_JOBS_SAFE. | | 27 | # 2. Recheck and fix or file upstream about MAKE_JOBS_SAFE. |
25 | # 3. Check 2nd make, and file bug about anything that happens. Check xsltproc | | 28 | # 3. Check 2nd make, and file bug about anything that happens. Check xsltproc |
26 | # in particular. | | 29 | # in particular. |
27 | | | 30 | |