2014-03-30 17:43:49 +02:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
2006-04-28 05:16:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mapyrus
|
2015-02-02 23:56:46 +01:00
|
|
|
PORTVERSION= 1.401
|
|
|
|
PORTREVISION= 0
|
2006-04-28 05:16:02 +02:00
|
|
|
CATEGORIES= graphics print java
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF
|
2006-04-28 05:16:02 +02:00
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2014-03-30 17:43:49 +02:00
|
|
|
COMMENT= Software for creating plots of points, lines, etc
|
2006-04-28 05:16:02 +02:00
|
|
|
|
2011-08-10 22:26:26 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2015-02-02 23:56:46 +01:00
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
2006-04-28 05:16:02 +02:00
|
|
|
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2006-04-28 05:16:02 +02:00
|
|
|
|
|
|
|
MAPYRUSDOCS= ${PORTNAME}.pdf
|
2015-02-02 23:56:46 +01:00
|
|
|
MAPYRUSJAR= ${PORTNAME}.jar
|
2006-04-28 05:16:02 +02:00
|
|
|
|
2015-02-02 23:56:46 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
2006-04-28 05:16:02 +02:00
|
|
|
|
2012-07-05 22:30:09 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2015-02-02 23:56:46 +01:00
|
|
|
SUB_FILES= ${PORTNAME} pkg-message
|
|
|
|
SUB_LIST= MAPYRUSJAR=${MAPYRUSJAR}
|
|
|
|
|
|
|
|
USES= zip
|
|
|
|
USE_JAVA= yes
|
2012-07-05 22:30:09 +02:00
|
|
|
|
2006-04-28 05:16:02 +02:00
|
|
|
do-install:
|
2014-03-30 17:43:49 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2015-11-05 13:36:25 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${MAPYRUSJAR} ${STAGEDIR}${DATADIR}/${MAPYRUSJAR}
|
2014-03-30 17:43:49 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2015-11-05 13:36:25 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${MAPYRUSDOCS} ${STAGEDIR}${DOCSDIR}/${MAPYRUSDOCS}
|
2014-03-30 17:43:49 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2015-11-05 13:36:25 +01:00
|
|
|
cd ${WRKSRC}/userdoc && \
|
2015-02-02 23:56:46 +01:00
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} \
|
|
|
|
"-type f -not -iname copying -and -not -iname *\.tex"
|
2006-04-28 05:16:02 +02:00
|
|
|
|
2007-08-24 15:26:13 +02:00
|
|
|
.include <bsd.port.mk>
|