Lines 1-9
Link Here
|
1 |
# Created by: Randall Hopper |
1 |
# Created by: Randall Hopper |
2 |
# $FreeBSD: graphics/gdal/Makefile 329346 2013-10-04 17:20:18Z sunpoet $ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= gdal |
4 |
PORTNAME= gdal |
5 |
PORTVERSION= 1.10.1 |
5 |
PORTVERSION= 1.10.1 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= graphics geography |
7 |
CATEGORIES= graphics geography |
8 |
MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \ |
8 |
MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \ |
9 |
ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \ |
9 |
ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \ |
Lines 14-23
Link Here
|
14 |
|
14 |
|
15 |
LICENSE= MIT |
15 |
LICENSE= MIT |
16 |
|
16 |
|
17 |
OPTIONS_DEFINE= CFITSIO CURL ECW EXPAT GEOS GEOTIFF GIF GTA HDF5 ICONV JASPER \ |
17 |
OPTIONS_DEFINE= ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GEOTIFF GIF GTA HDF5 ICONV JASPER \ |
18 |
JPEG KML LIBXML2 MYSQL NETCDF ODBC PCRE PGSQL PNG POPPLER PROJ \ |
18 |
JPEG KML LIBXML2 MYSQL NETCDF ODBC PCRE PGSQL PNG PROJ \ |
19 |
SQLITE TIFF WEBP XERCES |
19 |
SQLITE TIFF WEBP XERCES |
|
|
20 |
OPTIONS_RADIO= PDF |
21 |
OPTIONS_RADIO_PDF= POPPLER PODOFO |
20 |
OPTIONS_DEFAULT=GEOTIFF GIF JASPER JPEG PNG TIFF |
22 |
OPTIONS_DEFAULT=GEOTIFF GIF JASPER JPEG PNG TIFF |
|
|
23 |
PODOFO_DESC=PDF file support |
24 |
FREEXL_DESC=Excel (.xls) file support |
25 |
ARMADILLO_DESC=Armadillo support for faster TPS transform computation |
21 |
PCRE_DESC= Regular expression support for SQLite |
26 |
PCRE_DESC= Regular expression support for SQLite |
22 |
|
27 |
|
23 |
CFLAGS+= -fPIC |
28 |
CFLAGS+= -fPIC |
Lines 31-36
Link Here
|
31 |
USE_LDCONFIG= yes |
36 |
USE_LDCONFIG= yes |
32 |
USES= gmake |
37 |
USES= gmake |
33 |
|
38 |
|
|
|
39 |
ARMADILLO_CONFIGURE_OFF= --with-armadillo=no |
40 |
ARMADILLO_CONFIGURE_ON= --with-armadillo=${LOCALBASE} |
41 |
ARMADILLO_LIB_DEPENDS= libarmadillo.so:${PORTSDIR}/math/armadillo |
34 |
CFITSIO_CONFIGURE_OFF= --with-cfitsio=no |
42 |
CFITSIO_CONFIGURE_OFF= --with-cfitsio=no |
35 |
CFITSIO_CONFIGURE_ON= --with-cfitsio=${LOCALBASE} |
43 |
CFITSIO_CONFIGURE_ON= --with-cfitsio=${LOCALBASE} |
36 |
CFITSIO_LIB_DEPENDS= libcfitsio.so:${PORTSDIR}/astro/cfitsio |
44 |
CFITSIO_LIB_DEPENDS= libcfitsio.so:${PORTSDIR}/astro/cfitsio |
Lines 43-48
Link Here
|
43 |
EXPAT_CONFIGURE_OFF= --with-expat=no |
51 |
EXPAT_CONFIGURE_OFF= --with-expat=no |
44 |
EXPAT_CONFIGURE_ON= --with-expat=${LOCALBASE} |
52 |
EXPAT_CONFIGURE_ON= --with-expat=${LOCALBASE} |
45 |
EXPAT_LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 |
53 |
EXPAT_LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 |
|
|
54 |
FREEXL_CONFIGURE_OFF= --with-freexl=no |
55 |
FREEXL_CONFIGURE_ON= --with-freexl=${LOCALBASE} |
56 |
FREEXL_LIB_DEPENDS= libfreexl.so:${PORTSDIR}/textproc/freexl |
46 |
GEOS_CONFIGURE_OFF= --with-geos=no |
57 |
GEOS_CONFIGURE_OFF= --with-geos=no |
47 |
GEOS_CONFIGURE_ON= --with-geos=${LOCALBASE}/bin/geos-config |
58 |
GEOS_CONFIGURE_ON= --with-geos=${LOCALBASE}/bin/geos-config |
48 |
GEOS_LIB_DEPENDS= libgeos.so:${PORTSDIR}/graphics/geos |
59 |
GEOS_LIB_DEPENDS= libgeos.so:${PORTSDIR}/graphics/geos |
Lines 60-66
Link Here
|
60 |
HDF5_LIB_DEPENDS= libhdf5.so.7:${PORTSDIR}/science/hdf5-18 |
71 |
HDF5_LIB_DEPENDS= libhdf5.so.7:${PORTSDIR}/science/hdf5-18 |
61 |
ICONV_CONFIGURE_OFF= --with-libiconv-prefix=no |
72 |
ICONV_CONFIGURE_OFF= --with-libiconv-prefix=no |
62 |
ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} |
73 |
ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} |
63 |
ICONV_LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB} |
74 |
ICONV_LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB} |
64 |
ICONV_USES= iconv |
75 |
ICONV_USES= iconv |
65 |
JASPER_CONFIGURE_OFF= --with-jasper=no |
76 |
JASPER_CONFIGURE_OFF= --with-jasper=no |
66 |
JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE} |
77 |
JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE} |
Lines 92-97
Link Here
|
92 |
PNG_CONFIGURE_OFF= --with-png=internal |
103 |
PNG_CONFIGURE_OFF= --with-png=internal |
93 |
PNG_CONFIGURE_ON= --with-png=${LOCALBASE} |
104 |
PNG_CONFIGURE_ON= --with-png=${LOCALBASE} |
94 |
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png |
105 |
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png |
|
|
106 |
PODOFO_CONFIGURE_OFF= --with-podofo=no |
107 |
PODOFO_CONFIGURE_ON= --with-podofo=${LOCALBASE} |
108 |
PODOFO_LIB_DEPENDS= libpodofo.so:${PORTSDIR}/graphics/podofo |
95 |
POPPLER_CONFIGURE_OFF= --with-poppler=no |
109 |
POPPLER_CONFIGURE_OFF= --with-poppler=no |
96 |
POPPLER_CONFIGURE_ON= --with-poppler=${LOCALBASE} |
110 |
POPPLER_CONFIGURE_ON= --with-poppler=${LOCALBASE} |
97 |
POPPLER_LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler |
111 |
POPPLER_LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler |