aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libgeotiff/Makefile
blob: cf4cdc30d3617e9d5ed658b3ea82c9e0daf9b4dd (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
# New ports collection makefile for:        libgeotiff
# Date created:                 9 December 2005
# Whom:                     Sam Lawrance
#
# $FreeBSD$
#

PORTNAME=   libgeotiff
PORTVERSION=    1.2.5
PORTREVISION=   3
CATEGORIES= graphics
MASTER_SITES=   http://download.osgeo.org/geotiff/libgeotiff/ \
        ftp://ftp.remotesensing.org/geotiff/libgeotiff/

MAINTAINER= sunpoet@sunpoet.net
COMMENT=    Library for reading and writing GeoTIFF information tags

LIB_DEPENDS=    jpeg.11:${PORTSDIR}/graphics/jpeg \
        proj.6:${PORTSDIR}/graphics/proj \
        tiff.4:${PORTSDIR}/graphics/tiff

USE_GNOME=  gnometarget
USE_AUTOTOOLS=  automake:15:env autoconf:262:env
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-jpeg=${LOCALBASE} \
        --with-proj=${LOCALBASE} \
        --with-libtiff=${LOCALBASE}
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
CFLAGS+=    -fPIC
.endif

.include <bsd.port.post.mk>