aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/p5-SWF-Builder/Makefile43
-rw-r--r--graphics/p5-SWF-Builder/distinfo2
-rw-r--r--graphics/p5-SWF-Builder/pkg-descr20
-rw-r--r--graphics/p5-SWF-Builder/pkg-plist22
5 files changed, 88 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 838ad0382bb2..5db243a97064 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -286,6 +286,7 @@
SUBDIR += p5-Imager
SUBDIR += p5-Imlib2
SUBDIR += p5-OpenGL
+ SUBDIR += p5-SWF-Builder
SUBDIR += p5-SWF-File
SUBDIR += p5-VCG
SUBDIR += p5-chart
diff --git a/graphics/p5-SWF-Builder/Makefile b/graphics/p5-SWF-Builder/Makefile
new file mode 100644
index 000000000000..b495ba0e7918
--- /dev/null
+++ b/graphics/p5-SWF-Builder/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: SWF-Builder
+# Date created: 25 December 2003
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= SWF-Builder
+PORTVERSION= 0.04
+CATEGORIES= graphics www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/Y/YS/YSAS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Create SWF movie
+
+BUILD_DEPENDS= ${SITE_PERL}/SWF/Element.pm:${PORTSDIR}/graphics/p5-SWF-File \
+ ${SITE_PERL}/Font/TTF/Font.pm:${PORTSDIR}/x11-fonts/p5-Font-TTF
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= SWF::Builder.3 SWF::Builder::ActionScript.3 \
+ SWF::Builder::Bitmap.3 SWF::Builder::Font.3 \
+ SWF::Builder::Gradient.3 SWF::Builder::MovieClip.3 \
+ SWF::Builder::Shape.3 SWF::Builder::Text.3
+MAN1= asc.plx.1
+
+post-patch:
+ @${FIND} ${WRKSRC} -type f |\
+ ${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//'
+
+post-configure:
+ @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= Port requires perl 5.8.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/p5-SWF-Builder/distinfo b/graphics/p5-SWF-Builder/distinfo
new file mode 100644
index 000000000000..82cab5432844
--- /dev/null
+++ b/graphics/p5-SWF-Builder/distinfo
@@ -0,0 +1,2 @@
+MD5 (SWF-Builder-0.04.tar.gz) = f893c112e5778558ef75a7225dad9400
+SIZE (SWF-Builder-0.04.tar.gz) = 48725
diff --git a/graphics/p5-SWF-Builder/pkg-descr b/graphics/p5-SWF-Builder/pkg-descr
new file mode 100644
index 000000000000..e67dce460fa3
--- /dev/null
+++ b/graphics/p5-SWF-Builder/pkg-descr
@@ -0,0 +1,20 @@
+SWF::Builder - creates Flash(R) movie (SWF) files.
+This package contains:
+
+ SWF::Builder - Main module
+ SWF::Builder::ActionScript - SWF ActionScript object
+ SWF::Builder::ActionScript::Compiler
+ - SWF ActionScript compiler
+ SWF::Builder::Bitmap - SWF Bitmap object
+ SWF::Builder::Bitmap::Lossless::*
+ - Drivers for SWF Bitmap object
+ SWF::Builder::Font - SWF font object
+ SWF::Builder::Gradient - SWF gradient object
+ SWF::Builder::MovieClip - SWF movie clip object
+ SWF::Builder::Shape - SWF shape object
+ SWF::Builder::Text - SWF static text object
+
+WWW: http://search.cpan.org/dist/SWF-Builder/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/graphics/p5-SWF-Builder/pkg-plist b/graphics/p5-SWF-Builder/pkg-plist
new file mode 100644
index 000000000000..23ac19ebf628
--- /dev/null
+++ b/graphics/p5-SWF-Builder/pkg-plist
@@ -0,0 +1,22 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SWF/Builder/.packlist
+bin/asc.plx
+%%SITE_PERL%%/SWF/Builder.pm
+%%SITE_PERL%%/SWF/Builder/ActionScript.pm
+%%SITE_PERL%%/SWF/Builder/ActionScript/Compiler.pm
+%%SITE_PERL%%/SWF/Builder/Bitmap.pm
+%%SITE_PERL%%/SWF/Builder/Bitmap/Lossless/Custom.pm
+%%SITE_PERL%%/SWF/Builder/Bitmap/Lossless/GD.pm
+%%SITE_PERL%%/SWF/Builder/Bitmap/Lossless/ImageMagick.pm
+%%SITE_PERL%%/SWF/Builder/ExElement.pm
+%%SITE_PERL%%/SWF/Builder/Font.pm
+%%SITE_PERL%%/SWF/Builder/Gradient.pm
+%%SITE_PERL%%/SWF/Builder/MovieClip.pm
+%%SITE_PERL%%/SWF/Builder/Shape.pm
+%%SITE_PERL%%/SWF/Builder/Text.pm
+@dirrm %%SITE_PERL%%/SWF/Builder/ActionScript
+@dirrm %%SITE_PERL%%/SWF/Builder/Bitmap/Lossless
+@dirrm %%SITE_PERL%%/SWF/Builder/Bitmap
+@dirrm %%SITE_PERL%%/SWF/Builder
+@unexec rmdir %D/%%SITE_PERL%%/SWF 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SWF/Builder
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/SWF 2>/dev/null || true