1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +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
PORTVERSION= git20130522
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= astro geography devel
MAINTAINER= amdmi3@FreeBSD.org

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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