2006-04-24 15:05:23 +02:00
|
|
|
# New ports collection makefile for: qgis
|
|
|
|
# Date created: Apr 2006
|
|
|
|
# Whom: Laurent Courty
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qgis
|
|
|
|
PORTVERSION= 0.7.4
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2007-07-22 21:53:52 +02:00
|
|
|
CATEGORIES= graphics geography
|
2007-08-16 02:05:53 +02:00
|
|
|
MASTER_SITES= SF
|
2006-04-24 15:05:23 +02:00
|
|
|
|
2008-11-11 13:03:40 +01:00
|
|
|
MAINTAINER= dyeske@gmail.com
|
2007-08-16 02:05:53 +02:00
|
|
|
COMMENT= Geographical Information System (GIS) data viewer
|
2006-04-24 15:05:23 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= geos:${PORTSDIR}/graphics/geos \
|
|
|
|
proj:${PORTSDIR}/graphics/proj \
|
2008-04-08 15:53:22 +02:00
|
|
|
gsl.12:${PORTSDIR}/math/gsl \
|
2006-04-24 15:05:23 +02:00
|
|
|
gdal:${PORTSDIR}/graphics/gdal
|
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
|
2008-03-09 20:05:23 +01:00
|
|
|
BROKEN= Does not build with geos 3.x
|
2008-12-19 23:00:33 +01:00
|
|
|
DEPRECATED= has been broken for more than 6 months
|
|
|
|
EXPIRATION_DATE=2009-01-19
|
2008-03-09 20:05:23 +01:00
|
|
|
|
2007-02-10 07:05:06 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2006-04-24 15:05:23 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_FREETYPE= yes
|
2007-12-25 23:07:24 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2006-04-24 15:05:23 +02:00
|
|
|
USE_QT_VER= 3
|
|
|
|
USE_SQLITE= yes
|
|
|
|
MAN1= qgis.1
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-qtdir=${QTDIR}
|
2007-08-16 02:05:53 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-04-24 15:05:23 +02:00
|
|
|
|
|
|
|
OPTIONS= GRASS "Enable GRASS support" Off \
|
|
|
|
POSTGIS "Enable PostGIS support" Off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined (QTDIR)
|
2007-02-13 01:16:29 +01:00
|
|
|
QTDIR= ${QT_PREFIX}
|
2006-04-24 15:05:23 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined (GRASS_INST_DIR)
|
|
|
|
GRASS_INST_DIR= grass
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GRASS)
|
|
|
|
CONFIGURE_ARGS+=--with-grass=${LOCALBASE}/${GRASS_INST_DIR}
|
|
|
|
RUN_DEPENDS+=${LOCALBASE}/lib/gdalplugins/gdal_GRASS.so:${PORTSDIR}/graphics/gdal-grass
|
|
|
|
PLIST_SUB+= GRASS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GRASS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_POSTGIS)
|
|
|
|
CONFIGURE_ARGS+=--with-postgresql
|
|
|
|
BUILD_DEPENDS+=${LOCALBASE}/share/postgis:${PORTSDIR}/databases/postgis
|
|
|
|
PLIST_SUB+= PGSQL=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-postgresql
|
|
|
|
PLIST_SUB+= PGSQL="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|