b40b76b6b5
PR: ports/195090 Submitted by: Martin Laflamm <martin@marketbridge.com>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: Leonardo Martins <lmartins@nepe.eee.ufg.br>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= geos
|
|
PORTVERSION= 3.4.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics geography
|
|
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
|
|
|
|
OPTIONS_DEFINE= PHP PYTHON RUBY
|
|
OPTIONS_SUB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
USES= gmake libtool tar:bzip2
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
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_USES= 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-patch:
|
|
@${REINPLACE_CMD} -e 's|-lstdc++||' ${WRKSRC}/configure ${WRKSRC}/tests/geostest/Makefile.in ${WRKSRC}/tests/thread/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|