1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/graphics/mapyrus/Makefile
2021-04-06 16:31:07 +02:00

43 lines
1.0 KiB
Makefile

# Created by: Nicola Vitale <nivit@email.it>
PORTNAME= mapyrus
PORTVERSION= 1.802
PORTREVISION= 0
CATEGORIES= graphics print java
MASTER_SITES= SF
MAINTAINER= nivit@FreeBSD.org
COMMENT= Software for creating plots of points, lines, etc
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/userdoc/COPYING
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
MAPYRUSDOCS= ${PORTNAME}.pdf
MAPYRUSJAR= ${PORTNAME}.jar
NO_BUILD= yes
NO_WRKSUBDIR= yes
OPTIONS_DEFINE= DOCS EXAMPLES
SUB_FILES= ${PORTNAME} pkg-message
SUB_LIST= MAPYRUSJAR=${MAPYRUSJAR}
USES= zip
USE_JAVA= yes
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${MAPYRUSJAR} ${STAGEDIR}${DATADIR}/${MAPYRUSJAR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${MAPYRUSDOCS} ${STAGEDIR}${DOCSDIR}/${MAPYRUSDOCS}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/userdoc && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} \
"-type f -not -iname copying -and -not -iname *\.tex"
.include <bsd.port.mk>