mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
5d30e949aa
- Trim Makefile header
39 lines
865 B
Makefile
39 lines
865 B
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= splitter
|
|
PORTVERSION= r304
|
|
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
|
|
|
|
PORTDOCS= *
|
|
|
|
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DATADIR}/lib/
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/intro.txt ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|