summaryrefslogtreecommitdiff
path: root/graphics/svg2swf
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-09-03 14:43:16 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-09-03 14:43:16 +0000
commita088223262d52d92899d269bf6d632abb4e04150 (patch)
tree794a99932f1be098c9274d13b3b5d40943d05a61 /graphics/svg2swf
parentRegexps should generally be done in post-patch:, not pre-build:. (diff)
add svg2swf
Convert an SVG file into a Macromedia Flash (swf) file
Notes
Notes: svn path=/head/; revision=47367
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