summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-09-03 14:43:16 +0000
committerijliao <ijliao@FreeBSD.org>2001-09-03 14:43:16 +0000
commit8c8b0ef9e85a4ec96a5a27c91cb802c6be3bdab9 (patch)
tree2d527f8f8f7575ac8abd377fa800d5d20881c91f /graphics
parent8ce8ea4a7eedbae2b8fed34db78a360475163c79 (diff)
downloadFreeBSD-ports-8c8b0ef9e85a4ec96a5a27c91cb802c6be3bdab9.zip
FreeBSD-ports-8c8b0ef9e85a4ec96a5a27c91cb802c6be3bdab9.tar.gz
add svg2swf
Convert an SVG file into a Macromedia Flash (swf) file
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 6b56849..bd48290 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 0000000..01fd43f
--- /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 0000000..b737403
--- /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 0000000..e975451
--- /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 0000000..d322755
--- /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 0000000..b7f3ae6
--- /dev/null
+++ b/graphics/svg2swf/pkg-plist
@@ -0,0 +1 @@
+bin/svg2swf
OpenPOWER on IntegriCloud