mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Enable python bindings.
- Canonicalize case in Makefile. - Add explicit GNU_CONFIGURE (though USE_AUTOTOOLS=libtool implies it, it's unapparent and confusing). - Sort plist. - Bump portrevision. PR: ports/160406 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> Approved by: Konstantin Saurbier <konstantin@saurbier.net> (maintainer)
This commit is contained in:
parent
de55edec5b
commit
3886ce50a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281732
2 changed files with 29 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= geos
|
PORTNAME= geos
|
||||||
PORTVERSION= 3.3.0
|
PORTVERSION= 3.3.0
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= graphics geography
|
CATEGORIES= graphics geography
|
||||||
MASTER_SITES= http://download.osgeo.org/geos/
|
MASTER_SITES= http://download.osgeo.org/geos/
|
||||||
|
|
||||||
|
@ -17,9 +17,24 @@ COMMENT= GEOS implements all the OpenGIS "Simple Features for SQL"
|
||||||
LICENSE= LGPL21
|
LICENSE= LGPL21
|
||||||
|
|
||||||
USE_AUTOTOOLS= libtool
|
USE_AUTOTOOLS= libtool
|
||||||
USE_BZIP2= YES
|
USE_BZIP2= yes
|
||||||
USE_GMAKE= YES
|
USE_GMAKE= yes
|
||||||
USE_LDCONFIG= YES
|
USE_LDCONFIG= yes
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
|
OPTIONS= PYTHON "Enable python bindings" off
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if defined(WITH_PYTHON)
|
||||||
|
USE_PYTHON= yes
|
||||||
|
CONFIGURE_ARGS+=--enable-python
|
||||||
|
PLIST_SUB+= PYTHON=""
|
||||||
|
BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13
|
||||||
|
PKGNAMESUFFIX= -python
|
||||||
|
.else
|
||||||
|
PLIST_SUB+= PYTHON="@comment "
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${LN} -s ${PREFIX}/lib/libgeos-${PORTVERSION}.so ${PREFIX}/lib/libgeos.so.0
|
@${LN} -s ${PREFIX}/lib/libgeos-${PORTVERSION}.so ${PREFIX}/lib/libgeos.so.0
|
||||||
|
|
|
@ -357,14 +357,23 @@ include/geos/util/math.h
|
||||||
include/geos/version.h
|
include/geos/version.h
|
||||||
include/geos_c.h
|
include/geos_c.h
|
||||||
lib/libgeos-3.3.0.so
|
lib/libgeos-3.3.0.so
|
||||||
lib/libgeos.so.0
|
|
||||||
lib/libgeos.a
|
lib/libgeos.a
|
||||||
lib/libgeos.la
|
lib/libgeos.la
|
||||||
lib/libgeos.so
|
lib/libgeos.so
|
||||||
|
lib/libgeos.so.0
|
||||||
lib/libgeos_c.a
|
lib/libgeos_c.a
|
||||||
lib/libgeos_c.la
|
lib/libgeos_c.la
|
||||||
lib/libgeos_c.so
|
lib/libgeos_c.so
|
||||||
lib/libgeos_c.so.8
|
lib/libgeos_c.so.8
|
||||||
|
%%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
|
||||||
|
%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.pyo
|
||||||
|
%%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/geos
|
||||||
|
%%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%
|
||||||
@dirrm lib/geos
|
@dirrm lib/geos
|
||||||
@dirrm include/geos/util
|
@dirrm include/geos/util
|
||||||
@dirrm include/geos/simplify
|
@dirrm include/geos/simplify
|
||||||
|
|
Loading…
Add table
Reference in a new issue