1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/graphics/mapyrus/Makefile
Baptiste Daroussin 2fa3ecb599 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (final)

Bump revision of graphics/mapyrus because package is modified
2012-12-10 13:54:32 +00:00

53 lines
1.1 KiB
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= mapyrus
PORTVERSION= 1.202
PORTREVISION= 1
CATEGORIES= graphics print java
MASTER_SITES= SF
MAINTAINER= nivit@FreeBSD.org
COMMENT= A software for creating plots of points, lines, etc
LICENSE= LGPL21
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ZIP= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME} pkg-message
SUB_LIST= MAPYRUSJAR=${MAPYRUSJAR}
MAPYRUSJAR= ${PORTNAME}.jar
MAPYRUSDOCS= ${PORTNAME}.pdf
FIND_DATA= -type f -not \( -iname "copying" -or -iname "*.tex" \)
FIND_HERE= userdoc
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${MAPYRUSJAR} ${DATADIR}/${MAPYRUSJAR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${MAPYRUSDOCS} ${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
cd ${WRKDIR} && ${FIND} ${FIND_HERE} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${EXAMPLESDIR} \;
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>