aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mapyrus
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-04-28 11:16:02 +0800
committerijliao <ijliao@FreeBSD.org>2006-04-28 11:16:02 +0800
commit9563b51095fc67bf77f5515681a6a1277612ae18 (patch)
tree28c07816a2ba172d4161c008ef5dc35f4483249f /graphics/mapyrus
parentb01c518fbf0f24a6ce607046745e7bf789064536 (diff)
downloadfreebsd-ports-gnome-9563b51095fc67bf77f5515681a6a1277612ae18.tar.gz
freebsd-ports-gnome-9563b51095fc67bf77f5515681a6a1277612ae18.tar.zst
freebsd-ports-gnome-9563b51095fc67bf77f5515681a6a1277612ae18.zip
add mapyrus 0.606
A software for creating plots of points, lines, etc PR: 96317 Submitted by: Nicola Vitale <nivit@email.it>
Diffstat (limited to 'graphics/mapyrus')
-rw-r--r--graphics/mapyrus/Makefile56
-rw-r--r--graphics/mapyrus/distinfo3
-rw-r--r--graphics/mapyrus/files/mapyrus.in3
-rw-r--r--graphics/mapyrus/files/pkg-message.in11
-rw-r--r--graphics/mapyrus/pkg-descr7
-rw-r--r--graphics/mapyrus/pkg-plist115
6 files changed, 195 insertions, 0 deletions
diff --git a/graphics/mapyrus/Makefile b/graphics/mapyrus/Makefile
new file mode 100644
index 000000000000..2730b98452ec
--- /dev/null
+++ b/graphics/mapyrus/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: mapyrus
+# Date created: 2006-04-25
+# Whom: Nicola Vitale <nivit@email.it>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mapyrus
+PORTVERSION= 0.606
+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
+USE_ZIP= yes
+
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+SUB_FILES= ${PORTNAME} pkg-message
+SUB_LIST= JAVA=${JAVA} DATADIR=${DATADIR} 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>
diff --git a/graphics/mapyrus/distinfo b/graphics/mapyrus/distinfo
new file mode 100644
index 000000000000..9369ef63a79b
--- /dev/null
+++ b/graphics/mapyrus/distinfo
@@ -0,0 +1,3 @@
+MD5 (mapyrus-0.606.zip) = f125ad22a10adaf5ac84237757e3f5ea
+SHA256 (mapyrus-0.606.zip) = 05631a77ba43db468b64fe5db8b28df07a6b1403381a20136a9ab5aaa2d1a69f
+SIZE (mapyrus-0.606.zip) = 1457714
diff --git a/graphics/mapyrus/files/mapyrus.in b/graphics/mapyrus/files/mapyrus.in
new file mode 100644
index 000000000000..b6088965ad3c
--- /dev/null
+++ b/graphics/mapyrus/files/mapyrus.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+# $FreeBSD$
+%%JAVA%% -jar %%DATADIR%%/%%MAPYRUSJAR%% $@
diff --git a/graphics/mapyrus/files/pkg-message.in b/graphics/mapyrus/files/pkg-message.in
new file mode 100644
index 000000000000..299fdf8536af
--- /dev/null
+++ b/graphics/mapyrus/files/pkg-message.in
@@ -0,0 +1,11 @@
+****************************************************************
+
+ Start Mapyrus from a terminal window with a command like:
+
+%%JAVA%% -classpath %%DATADIR%%/%%MAPYRUSJAR%% org.mapyrus.Mapyrus myfile.mapyrus
+
+ or simply:
+
+mapyrus myfile.mapyrus
+
+****************************************************************
diff --git a/graphics/mapyrus/pkg-descr b/graphics/mapyrus/pkg-descr
new file mode 100644
index 000000000000..2ce7c801c09d
--- /dev/null
+++ b/graphics/mapyrus/pkg-descr
@@ -0,0 +1,7 @@
+Mapyrus is software for creating plots of points, lines, polygons
+and labels to PostScript (high resolution, up to A0 paper size),
+Portable Document Format (PDF), Scalable Vector Graphics (SVG) format
+and web image output formats.
+
+Author: Simon Chenery <simoc@users.sourceforge.net>
+WWW: http://mapyrus.sourceforge.net
diff --git a/graphics/mapyrus/pkg-plist b/graphics/mapyrus/pkg-plist
new file mode 100644
index 000000000000..4eb6247ad167
--- /dev/null
+++ b/graphics/mapyrus/pkg-plist
@@ -0,0 +1,115 @@
+@comment $FreeBSD$
+bin/mapyrus
+%%PORTDOCS%%%%DOCSDIR%%/mapyrus.pdf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aust_cities.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/australia.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/australia.tfw
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coastline.shp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flag.eps
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/footballpitch.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/histogram.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hotel.dbf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hotel.shp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/locations.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mapview1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mapview2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mapview3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mapview4.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mapyrus.lof
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mapyrus.out
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mapyrus.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/muc_freight.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/piechart.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scalebar.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stations.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/streets.EE
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/symbols.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle4.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle5.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle6.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle7.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialanimate1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialattribute1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialattribute2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets1.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets4.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets5.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets6.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets7.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialdatasets8.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialeps1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialexisting1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialfirst1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialfirst2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialfirst3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialfirst4.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialflowlabel1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialgeoimage1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialgeoimage2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialgeoimage3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialgradient.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialhtmlpage1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialhtmlpage2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialhtmlpage2.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialhtmlpage3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialhttpserver1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialhttpserver2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialhttpserver3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialicon1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialicon2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialicon3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialjts1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialjts2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialjts3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallabels1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallabels2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallabels3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallayout1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallegend1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallegend2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallegend3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines10.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines4.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines5.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines6.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines7.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines8.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutoriallines9.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialpiechart1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialpolygons1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialpolygons2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialpolygons3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialpolygons4.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialprocedures1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialprocedures2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialprocedures3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialprocedures4.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialprotect1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialrand1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialrand2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialrand3.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialscalebar1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialshadow1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialsinkhole.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialtable1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialtable2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialtrans1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialtrans2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialturnpage1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialvar1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialvar2.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorialwordwrap1.mapyrus
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vegetation.dat
+%%DATADIR%%/mapyrus.jar
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+@dirrm %%DATADIR%%