--- Makefile (revision 0) +++ Makefile (working copy) @@ -0,0 +1,43 @@ +# Created by: lbartoletti +# $FreeBSD$ + +PORTNAME= librasterlite2 +PORTVERSION= 1.0.0 +CATEGORIES= graphics geography +MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-rc0 + +MAINTAINER= coder@tuxfamily.org +COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite + +LICENSE= MPL GPLv2 LGPL21 +LICENSE_COMB= dual + +LIB_DEPENDS= libspatialite.so:${PORTSDIR}/databases/spatialite \ + libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ + libgeotiff.so:${PORTSDIR}/graphics/libgeotiff \ + libjbig.so:${PORTSDIR}/graphics/jbigkit \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng.so:${PORTSDIR}/graphics/png \ + libgif.so:${PORTSDIR}/graphics/giflib \ + libgeos.so:${PORTSDIR}/graphics/geos \ + libproj.so:${PORTSDIR}/graphics/proj \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libfreexl.so:${PORTSDIR}/textproc/freexl \ + libwebp.so:${PORTSDIR}/graphics/webp \ + libcairo.so:${PORTSDIR}/graphics/cairo \ + libcurl.so:${PORTSDIR}/ftp/curl + +GNU_CONFIGURE= yes +USES= gmake iconv pkgconfig libtool +USE_LDCONFIG= yes + +CONFIGURE_ARGS+= LIBLZMA_CFLAGS=-I/usr/include LIBLZMA_LIBS=-I/usr/lib +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -L/usr/lib + +post-patch: + @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \ + ${WRKSRC}/Makefile.in + +.include --- distinfo (revision 0) +++ distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (librasterlite2-1.0.0-rc0.tar.gz) = 8ddf8e7640ecc2591804a97cc78f54263362e67eb8af3089f014dc058060ef4f +SIZE (librasterlite2-1.0.0-rc0.tar.gz) = 16400254 --- pkg-descr (revision 0) +++ pkg-descr (working copy) @@ -0,0 +1,4 @@ +librasterlite is an open source library that stores and retrieves huge raster +coverages using a SpatiaLite DBMS. + +WWW: https://www.gaia-gis.it/fossil/librasterlite/index --- pkg-plist (revision 0) +++ pkg-plist (working copy) @@ -0,0 +1,16 @@ +bin/rl2tool +bin/wmslite +include/rasterlite2/rasterlite2.h +include/rasterlite2/rl2graphics.h +include/rasterlite2/rl2svg.h +include/rasterlite2/rl2tiff.h +include/rasterlite2/rl2wms.h +include/rasterlite2/sqlite.h +lib/librasterlite2.a +lib/librasterlite2.so +lib/librasterlite2.so.1 +lib/librasterlite2.so.1.0.0 +lib/mod_rasterlite2.so +lib/mod_rasterlite2.so.1 +lib/mod_rasterlite2.so.1.0.0 +libdata/pkgconfig/rasterlite2.pc