diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-28 15:42:18 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-28 15:42:18 +0000 |
commit | 68ed39eeefdb013edeec2f589b10d15aca013667 (patch) | |
tree | 10947ec1336b0d9f160d370a739bb76929d9724d /converters/osm2mp | |
parent | 13155c7415341bef8cab0f69e9b62e00050c09b4 (diff) | |
download | ports-68ed39eeefdb013edeec2f589b10d15aca013667.tar.gz ports-68ed39eeefdb013edeec2f589b10d15aca013667.zip |
Notes
Diffstat (limited to 'converters/osm2mp')
-rw-r--r-- | converters/osm2mp/Makefile | 11 | ||||
-rw-r--r-- | converters/osm2mp/pkg-plist | 35 |
2 files changed, 6 insertions, 40 deletions
diff --git a/converters/osm2mp/Makefile b/converters/osm2mp/Makefile index 1a6b582d26ed..fe628adc67fe 100644 --- a/converters/osm2mp/Makefile +++ b/converters/osm2mp/Makefile @@ -27,14 +27,15 @@ NO_BUILD= yes SUB_FILES= pkg-message -NO_STAGE= yes +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * + post-patch: @${REINPLACE_CMD} -e 's|garmin.yml|${DATADIR}/&|' ${WRKSRC}/osm2mp.pl do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/osm2mp.pl ${PREFIX}/bin/osm2mp - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} '*.cmap *.yml *.txt *.typ polish-mp' ${DATADIR}/ - @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} + ${INSTALL_SCRIPT} ${WRKSRC}/osm2mp.pl ${STAGEDIR}${PREFIX}/bin/osm2mp + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} '*.cmap *.yml *.txt *.typ polish-mp' ${STAGEDIR}${DATADIR}/ .include <bsd.port.mk> diff --git a/converters/osm2mp/pkg-plist b/converters/osm2mp/pkg-plist deleted file mode 100644 index d89902306626..000000000000 --- a/converters/osm2mp/pkg-plist +++ /dev/null @@ -1,35 +0,0 @@ -bin/osm2mp -%%DATADIR%%/cp1250.cmap -%%DATADIR%%/cp1251.cmap -%%DATADIR%%/garmin-auto-ru.yml -%%DATADIR%%/garmin-auto.yml -%%DATADIR%%/garmin-ru.yml -%%DATADIR%%/garmin-water.yml -%%DATADIR%%/garmin.yml -%%DATADIR%%/iso-3166-1-a2-en.txt -%%DATADIR%%/iso-3166-1-a2-ru.txt -%%DATADIR%%/osm.typ -%%DATADIR%%/osm_pv.txt -%%DATADIR%%/polish-mp/nodes-common-en.yml -%%DATADIR%%/polish-mp/nodes-common-ru.yml -%%DATADIR%%/polish-mp/nodes-common-univ.yml -%%DATADIR%%/polish-mp/nodes-common.yml -%%DATADIR%%/polish-mp/nodes-garmin-custom-univ.yml -%%DATADIR%%/polish-mp/nodes-garmin-custom.yml -%%DATADIR%%/polish-mp/nodes-garmin-marine.yml -%%DATADIR%%/polish-mp/output-polish.yml -%%DATADIR%%/polish-mp/ways-areas-common-univ.yml -%%DATADIR%%/polish-mp/ways-areas-common.yml -%%DATADIR%%/polish-mp/ways-areas-garmin-custom-univ.yml -%%DATADIR%%/polish-mp/ways-areas-garmin-custom.yml -%%DATADIR%%/polish-mp/ways-lines-common-univ.yml -%%DATADIR%%/polish-mp/ways-lines-common.yml -%%DATADIR%%/polish-mp/ways-lines-garmin-custom-univ.yml -%%DATADIR%%/polish-mp/ways-lines-garmin-custom.yml -%%DATADIR%%/polish-mp/ways-roads-common-univ.yml -%%DATADIR%%/polish-mp/ways-roads-common.yml -%%DATADIR%%/polish-mp/ways-roads-garmin-univ.yml -%%DATADIR%%/polish-mp/ways-roads-garmin.yml -%%DATADIR%%/polish-mp/ways-roads-waterway.yml -@dirrm %%DATADIR%%/polish-mp -@dirrm %%DATADIR%% |