aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/svg2swf
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-09-03 22:43:16 +0800
committerijliao <ijliao@FreeBSD.org>2001-09-03 22:43:16 +0800
commit8c8b0ef9e85a4ec96a5a27c91cb802c6be3bdab9 (patch)
tree2d527f8f8f7575ac8abd377fa800d5d20881c91f /graphics/svg2swf
parent8ce8ea4a7eedbae2b8fed34db78a360475163c79 (diff)
downloadfreebsd-ports-gnome-8c8b0ef9e85a4ec96a5a27c91cb802c6be3bdab9.tar.gz
freebsd-ports-gnome-8c8b0ef9e85a4ec96a5a27c91cb802c6be3bdab9.tar.zst
freebsd-ports-gnome-8c8b0ef9e85a4ec96a5a27c91cb802c6be3bdab9.zip
add svg2swf
Convert an SVG file into a Macromedia Flash (swf) file
Diffstat (limited to 'graphics/svg2swf')
-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
5 files changed, 47 insertions, 0 deletions
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