1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/graphics/mapyrus/Makefile
Herve Quiroz bb2467e8b7 Update to 0.607
PR:		98769
Submitted by:	maintainer
2006-06-11 17:41:41 +00:00

58 lines
1.3 KiB
Makefile

# New ports collection makefile for: mapyrus
# Date created: 2006-04-25
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= mapyrus
PORTVERSION= 0.607
CATEGORIES= graphics print java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= nivit@email.it
COMMENT= A software for creating plots of points, lines, etc
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
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 \( -name "copying" -or -name "*.tex" \)
FIND_HERE= userdoc
.if defined(WITH_EXAMPLES)
PLIST_SUB= PORTEXAMPLES=""
.else
PLIST_SUB= PORTEXAMPLES="@comment "
.endif
do-install:
${MKDIR} ${DATADIR}
cd ${WRKDIR} && ${INSTALL_DATA} ${MAPYRUSJAR} ${DATADIR}/${MAPYRUSJAR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKDIR} && ${INSTALL_DATA} ${MAPYRUSDOCS} ${DOCSDIR}/
.endif
.if defined(WITH_EXAMPLES)
${MKDIR} ${EXAMPLESDIR}
cd ${WRKDIR} && ${FIND} ${FIND_HERE} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${EXAMPLESDIR} \;
.endif
post-install:
${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.include <bsd.port.post.mk>