View | Details | Raw Unified | Return to bug 208684
Collapse All | Expand All

(-)astro/merkaartor/Makefile (-5 / +13 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	merkaartor
4
PORTNAME=	merkaartor
5
PORTVERSION=	0.18.2
5
PORTVERSION=	0.18.2
6
PORTREVISION=	1
6
CATEGORIES=	astro
7
CATEGORIES=	astro
7
8
8
MAINTAINER=	dev2@heesakkers.info
9
MAINTAINER=	dev2@heesakkers.info
Lines 13-25 Link Here
13
14
14
LIB_DEPENDS=	libgdal.so:graphics/gdal \
15
LIB_DEPENDS=	libgdal.so:graphics/gdal \
15
		libproj.so:graphics/proj \
16
		libproj.so:graphics/proj \
16
		libquazip5.so:archivers/quazip-qt5 \
17
		libquazip5.so:archivers/quazip-qt5
17
		libsqlite3.so:databases/sqlite3
18
18
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	openstreetmap
20
GH_ACCOUNT=	openstreetmap
21
GH_PROJECT=	${PORTNAME}
21
GH_PROJECT=	${PORTNAME}
22
USES=		pkgconfig qmake
22
USES=		pkgconfig sqlite:3 qmake
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
24
25
QMAKE_ARGS=	SYSTEM_QUAZIP=1
25
QMAKE_ARGS=	SYSTEM_QUAZIP=1
Lines 27-33 Link Here
27
		concurrent core gui imageformats network printsupport svg \
27
		concurrent core gui imageformats network printsupport svg \
28
		webkit widgets xml
28
		webkit widgets xml
29
29
30
OPTIONS_DEFINE=	DEBUG GEOIMAGE NLS ZBAR
30
OPTIONS_DEFINE=	DEBUG GEOIMAGE NLS PROTOBUF ZBAR
31
OPTIONS_DEFAULT=	GEOIMAGE
31
OPTIONS_DEFAULT=	GEOIMAGE
32
32
33
GEOIMAGE_DESC=	Enable geotagged images (needs exiv2)
33
GEOIMAGE_DESC=	Enable geotagged images (needs exiv2)
Lines 34-39 Link Here
34
GEOIMAGE_QMAKE_ON=	GEOIMAGE=1
34
GEOIMAGE_QMAKE_ON=	GEOIMAGE=1
35
GEOIMAGE_LIB_DEPENDS=	libexiv2.so:graphics/exiv2
35
GEOIMAGE_LIB_DEPENDS=	libexiv2.so:graphics/exiv2
36
36
37
PROTOBUF_DESC=	Protobuf Binary Format support
38
PROTOBUF_QMAKE_ON=	PROTOBUF=1
39
PROTOBUF_LIB_DEPENDS=	libprotobuf.so:devel/protobuf
40
37
ZBAR_DESC=	Read barcodes from walking papers (BROKEN)
41
ZBAR_DESC=	Read barcodes from walking papers (BROKEN)
38
ZBAR_QMAKE_ON=	ZBAR=1
42
ZBAR_QMAKE_ON=	ZBAR=1
39
ZBAR_LIB_DEPENDS=	libzbar.so:graphics/zbar
43
ZBAR_LIB_DEPENDS=	libzbar.so:graphics/zbar
Lines 42-48 Link Here
42
46
43
DEBUG_QMAKE_OFF=	NODEBUG=1 RELEASE=1
47
DEBUG_QMAKE_OFF=	NODEBUG=1 RELEASE=1
44
48
45
NLS_USE=	QT5=linguist_build
49
NLS_USE=	QT5=linguisttools_build
46
50
47
OPTIONS_SUB=	yes
51
OPTIONS_SUB=	yes
48
52
Lines 49-54 Link Here
49
pre-build-NLS-on:
53
pre-build-NLS-on:
50
	@cd ${WRKSRC}/translations && ${LRELEASE} ../src/src.pro
54
	@cd ${WRKSRC}/translations && ${LRELEASE} ../src/src.pro
51
55
56
pre-build-PROTOBUF-on:
57
	@cd ${WRKSRC}/src/ImportExport && ${LOCALBASE}/bin/protoc --cpp_out=. \
58
		fileformat.proto osmformat.proto
59
52
post-install-NLS-on:
60
post-install-NLS-on:
53
	@${MKDIR} ${STAGEDIR}${DATADIR}/translations
61
	@${MKDIR} ${STAGEDIR}${DATADIR}/translations
54
	@(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} "merkaartor_*.qm" \
62
	@(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} "merkaartor_*.qm" \
(-)astro/merkaartor/pkg-descr (-1 / +1 lines)
Lines 2-7 Link Here
2
providing a visually pleasing but performant editing environment for
2
providing a visually pleasing but performant editing environment for
3
free geographical data.
3
free geographical data.
4
4
5
It is based on Qt4.
5
It is based on Qt5.
6
6
7
WWW: http://merkaartor.be/
7
WWW: http://merkaartor.be/

Return to bug 208684