- Update to 0.14

- Mark MAKE_JOBS_SAFE
- Add option for GEOIMAGE
- Use QMAKEFLAGS
- Support WITHOUT_NLS

PR:		141691
Submitted by:	myself
Approved by:	maintainer timeout
This commit is contained in:
Dmitry Marakasov 2009-12-30 12:59:00 +00:00
parent 7fa8b75077
commit 5b57ec221b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246883
4 changed files with 55 additions and 38 deletions

View File

@ -6,39 +6,46 @@
#
PORTNAME= merkaartor
PORTVERSION= 0.13.2
PORTREVISION= 2
PORTVERSION= 0.14
CATEGORIES= astro
MASTER_SITES= http://www.merkaartor.org/downloads/source/
MAINTAINER= slaven@rezic.de
COMMENT= An openstreetmap mapping program
LIB_DEPENDS= exiv2:${PORTSDIR}/graphics/exiv2
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build uic_build moc_build rcc_build linguist_build \
QT_COMPONENTS= qmake_build uic_build moc_build rcc_build \
gui network svg webkit xml imageformats script scripttools
MAKE_JOBS_SAFE= yes
QMAKEFLAGS= PREFIX=${PREFIX}
MAN1= merkaartor.1
HAS_CONFIGURE= yes
OPTIONS= GEOIMAGE "Enable geotagged images (needs exiv2)" on
post-patch:
@${REINPLACE_CMD} -e 's|/lrelease|&-qt4|' \
${WRKSRC}/Merkaartor.pro
.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
# Don't ask. If the compiler_TSQM_make_all target is not called before
# calling qmake-qt4, then the install_translations target won't show
# up in the Makefile.
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} PREFIX=${PREFIX}
cd ${WRKSRC} && ${MAKE} compiler_TSQM_make_all
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} PREFIX=${PREFIX}
${QMAKE} ${QMAKEFLAGS}
post-install:
${INSTALL_MAN} ${WRKSRC}/debian/merkaartor.1 ${PREFIX}/man/man1

View File

@ -1,3 +1,3 @@
MD5 (merkaartor-0.13.2.tar.bz2) = 0e6a65d723a7fa29f1e8c921a74d1893
SHA256 (merkaartor-0.13.2.tar.bz2) = bc216c1785f84f1e554e0f457203f6ccb4f675c5871221f8b906b2cf79a0fd54
SIZE (merkaartor-0.13.2.tar.bz2) = 3010664
MD5 (merkaartor-0.14.tar.bz2) = eaba052e083c796fcc9ad8edebc19dec
SHA256 (merkaartor-0.14.tar.bz2) = efc9da3da199ba7899d1c8ebba8092b7d5d23288e108791037f3db487a1819b8
SIZE (merkaartor-0.14.tar.bz2) = 5121445

View File

@ -1,11 +0,0 @@
--- Merkaartor.pro.orig 2009-03-27 16:41:05.000000000 +0100
+++ Merkaartor.pro 2009-04-21 23:41:43.231724554 +0200
@@ -85,7 +85,7 @@
translations/merkaartor_ar.qm \
translations/merkaartor_cs.qm \
translations/merkaartor_de.qm \
- translations/merkaartor_es.ts \
+ translations/merkaartor_es.qm \
translations/merkaartor_fr.qm \
translations/merkaartor_it.qm \
translations/merkaartor_pl.qm \

View File

@ -1,11 +1,32 @@
bin/merkaartor
%%DATADIR%%/translations/merkaartor_ar.qm
%%DATADIR%%/translations/merkaartor_cs.qm
%%DATADIR%%/translations/merkaartor_de.qm
%%DATADIR%%/translations/merkaartor_es.qm
%%DATADIR%%/translations/merkaartor_fr.qm
%%DATADIR%%/translations/merkaartor_it.qm
%%DATADIR%%/translations/merkaartor_pl.qm
%%DATADIR%%/translations/merkaartor_ru.qm
lib/merkaartor/plugins/background/libMYahooBackgroundPlugin.so
lib/merkaartor/plugins/styles/libskulpture.so
share/applications/merkaartor.desktop
share/icons/hicolor/48x48/apps/merkaartor.png
%%DATADIR%%/BookmarksList.xml
%%DATADIR%%/Projections.xml
%%DATADIR%%/TmsServersList.xml
%%DATADIR%%/WmsServersList.xml
%%NLS%%%%DATADIR%%/translations/merkaartor_ar.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_cs.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_de.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_es.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_fr.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_it.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_ja.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_nl.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_pl.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_ru.qm
%%NLS%%%%DATADIR%%/translations/merkaartor_sv.qm
%%DATADIR%%/world_background.osb
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%
@dirrmtry share/icons/hicolor/48x48/apps
@dirrmtry share/icons/hicolor/48x48
@dirrmtry share/icons/hicolor
@dirrmtry share/icons
@dirrmtry share/applications
@dirrm lib/merkaartor/plugins/styles
@dirrm lib/merkaartor/plugins/background
@dirrm lib/merkaartor/plugins
@dirrm lib/merkaartor