1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Remove USE_AUTOTOOLS=libtool

- Bump PORTREVISION for graphics/gdal shlib change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-11 11:16:15 +00:00
parent 61a8320e09
commit f1c6ad036e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361524

View File

@ -3,6 +3,7 @@
PORTNAME= gdal
PORTVERSION= 1.11.0
PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= http://download.osgeo.org/gdal/ \
ftp://ftp.remotesensing.org/pub/gdal/ \
@ -17,21 +18,17 @@ LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/bin/swig3.0:${PORTSDIR}/devel/swig30
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal
LIBTOOLFILES= # empty
MAKE_ARGS= USER_DEFS=-fPIC
MAKEFILE= GNUmakefile
USE_AUTOTOOLS= libtool
USE_RUBY= yes
USES= gmake
WRKSRC= ${WRKDIR}/${DISTNAME}/swig/ruby
post-patch:
@${REINPLACE_CMD} -e '/^SWIG = swig/ s|$$|3.0|' ${WRKSRC}/../SWIGmake.base
@${REINPLACE_CMD} -e 's|Config::CONFIG|Rb&|g' ${WRKSRC}/RubyMakefile.mk
do-configure:
@${DO_NADA}
# include/cpl_config.h will only exist after graphics/gdal (build dependency) installed
pre-configure:
@${SED} -e '/^GDAL_ROOT/d' ${DATADIR}/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt