|
Lines 6-15
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= merkaartor |
8 |
PORTNAME= merkaartor |
| 9 |
PORTVERSION= 0.18.a |
9 |
PORTVERSION= 0.18.1 |
| 10 |
PORTREVISION= 3 |
|
|
| 11 |
CATEGORIES= astro |
10 |
CATEGORIES= astro |
| 12 |
MASTER_SITES= https://secure.ohos.nl/downloads/ |
11 |
MASTER_SITES= http://merkaartor.be/attachments/download/301/ \ |
|
|
12 |
https://secure.ohos.nl/downloads/ |
| 13 |
|
13 |
|
| 14 |
MAINTAINER= dev2@heesakkers.info |
14 |
MAINTAINER= dev2@heesakkers.info |
| 15 |
COMMENT= An openstreetmap mapping program |
15 |
COMMENT= An openstreetmap mapping program |
|
Lines 32-58
Link Here
|
| 32 |
|
32 |
|
| 33 |
QMAKEFLAGS= PREFIX=${PREFIX} |
33 |
QMAKEFLAGS= PREFIX=${PREFIX} |
| 34 |
|
34 |
|
| 35 |
OPTIONS= GEOIMAGE "Enable geotagged images (needs exiv2)" on\ |
35 |
OPTIONS_DEFINE= GEOIMAGE ZBAR DEBUG |
| 36 |
ZBAR "Read barcodes from walking papers" off\ |
36 |
GEOIMAGE_DESC= Enable geotagged images (needs exiv2) |
| 37 |
DEBUG "Enable debugging and verbose logging" off |
37 |
ZBAR_DESC= Read barcodes from walking papers |
|
|
38 |
OPTIONS_DEFAULT= GEOIMAGE |
| 38 |
|
39 |
|
| 39 |
.include <bsd.port.options.mk> |
40 |
.include <bsd.port.options.mk> |
| 40 |
|
41 |
|
| 41 |
.if !defined(WITHOUT_GEOIMAGE) |
42 |
.if ${PORT_OPTIONS:MGEOIMAGE} |
| 42 |
QMAKEFLAGS+= GEOIMAGE=1 |
43 |
QMAKEFLAGS+= GEOIMAGE=1 |
| 43 |
LIB_DEPENDS+= exiv2.10:${PORTSDIR}/graphics/exiv2 |
44 |
LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2 |
| 44 |
.endif |
45 |
.endif |
| 45 |
|
46 |
|
| 46 |
.if defined(WITH_ZBAR) |
47 |
.if ${PORT_OPTIONS:MZBAR} |
| 47 |
QMAKEFLAGS+= ZBAR=1 |
48 |
QMAKEFLAGS+= ZBAR=1 |
| 48 |
LIB_DEPENDS+= zbar:${PORTSDIR}/graphics/zbar |
49 |
LIB_DEPENDS+= zbar:${PORTSDIR}/graphics/zbar |
| 49 |
.endif |
50 |
.endif |
| 50 |
|
51 |
|
| 51 |
.if !defined(WITH_DEBUG) |
52 |
.if empty(PORT_OPTIONS:MDEBUG) |
| 52 |
QMAKEFLAGS+= NODEBUG=1 |
53 |
QMAKEFLAGS+= NODEBUG=1 RELEASE=1 |
| 53 |
.endif |
54 |
.endif |
| 54 |
|
55 |
|
| 55 |
.if defined(WITHOUT_NLS) |
56 |
.if empty(PORT_OPTIONS:MNLS) |
| 56 |
PLIST_SUB+= NLS="@comment " |
57 |
PLIST_SUB+= NLS="@comment " |
| 57 |
.else |
58 |
.else |
| 58 |
PLIST_SUB+= NLS="" |
59 |
PLIST_SUB+= NLS="" |