Added
Link Here
|
1 |
PORTNAME= imposm3 |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 0.11.1 |
4 |
CATEGORIES= databases geography |
5 |
|
6 |
MAINTAINER= darcy@dbitech.ca |
7 |
COMMENT= Imposm imports OpenStreetMap data into PostGIS |
8 |
WWW= http://imposm.org/docs/imposm3/latest/ |
9 |
|
10 |
LICENSE= APACHE20 |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
13 |
LIB_DEPENDS= libgeos.so:graphics/geos \ |
14 |
libleveldb.so:databases/leveldb |
15 |
|
16 |
USES= go:modules |
17 |
GO_MODULE= github.com/omniscale/imposm3 |
18 |
GO_TARGET= ./cmd/imposm |
19 |
GO_BUILDFLAGS= -ldflags "\ |
20 |
-X github.com/omniscale/imposm3.Version=${DISTVERSION}" |
21 |
|
22 |
PLIST_FILES= bin/imposm |
23 |
|
24 |
PORTEXAMPLES= example-mapping.json example-mapping.yml |
25 |
OPTIONS_DEFINE= EXAMPLES |
26 |
|
27 |
post-install-EXAMPLES-on: |
28 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
29 |
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR}) |
30 |
|
31 |
.include <bsd.port.mk> |