1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Add missing USE_LDCONFIG

- Use USES=libtool
- Fix USE_PYTHON
- Convert to new options helper
- Bump PORTREVISION for package change
- Do not hard-coded PORTVERSION in PLIST
- Bump PORTREVISION for graphics/geos shlib change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-18 13:07:23 +00:00
parent 4cbd6d36b6
commit 5425357367
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362205
13 changed files with 33 additions and 43 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= osmium PORTNAME= osmium
PORTVERSION= git20130522 PORTVERSION= git20130522
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= astro geography devel CATEGORIES= astro geography devel
MAINTAINER= amdmi3@FreeBSD.org MAINTAINER= amdmi3@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= osm2pgsql PORTNAME= osm2pgsql
PORTVERSION= 0.84.0 PORTVERSION= 0.84.0
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= converters geography CATEGORIES= converters geography
MAINTAINER= amdmi3@FreeBSD.org MAINTAINER= amdmi3@FreeBSD.org

View File

@ -2,7 +2,7 @@
PORTNAME= postgis PORTNAME= postgis
PORTVERSION= 2.0.4 PORTVERSION= 2.0.4
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= databases geography CATEGORIES= databases geography
MASTER_SITES= http://download.osgeo.org/postgis/source/ MASTER_SITES= http://download.osgeo.org/postgis/source/
PKGNAMESUFFIX= 20 PKGNAMESUFFIX= 20

View File

@ -2,7 +2,7 @@
PORTNAME= postgis PORTNAME= postgis
PORTVERSION= 2.1.0 PORTVERSION= 2.1.0
PORTREVISION= 5 PORTREVISION= 6
CATEGORIES= databases geography CATEGORIES= databases geography
MASTER_SITES= http://download.osgeo.org/postgis/source/ MASTER_SITES= http://download.osgeo.org/postgis/source/

View File

@ -3,7 +3,7 @@
PORTNAME= spatialite PORTNAME= spatialite
PORTVERSION= 4.1.1 PORTVERSION= 4.1.1
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= databases geography CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
DISTNAME= lib${PORTNAME}-${PORTVERSION} DISTNAME= lib${PORTNAME}-${PORTVERSION}

View File

@ -3,6 +3,7 @@
PORTNAME= libgpkg PORTNAME= libgpkg
PORTVERSION= 0.9.18 PORTVERSION= 0.9.18
PORTREVISION= 1
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= https://bitbucket.org/luciad/libgpkg/get/ \ MASTER_SITES= https://bitbucket.org/luciad/libgpkg/get/ \
LOCAL/sunpoet/${PORTNAME} LOCAL/sunpoet/${PORTNAME}

View File

@ -3,6 +3,7 @@
PORTNAME= Shapely PORTNAME= Shapely
PORTVERSION= 1.3.1 PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= devel python CATEGORIES= devel python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -3,47 +3,38 @@
PORTNAME= geos PORTNAME= geos
PORTVERSION= 3.4.2 PORTVERSION= 3.4.2
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= graphics geography CATEGORIES= graphics geography
MASTER_SITES= http://download.osgeo.org/geos/ MASTER_SITES= http://download.osgeo.org/geos/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org MAINTAINER= sunpoet@FreeBSD.org
COMMENT= GEOS implements all the OpenGIS "Simple Features for SQL" COMMENT= GEOS implements all the OpenGIS "Simple Features for SQL"
LICENSE= LGPL21 LICENSE= LGPL21
USE_AUTOTOOLS= libtool
USES= gmake tar:bzip2
GNU_CONFIGURE= yes
OPTIONS_DEFINE= PHP PYTHON RUBY OPTIONS_DEFINE= PHP PYTHON RUBY
OPTIONS_SUB= yes OPTIONS_SUB= yes
.include <bsd.port.options.mk> GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake libtool tar:bzip2
.if ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MRUBY} PLIST_SUB= PORTVERSION=${PORTVERSION}
BUILD_DEPENDS+= swig1.3:${PORTSDIR}/devel/swig13
.endif
.if ${PORT_OPTIONS:MPYTHON} PHP_BUILD_DEPENDS= ${LOCALBASE}/bin/swig1.3:${PORTSDIR}/devel/swig13
USE_PYTHON= yes PHP_CONFIGURE_ENABLE= php
CONFIGURE_ARGS+= --enable-python PHP_USE= PHP=yes PHP_BUILD=yes
.endif PYTHON_BUILD_DEPENDS= ${LOCALBASE}/bin/swig1.3:${PORTSDIR}/devel/swig13
PYTHON_CONFIGURE_ENABLE=python
.if ${PORT_OPTIONS:MPHP} PYTHON_USE= PYTHON=2
USE_PHP= yes RUBY_BUILD_DEPENDS= ${LOCALBASE}/bin/swig1.3:${PORTSDIR}/devel/swig13
USE_PHP_BUILD= yes RUBY_CONFIGURE_ENABLE= ruby
CONFIGURE_ARGS+= --enable-php RUBY_CONFIGURE_ENV= RUBY="${RUBY}"
.endif RUBY_USE= RUBY=yes
.if ${PORT_OPTIONS:MRUBY}
USE_RUBY= yes
CONFIGURE_ARGS+= --enable-ruby
CONFIGURE_ENV+= RUBY="${RUBY}"
.endif
post-install: post-install:
@${LN} -s ${PREFIX}/lib/libgeos-${PORTVERSION}.so \ ${LN} -s ${PREFIX}/lib/libgeos-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libgeos.so.0
${STAGEDIR}${PREFIX}/lib/libgeos.so.0 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgeos-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libgeos_c.so.1.8.2
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -372,15 +372,14 @@ include/geos/util/UnsupportedOperationException.h
include/geos/util/math.h include/geos/util/math.h
include/geos/version.h include/geos/version.h
include/geos_c.h include/geos_c.h
lib/libgeos-3.4.2.so lib/libgeos-%%PORTVERSION%%.so
lib/libgeos.a lib/libgeos.a
lib/libgeos.la
lib/libgeos.so lib/libgeos.so
lib/libgeos.so.0 lib/libgeos.so.0
lib/libgeos_c.a lib/libgeos_c.a
lib/libgeos_c.la
lib/libgeos_c.so lib/libgeos_c.so
lib/libgeos_c.so.9 lib/libgeos_c.so.1
lib/libgeos_c.so.1.8.2
@dirrmtry lib/geos @dirrmtry lib/geos
@dirrm include/geos/util @dirrm include/geos/util
@dirrm include/geos/triangulate/quadedge @dirrm include/geos/triangulate/quadedge
@ -423,7 +422,6 @@ lib/libgeos_c.so.9
@dirrm include/geos @dirrm include/geos
%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos.pth %%PYTHON%%%%PYTHON_SITELIBDIR%%/geos.pth
%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/_geos.a %%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/_geos.a
%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/_geos.la
%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/_geos.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/_geos.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.py %%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.pyc %%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.pyc
@ -431,7 +429,6 @@ lib/libgeos_c.so.9
%%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/geos %%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/geos
%%PYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%% %%PYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%
%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.a %%RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.a
%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.la
%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.so %%RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.so
%%RUBY%%@dirrmtry %%RUBY_SITEARCHLIBDIR%%/ %%RUBY%%@dirrmtry %%RUBY_SITEARCHLIBDIR%%/
%%PHP%%lib/php/20100525/geos.so %%PHP%%lib/php/20100525/geos.so

View File

@ -3,7 +3,7 @@
PORTNAME= librasterlite PORTNAME= librasterlite
PORTVERSION= 1.1g PORTVERSION= 1.1g
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= graphics geography CATEGORIES= graphics geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/librasterlite-sources/ MASTER_SITES= http://www.gaia-gis.it/gaia-sins/librasterlite-sources/

View File

@ -3,7 +3,7 @@
PORTNAME= libreatlas PORTNAME= libreatlas
PORTVERSION= 1.0.0a PORTVERSION= 1.0.0a
PORTREVISION= 11 PORTREVISION= 12
CATEGORIES= graphics geography CATEGORIES= graphics geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ MASTER_SITES= http://www.gaia-gis.it/gaia-sins/

View File

@ -3,7 +3,7 @@
PORTNAME= mapserver PORTNAME= mapserver
PORTVERSION= 6.4.0 PORTVERSION= 6.4.0
PORTREVISION= 5 PORTREVISION= 6
CATEGORIES= graphics www geography CATEGORIES= graphics www geography
MASTER_SITES= http://download.osgeo.org/mapserver/ MASTER_SITES= http://download.osgeo.org/mapserver/

View File

@ -3,7 +3,7 @@
PORTNAME= qgis PORTNAME= qgis
PORTVERSION= 2.2.0 PORTVERSION= 2.2.0
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= graphics geography CATEGORIES= graphics geography
MAINTAINER= rhurlin@gwdg.de MAINTAINER= rhurlin@gwdg.de