aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/svg2swf/Makefile41
-rw-r--r--graphics/svg2swf/distinfo1
-rw-r--r--graphics/svg2swf/pkg-comment1
-rw-r--r--graphics/svg2swf/pkg-descr3
-rw-r--r--graphics/svg2swf/pkg-plist1
6 files changed, 48 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 6b56849be02f..bd4829082eb5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -250,6 +250,7 @@
SUBDIR += spigot
SUBDIR += splitmpg
SUBDIR += stamp
+ SUBDIR += svg2swf
SUBDIR += svgalib
SUBDIR += synaesthesia
SUBDIR += tcm
diff --git a/graphics/svg2swf/Makefile b/graphics/svg2swf/Makefile
new file mode 100644
index 000000000000..01fd43f51525
--- /dev/null
+++ b/graphics/svg2swf/Makefile
@@ -0,0 +1,41 @@
+# ex:ts=8
+# New ports collection makefile for: svg2swf
+# Date created: 24 August 2000
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= svg2swf
+PORTVERSION= 0.1.3
+CATEGORIES= graphics python
+MASTER_SITES= http://www.eskimo.com/~robla/svg2swf/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= # empty
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/${PACKAGE_DIR}/sax/saxexts.py:${PORTSDIR}/textproc/py-xml
+
+USE_PYTHON= yes
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VERSION} == "python1.5"
+PACKAGE_DIR= xml
+.else
+PACKAGE_DIR= _xmlplus
+.endif
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
+
+post-patch:
+ @${PERL} -pi -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/svg2swf
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/svg2swf ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/graphics/svg2swf/distinfo b/graphics/svg2swf/distinfo
new file mode 100644
index 000000000000..b73740316810
--- /dev/null
+++ b/graphics/svg2swf/distinfo
@@ -0,0 +1 @@
+MD5 (svg2swf) = 30b4edf2b7da3674214845346dc54555
diff --git a/graphics/svg2swf/pkg-comment b/graphics/svg2swf/pkg-comment
new file mode 100644
index 000000000000..e975451266d1
--- /dev/null
+++ b/graphics/svg2swf/pkg-comment
@@ -0,0 +1 @@
+Convert an SVG file into a Macromedia Flash (swf) file
diff --git a/graphics/svg2swf/pkg-descr b/graphics/svg2swf/pkg-descr
new file mode 100644
index 000000000000..d322755a57a6
--- /dev/null
+++ b/graphics/svg2swf/pkg-descr
@@ -0,0 +1,3 @@
+Convert an SVG file into a Macromedia Flash (swf) file
+
+WWW: http://www.eskimo.com/~robla/svg2swf/
diff --git a/graphics/svg2swf/pkg-plist b/graphics/svg2swf/pkg-plist
new file mode 100644
index 000000000000..b7f3ae62b830
--- /dev/null
+++ b/graphics/svg2swf/pkg-plist
@@ -0,0 +1 @@
+bin/svg2swf