freebsd-ports/astro/merkaartor/Makefile
Max Brazhnikov a7f7fde458 Update to 0.16.3
PR:		ports/150757
Submitted by:	Oliver Heesakkers <dev2 at heesakkers.info>
Approved by:	maintainer timeout (three weeks)
2010-10-16 12:57:40 +00:00

53 lines
1.1 KiB
Makefile

# New ports collection makefile for: merkaartor
# Date created: 9 January 2009
# Whom: slaven@rezic.de
#
# $FreeBSD$
#
PORTNAME= merkaartor
PORTVERSION= 0.16.3
CATEGORIES= astro
MASTER_SITES= http://www.merkaartor.be/attachments/download/29/
MAINTAINER= slaven@rezic.de
COMMENT= An openstreetmap mapping program
BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:${PORTSDIR}/devel/boost-libs
LICENSE= GPLv2
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build uic_build moc_build rcc_build \
gui network svg webkit xml imageformats script scripttools
MAKE_JOBS_SAFE= yes
INSTALLS_ICONS= yes
QMAKEFLAGS= PREFIX=${PREFIX}
OPTIONS= GEOIMAGE "Enable geotagged images (needs exiv2)" on
.include <bsd.port.options.mk>
.if !defined(WITHOUT_GEOIMAGE)
QMAKEFLAGS+= GEOIMAGE=1
LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2
.endif
.if defined(WITHOUT_NLS)
PLIST_SUB+= NLS="@comment "
.else
PLIST_SUB+= NLS=""
QT_COMPONENTS+= linguist_build
pre-build:
@cd ${WRKSRC}/translations && lrelease-qt4 ../src/src.pro
.endif
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS}
.include <bsd.port.mk>