- Update to r2724
- Support staging
This commit is contained in:
parent
c7c1853cc9
commit
efcc77ad43
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328581
3 changed files with 15 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mkgmap
|
||||
PORTVERSION= r2648
|
||||
PORTVERSION= r2724
|
||||
CATEGORIES= astro converters java
|
||||
MASTER_SITES= http://www.mkgmap.org.uk/download/ \
|
||||
http://mirror.amdmi3.ru/distfiles/
|
||||
|
@ -10,7 +10,6 @@ MASTER_SITES= http://www.mkgmap.org.uk/download/ \
|
|||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= Convert OpenStreetMap data into a Garmin format
|
||||
|
||||
NO_STAGE= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
USE_JAVA= yes
|
||||
|
@ -18,20 +17,24 @@ JAVA_VERSION= 1.6+
|
|||
|
||||
SUB_FILES= ${PORTNAME}.sh
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFAULT=DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/* ${DATADIR}/lib/
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}/lib/
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}/
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (mkgmap-r2648.tar.gz) = b5f3b8757acee845289a648761dcefedeaa14e4677ed526578e4137bcb9814a7
|
||||
SIZE (mkgmap-r2648.tar.gz) = 2751777
|
||||
SHA256 (mkgmap-r2724.tar.gz) = 7339cacdcd5231b732d8dfbbc4f9f164ac897ce9b5e6a561310198679347456e
|
||||
SIZE (mkgmap-r2724.tar.gz) = 2766415
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
bin/mkgmap
|
||||
%%DATADIR%%/lib/fastutil-6.5.2-mkg.1.jar
|
||||
%%DATADIR%%/lib/osmpbf-1.1.1-754a33af.jar
|
||||
%%DATADIR%%/lib/protobuf-java-2.4.1.jar
|
||||
%%DATADIR%%/mkgmap.jar
|
||||
@dirrm %%DATADIR%%/lib
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in a new issue