1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/astro/mkgmap-splitter/Makefile
2014-03-28 12:20:16 +00:00

38 lines
931 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= splitter
PORTVERSION= r320
CATEGORIES= astro converters java
MASTER_SITES= http://www.mkgmap.org.uk/download/ \
http://mirror.amdmi3.ru/distfiles/
PKGNAMEPREFIX= mkgmap-
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tile splitter for mkgmap
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
SUB_FILES= ${PORTNAME}.sh
PLIST_FILES= bin/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= *
PORTDATA= *
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${STAGEDIR}${DATADIR}/lib/
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/intro.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>