- Add ruby-gdal 1.9.1

This port is the Ruby binding for GDAL (Geospatial Data Abstraction Library).

WWW: http://www.gdal.org/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-06-12 18:24:24 +00:00
parent 783797e774
commit 3871e624e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299132
5 changed files with 51 additions and 0 deletions

View file

@ -864,6 +864,7 @@
SUBDIR += ristretto
SUBDIR += ruby-cairo
SUBDIR += ruby-gd
SUBDIR += ruby-gdal
SUBDIR += ruby-gdk_pixbuf2
SUBDIR += ruby-image_size
SUBDIR += ruby-imlib2

View file

@ -0,0 +1,40 @@
# New ports collection makefile for: ruby-gdal
# Date created: 2012-03-06
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gdal
PORTVERSION= 1.9.1
CATEGORIES= graphics ruby
MASTER_SITES= http://download.osgeo.org/gdal/ \
ftp://ftp.remotesensing.org/pub/gdal/ \
LOCAL/sunpoet
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Ruby binding for GDAL
BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal
LIBTOOLFILES= # empty
MAKE_ARGS= USER_DEFS=-fPIC
MAKEFILE= GNUmakefile
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_RUBY= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/swig/ruby
post-patch:
@${REINPLACE_CMD} -e 's|Config::CONFIG|Rb&|' ${WRKSRC}/RubyMakefile.mk
do-configure:
@${DO_NADA}
pre-build:
${SED} -e '/^GDAL_ROOT/d' ${DATADIR}/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt
${CP} ${LOCALBASE}/include/cpl_config.h ${WRKSRC}/../../port/
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (gdal-1.9.1.tar.gz) = 5b829e91c5d6c6c9af23fe6322e51bae9339e8805d52724cb0ad0b741aef7fa9
SIZE (gdal-1.9.1.tar.gz) = 9487505

View file

@ -0,0 +1,3 @@
This port is the Ruby binding for GDAL (Geospatial Data Abstraction Library).
WWW: http://www.gdal.org/

View file

@ -0,0 +1,5 @@
%%RUBY_SITEARCHLIBDIR%%/gdal/gdal.so
%%RUBY_SITEARCHLIBDIR%%/gdal/gdalconst.so
%%RUBY_SITEARCHLIBDIR%%/gdal/ogr.so
%%RUBY_SITEARCHLIBDIR%%/gdal/osr.so
@dirrm %%RUBY_SITEARCHLIBDIR%%/gdal