60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# Created by: Slaven Rezic <slaven@rezic.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= merkaartor
|
|
PORTVERSION= 0.18.1
|
|
PORTREVISION= 7
|
|
CATEGORIES= astro
|
|
MASTER_SITES= http://merkaartor.be/attachments/download/301/ \
|
|
https://secure.ohos.nl/downloads/
|
|
|
|
MAINTAINER= dev2@heesakkers.info
|
|
COMMENT= Openstreetmap mapping program
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal \
|
|
libproj.so:${PORTSDIR}/graphics/proj
|
|
|
|
USES= qmake tar:bzip2
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_QT4= uic_build moc_build rcc_build \
|
|
gui network svg webkit xml imageformats script scripttools
|
|
|
|
OPTIONS_DEFINE= DEBUG GEOIMAGE NLS ZBAR
|
|
OPTIONS_DEFAULT= GEOIMAGE
|
|
|
|
GEOIMAGE_DESC= Enable geotagged images (needs exiv2)
|
|
GEOIMAGE_QMAKE_ON= GEOIMAGE=1
|
|
GEOIMAGE_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2
|
|
|
|
ZBAR_DESC= Read barcodes from walking papers (BROKEN)
|
|
ZBAR_QMAKE_ON= ZBAR=1
|
|
ZBAR_LIB_DEPENDS= libzbar.so:${PORTSDIR}/graphics/zbar
|
|
|
|
DEBUG_QMAKE_OFF= NODEBUG=1 RELEASE=1
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MZBAR}
|
|
BROKEN= Does not build with option ZBAR selected
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USE_QT4+= linguist_build
|
|
|
|
pre-build:
|
|
@cd ${WRKSRC}/translations && ${LRELEASE} ../src/src.pro
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/translations
|
|
@(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} "merkaartor_*.qm" \
|
|
${STAGEDIR}${DATADIR}/translations)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|