aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gdal/Makefile
blob: ebfb29b21a2211f4dc61e5343d92dd324e015c3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    Geospatial Data Abstraction Library
# Date created:     27 Aug 2001
# Whom:         Randall Hopper
#
# $FreeBSD$
#

PORTNAME=   gdal
PORTVERSION=    1.2.0
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.remotesensing.org/pub/gdal/

MAINTAINER= boris@brooknet.com.au
COMMENT=    A translator library for raster geospatial data formats

BUILD_DEPENDS=  ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen

USE_PYTHON= yes
USE_GMAKE=  yes
USE_REINPLACE   =yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libz=internal \
        --with-png=internal \
        --with-libtiff=internal \
        --with-libgeotiff=internal \
        --with-libjpeg=internal \
        --with-libgif=internal \
        --with-python
MAKEFILE=   GNUmakefile
INSTALLS_SHLIB= yes

MAN1=       gdaladdo.1 gdalinfo.1 gdaltindex.1 gdalwarp.1 \
        gdal-config.1 gdal_translate.1 ogrinfo.1 \
        ogrtindex.1 ogr2ogr.1

post-patch:
    @${REINPLACE_CMD} -e 's|6LIBZ|6|' ${WRKSRC}/configure

.include <bsd.port.mk>