aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2009-03-14 16:21:09 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2009-03-14 16:21:09 +0000
commitbef5688b926f06c5d41ac26afe053e24a85b159c (patch)
tree29d41733901a6224221ab53b287aec6f6b583052 /graphics
parent9de0dd1eedac390aa0e36eaa9a8453e6262930dc (diff)
downloadports-bef5688b926f06c5d41ac26afe053e24a85b159c.tar.gz
ports-bef5688b926f06c5d41ac26afe053e24a85b159c.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/pdf2svg/Makefile23
-rw-r--r--graphics/pdf2svg/distinfo3
-rw-r--r--graphics/pdf2svg/pkg-descr19
4 files changed, 46 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index b987a333dbed..f9fc1f2b5a8a 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -589,6 +589,7 @@
SUBDIR += panoglview
SUBDIR += panomatic
SUBDIR += passepartout
+ SUBDIR += pdf2svg
SUBDIR += pear-Image_3D
SUBDIR += pear-Image_Barcode
SUBDIR += pear-Image_Canvas
diff --git a/graphics/pdf2svg/Makefile b/graphics/pdf2svg/Makefile
new file mode 100644
index 000000000000..3cffcd7b0a4e
--- /dev/null
+++ b/graphics/pdf2svg/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: pdf2svg
+# Date created: Mar 13 2009
+# Whom: martin.dieringer@gmx.de
+#
+# $FreeBSD$
+
+PORTNAME= pdf2svg
+PORTVERSION= 0.2.1
+CATEGORIES= graphics
+MASTER_SITES= http://www.cityinthesky.co.uk/files/
+
+MAINTAINER= martin.dieringer@gmx.de
+COMMENT= Convert PDF to SVG
+
+LIB_DEPENDS= poppler-glib:${PORTSDIR}/graphics/poppler-gtk \
+ cairo:${PORTSDIR}/graphics/cairo \
+ gtk:${PORTSDIR}/x11-toolkits/gtk20
+
+GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/pdf2svg
+
+.include <bsd.port.mk>
diff --git a/graphics/pdf2svg/distinfo b/graphics/pdf2svg/distinfo
new file mode 100644
index 000000000000..d9cdae0a79cf
--- /dev/null
+++ b/graphics/pdf2svg/distinfo
@@ -0,0 +1,3 @@
+MD5 (pdf2svg-0.2.1.tar.gz) = 59b3b9768166f73b77215e95d91f0a9d
+SHA256 (pdf2svg-0.2.1.tar.gz) = 96e6902e0bca6aeb70f3c6621d0d95b346b14c6a0282c12c1e7635f67af0c74b
+SIZE (pdf2svg-0.2.1.tar.gz) = 77601
diff --git a/graphics/pdf2svg/pkg-descr b/graphics/pdf2svg/pkg-descr
new file mode 100644
index 000000000000..43a40073ee47
--- /dev/null
+++ b/graphics/pdf2svg/pkg-descr
@@ -0,0 +1,19 @@
+Under Linux there aren't many freely available vector graphics editors and
+as far as I know there are none that can edit EPS (encapsulated postscript)
+and PDF (portable document format) files. I produce lots of these files in
+my day-to-day work and I would like to be able to edit them. The best vector
+graphics editor I have found so far is Inkscape but it only reads SVG
+files... (Note: the upcoming v0.46 should be able to read PDFs!)
+
+To overcome this problem I have written a very small utility to convert PDF
+files to SVG files using Poppler and Cairo. Version 0.2.1 is available here
+(with modifications by Matthew Flaschen and Ed Grace). This appears to work
+on any PDF document that Poppler can read (try them in XPDF or Evince since
+they both use Poppler).
+
+So now it is possible to easily edit PDF documents with your favourite SVG
+editor! One other alternative would be to use pstoedit but the commercial
+SVG module costs (unsurprisingly!) and the free SVG module is not very good
+at handling text...
+
+WWW: http://www.cityinthesky.co.uk/pdf2svg.html