summaryrefslogtreecommitdiff
path: root/misc/pdfmap
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-25 12:10:44 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-25 12:10:44 +0000
commit6ce616a3ca86b5d1761d74d471175cf5ffe37463 (patch)
tree8e373165652dc028a74af385eb58ccbfa14558ed /misc/pdfmap
parentback out last "bad" commit (diff)
add pdfmap 1.50
Generate maps in PDF format and place clickable objects on them
Notes
Notes: svn path=/head/; revision=56620
Diffstat (limited to 'misc/pdfmap')
-rw-r--r--misc/pdfmap/Makefile36
-rw-r--r--misc/pdfmap/distinfo1
-rw-r--r--misc/pdfmap/pkg-comment1
-rw-r--r--misc/pdfmap/pkg-descr13
-rw-r--r--misc/pdfmap/pkg-plist18
5 files changed, 69 insertions, 0 deletions
diff --git a/misc/pdfmap/Makefile b/misc/pdfmap/Makefile
new file mode 100644
index 000000000000..65edb1c7e08b
--- /dev/null
+++ b/misc/pdfmap/Makefile
@@ -0,0 +1,36 @@
+# ex:ts=8
+# Ports collection makefile for: pdfmap
+# Date created: Mar 24, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= pdfmap
+PORTVERSION= 1.50
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/jaxml.py:${PORTSDIR}/textproc/py-jaxml \
+ ${PYTHON_SITELIBDIR}/reportlab/pdfgen/canvas.py:${PORTSDIR}/print/py-reportlab \
+ ${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging
+
+USE_PYTHON= yes
+
+SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
+
+do-build:
+ @${SETUP_CMD} build
+
+do-install:
+ @${SETUP_CMD} install
+ @${MV} -f ${PREFIX}/bin/pdfmap.py ${PREFIX}/bin/pdfmap
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/pdfmap/distinfo b/misc/pdfmap/distinfo
new file mode 100644
index 000000000000..3a4954cc73f6
--- /dev/null
+++ b/misc/pdfmap/distinfo
@@ -0,0 +1 @@
+MD5 (pdfmap-1.50.tar.gz) = 7fe8ecec1ab5413d0dd08a8ce734a422
diff --git a/misc/pdfmap/pkg-comment b/misc/pdfmap/pkg-comment
new file mode 100644
index 000000000000..19fc058c387a
--- /dev/null
+++ b/misc/pdfmap/pkg-comment
@@ -0,0 +1 @@
+Generate maps in PDF format and place clickable objects on them
diff --git a/misc/pdfmap/pkg-descr b/misc/pdfmap/pkg-descr
new file mode 100644
index 000000000000..8ecba12b80f2
--- /dev/null
+++ b/misc/pdfmap/pkg-descr
@@ -0,0 +1,13 @@
+A python module to generate maps in PDF format and place clickable
+objects on them.
+
+Object types can be represented either by shapes of different forms and
+colors (fill and contour), or by user provided images. Each object is
+scaled, oriented and positionned on the map.
+
+The more powerful way to use this software is to use its API in your
+own programs, this will allow you to produce multipage documents with
+different sizes, orientations, scales, background, etc... from page to
+page.
+
+WWW: http://pdfmap.sourceforge.net/
diff --git a/misc/pdfmap/pkg-plist b/misc/pdfmap/pkg-plist
new file mode 100644
index 000000000000..52ae1f11c42a
--- /dev/null
+++ b/misc/pdfmap/pkg-plist
@@ -0,0 +1,18 @@
+bin/pdfmap
+%%PORTDOCS%%share/doc/pdfmap/index.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Circle.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Cross.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Diamond.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Ellipse.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Image.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_MapBackground.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_MapObject.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_PDFMap.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_PDFMapCanvas.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_PDFMapError.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Rectangle.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Square.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Star.py.html
+%%PORTDOCS%%share/doc/pdfmap/pdfmap_Triangle.py.html
+%%PORTDOCS%%@dirrm share/doc/pdfmap