# New ports collection makefile for: mapyrus # Date created: 2006-04-25 # Whom: Nicola Vitale # # $FreeBSD$ # PORTNAME= mapyrus PORTVERSION= 1.104 PORTREVISION= 0 CATEGORIES= graphics print java MASTER_SITES= SF MAINTAINER= nivit@FreeBSD.org COMMENT= A software for creating plots of points, lines, etc NO_BUILD= yes NO_WRKSUBDIR= yes USE_JAVA= yes JAVA_VERSION= 1.5+ USE_ZIP= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} SUB_FILES= ${PORTNAME} pkg-message SUB_LIST= MAPYRUSJAR=${MAPYRUSJAR} LICENSE= LGPL21 MAPYRUSJAR= ${PORTNAME}.jar MAPYRUSDOCS= ${PORTNAME}.pdf FIND_DATA= -type f -not \( -iname "copying" -or -iname "*.tex" \) FIND_HERE= userdoc do-install: ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKDIR}/${MAPYRUSJAR} ${DATADIR}/${MAPYRUSJAR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${MAPYRUSDOCS} ${DOCSDIR}/ .endif .if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR} cd ${WRKDIR} && ${FIND} ${FIND_HERE} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${EXAMPLESDIR} \; .endif post-install: @${CAT} ${PKGMESSAGE} .include