Line 0
Link Here
|
|
|
1 |
# Created by: lbartoletti <coder@tuxfamily.org> |
2 |
# $FreeBSD$ |
3 |
|
4 |
PORTNAME= librasterlite2 |
5 |
PORTVERSION= 1.0.0 |
6 |
CATEGORIES= graphics geography |
7 |
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ |
8 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-rc0 |
9 |
|
10 |
MAINTAINER= coder@tuxfamily.org |
11 |
COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite |
12 |
|
13 |
LICENSE= MPL GPLv2 LGPL21 |
14 |
LICENSE_COMB= dual |
15 |
|
16 |
LIB_DEPENDS= libspatialite.so:${PORTSDIR}/databases/spatialite \ |
17 |
libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ |
18 |
libgeotiff.so:${PORTSDIR}/graphics/libgeotiff \ |
19 |
libjbig.so:${PORTSDIR}/graphics/jbigkit \ |
20 |
libjpeg.so:${PORTSDIR}/graphics/jpeg \ |
21 |
libpng.so:${PORTSDIR}/graphics/png \ |
22 |
libgif.so:${PORTSDIR}/graphics/giflib \ |
23 |
libgeos.so:${PORTSDIR}/graphics/geos \ |
24 |
libproj.so:${PORTSDIR}/graphics/proj \ |
25 |
libtiff.so:${PORTSDIR}/graphics/tiff \ |
26 |
libfreexl.so:${PORTSDIR}/textproc/freexl \ |
27 |
libwebp.so:${PORTSDIR}/graphics/webp \ |
28 |
libcairo.so:${PORTSDIR}/graphics/cairo \ |
29 |
libcurl.so:${PORTSDIR}/ftp/curl |
30 |
|
31 |
GNU_CONFIGURE= yes |
32 |
USES= gmake iconv pkgconfig libtool |
33 |
USE_LDCONFIG= yes |
34 |
|
35 |
CONFIGURE_ARGS+= LIBLZMA_CFLAGS=-I/usr/include LIBLZMA_LIBS=-I/usr/lib |
36 |
CPPFLAGS+= -I${LOCALBASE}/include |
37 |
LDFLAGS+= -L${LOCALBASE}/lib -L/usr/lib |
38 |
|
39 |
post-patch: |
40 |
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \ |
41 |
${WRKSRC}/Makefile.in |
42 |
|
43 |
.include <bsd.port.mk> |