From a088223262d52d92899d269bf6d632abb4e04150 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 3 Sep 2001 14:43:16 +0000 Subject: [PATCH] add svg2swf Convert an SVG file into a Macromedia Flash (swf) file --- graphics/Makefile | 1 + graphics/svg2swf/Makefile | 41 ++++++++++++++++++++++++++++++++++++ graphics/svg2swf/distinfo | 1 + graphics/svg2swf/pkg-comment | 1 + graphics/svg2swf/pkg-descr | 3 +++ graphics/svg2swf/pkg-plist | 1 + 6 files changed, 48 insertions(+) create mode 100644 graphics/svg2swf/Makefile create mode 100644 graphics/svg2swf/distinfo create mode 100644 graphics/svg2swf/pkg-comment create mode 100644 graphics/svg2swf/pkg-descr create mode 100644 graphics/svg2swf/pkg-plist 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 + +.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 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