2009-01-15 02:44:35 +01:00
|
|
|
# New ports collection makefile for: merkaartor
|
|
|
|
# Date created: 9 January 2009
|
|
|
|
# Whom: slaven@rezic.de
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= merkaartor
|
2012-03-16 22:12:17 +01:00
|
|
|
PORTVERSION= 0.18.a
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 3
|
2009-01-15 02:44:35 +01:00
|
|
|
CATEGORIES= astro
|
2012-03-16 22:12:17 +01:00
|
|
|
MASTER_SITES= https://secure.ohos.nl/downloads/
|
2009-01-15 02:44:35 +01:00
|
|
|
|
2011-02-12 13:50:56 +01:00
|
|
|
MAINTAINER= dev2@heesakkers.info
|
2009-01-15 02:44:35 +01:00
|
|
|
COMMENT= An openstreetmap mapping program
|
|
|
|
|
2010-08-19 03:28:22 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-03-16 22:12:17 +01:00
|
|
|
LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal \
|
|
|
|
proj:${PORTSDIR}/graphics/proj
|
2012-01-21 01:47:16 +01:00
|
|
|
|
2009-01-15 02:44:35 +01:00
|
|
|
USE_BZIP2= yes
|
2011-02-12 13:50:56 +01:00
|
|
|
USE_LDCONFIG= yes
|
2009-01-15 02:44:35 +01:00
|
|
|
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= qmake_build uic_build moc_build rcc_build \
|
2009-08-04 23:35:49 +02:00
|
|
|
gui network svg webkit xml imageformats script scripttools
|
2009-12-30 13:59:00 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2012-01-21 01:47:16 +01:00
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/bin/gnome-session)
|
2010-08-19 03:28:22 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2012-01-21 01:47:16 +01:00
|
|
|
.endif
|
2009-12-30 13:59:00 +01:00
|
|
|
|
|
|
|
QMAKEFLAGS= PREFIX=${PREFIX}
|
2009-01-15 02:44:35 +01:00
|
|
|
|
2011-01-19 09:41:03 +01:00
|
|
|
OPTIONS= GEOIMAGE "Enable geotagged images (needs exiv2)" on\
|
|
|
|
ZBAR "Read barcodes from walking papers" off\
|
|
|
|
DEBUG "Enable debugging and verbose logging" off
|
2009-12-30 13:59:00 +01:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2009-01-15 02:44:35 +01:00
|
|
|
|
2009-12-30 13:59:00 +01:00
|
|
|
.if !defined(WITHOUT_GEOIMAGE)
|
|
|
|
QMAKEFLAGS+= GEOIMAGE=1
|
2011-04-12 10:24:29 +02:00
|
|
|
LIB_DEPENDS+= exiv2.10:${PORTSDIR}/graphics/exiv2
|
2009-12-30 13:59:00 +01:00
|
|
|
.endif
|
|
|
|
|
2011-01-19 09:41:03 +01:00
|
|
|
.if defined(WITH_ZBAR)
|
|
|
|
QMAKEFLAGS+= ZBAR=1
|
|
|
|
LIB_DEPENDS+= zbar:${PORTSDIR}/graphics/zbar
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_DEBUG)
|
2012-03-16 22:12:17 +01:00
|
|
|
QMAKEFLAGS+= NODEBUG=1
|
2011-01-19 09:41:03 +01:00
|
|
|
.endif
|
|
|
|
|
2009-12-30 13:59:00 +01:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS=""
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4+= linguist_build
|
2009-12-30 13:59:00 +01:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@cd ${WRKSRC}/translations && lrelease-qt4 ../src/src.pro
|
|
|
|
.endif
|
2009-01-15 02:44:35 +01:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
2009-12-30 13:59:00 +01:00
|
|
|
${QMAKE} ${QMAKEFLAGS}
|
2009-01-15 02:44:35 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|