SWF Tools is a collection of SWF manipulation and generation utilities.
From brad.
This commit is contained in:
parent
c1129ad51e
commit
28cec72531
37
multimedia/swftools/Makefile
Normal file
37
multimedia/swftools/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/07/11 19:49:58 kili Exp $
|
||||
|
||||
COMMENT= SWF manipulation and generation utilities
|
||||
|
||||
DISTNAME= swftools-0.9.1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
HOMEPAGE= http://www.swftools.org/
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c fftw3 freetype jpeg m mp3lame stdc++ ungif z
|
||||
|
||||
LIB_DEPENDS= audio/lame \
|
||||
graphics/jpeg \
|
||||
graphics/libungif \
|
||||
math/fftw3
|
||||
|
||||
VMEM_WARNING= Yes
|
||||
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
ac_cv_lib_zzip_zzip_file_open=no \
|
||||
ac_cv_lib_pdf_PDF_open_file=no \
|
||||
ac_cv_header_zzip_lib_h=no \
|
||||
ac_cv_header_pdflib_h=no
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
multimedia/swftools/distinfo
Normal file
5
multimedia/swftools/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (swftools-0.9.1.tar.gz) = ctxKe/XN+Ywo+c+bHY9deg==
|
||||
RMD160 (swftools-0.9.1.tar.gz) = z1e/35LjUjhfV9tVyPOYe++ICPI=
|
||||
SHA1 (swftools-0.9.1.tar.gz) = aqwlD3y+A0wcY47hofovOlVNExE=
|
||||
SHA256 (swftools-0.9.1.tar.gz) = 4ibWq5AB70LLzuryu7DEm76dUh+XU2E+MkA+ZqKFYHs=
|
||||
SIZE (swftools-0.9.1.tar.gz) = 2649789
|
26
multimedia/swftools/patches/patch-Makefile_common_in
Normal file
26
multimedia/swftools/patches/patch-Makefile_common_in
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-Makefile_common_in,v 1.1.1.1 2011/07/11 19:49:58 kili Exp $
|
||||
--- Makefile.common.in.orig Thu Jun 23 23:22:48 2011
|
||||
+++ Makefile.common.in Thu Jun 23 23:28:36 2011
|
||||
@@ -52,6 +52,7 @@ INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
UNINSTALL_DATA = rm -f
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
+DESTDIR =
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
@@ -67,10 +68,10 @@ man1dir = $(mandir)/man1
|
||||
|
||||
# ------------------- defines -------------------------
|
||||
|
||||
-INSTALL_BIN = echo installing $$file to $(bindir);$(INSTALL_PROGRAM) $$file $(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
|
||||
-UNINSTALL_BIN = ff=`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`;echo rm -f $(bindir)/$$ff;rm -f $(bindir)/$$ff
|
||||
-INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(man1dir)/$$inst
|
||||
-UNINSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "rm -f $(man1dir)/$$inst"; rm -f $(man1dir)/$$inst
|
||||
+INSTALL_BIN = echo installing $$file to $(DESTDIR)$(bindir);$(INSTALL_PROGRAM) $$file $(DESTDIR)$(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
|
||||
+UNINSTALL_BIN = ff=`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`;echo rm -f $(DESTDIR)$(bindir)/$$ff;rm -f $(DESTDIR)$(bindir)/$$ff
|
||||
+INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(DESTDIR)$(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(DESTDIR)$(man1dir)/$$inst
|
||||
+UNINSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "rm -f $(DESTDIR)$(man1dir)/$$inst"; rm -f $(DESTDIR)$(man1dir)/$$inst
|
||||
|
||||
#%.o: %.c
|
||||
# $(C) $< -o $@
|
14
multimedia/swftools/patches/patch-avi2swf_Makefile_in
Normal file
14
multimedia/swftools/patches/patch-avi2swf_Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-avi2swf_Makefile_in,v 1.1.1.1 2011/07/11 19:49:58 kili Exp $
|
||||
--- avi2swf/Makefile.in.orig Thu Jun 23 23:35:06 2011
|
||||
+++ avi2swf/Makefile.in Thu Jun 23 23:35:28 2011
|
||||
@@ -25,8 +25,8 @@ avi2swf$(E): avi2swf.$(O) v2swf.$(O) videoreader_avifi
|
||||
$(STRIP) avi2swf$(E)
|
||||
|
||||
install:
|
||||
- $(mkinstalldirs) $(bindir)
|
||||
- $(mkinstalldirs) $(man1dir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||
@file=avi2swf;$(INSTALL_BIN);$(INSTALL_MAN1)
|
||||
|
||||
uninstall:
|
14
multimedia/swftools/patches/patch-src_Makefile_in
Normal file
14
multimedia/swftools/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2011/07/11 19:49:58 kili Exp $
|
||||
--- src/Makefile.in.orig Thu Jun 23 23:19:27 2011
|
||||
+++ src/Makefile.in Thu Jun 23 23:21:04 2011
|
||||
@@ -129,8 +129,8 @@ swfc$(E): parser.$(O) swfc.$(O) swfc-feedback.$(O) swf
|
||||
$(STRIP) $@
|
||||
|
||||
install:
|
||||
- $(mkinstalldirs) $(bindir)
|
||||
- $(mkinstalldirs) $(man1dir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||
@for file in $(programs) $(opt_programs); do if test -f $$file;then $(INSTALL_BIN);$(INSTALL_MAN1);fi;done
|
||||
|
||||
uninstall:
|
48
multimedia/swftools/patches/patch-swfs_Makefile_in
Normal file
48
multimedia/swftools/patches/patch-swfs_Makefile_in
Normal file
@ -0,0 +1,48 @@
|
||||
$OpenBSD: patch-swfs_Makefile_in,v 1.1.1.1 2011/07/11 19:49:58 kili Exp $
|
||||
--- swfs/Makefile.in.orig Thu Jun 23 23:35:39 2011
|
||||
+++ swfs/Makefile.in Thu Jun 23 23:40:03 2011
|
||||
@@ -34,26 +34,26 @@ PreLoaderTemplate.swf: $(programs)
|
||||
./PreLoaderTemplate$(E) || true
|
||||
|
||||
install:
|
||||
- $(mkinstalldirs) $(pkgdatadir)
|
||||
- $(mkinstalldirs) $(pkgdatadir)/swfs
|
||||
- $(INSTALL_DATA) ./simple_viewer.swf $(pkgdatadir)/swfs/simple_viewer.swf
|
||||
- $(INSTALL_DATA) ./keyboard_viewer.swf $(pkgdatadir)/swfs/keyboard_viewer.swf
|
||||
- $(INSTALL_DATA) ./PreLoaderTemplate.swf $(pkgdatadir)/swfs/PreLoaderTemplate.swf
|
||||
- $(INSTALL_DATA) ./tessel_loader.swf $(pkgdatadir)/swfs/tessel_loader.swf
|
||||
- $(INSTALL_DATA) ./swft_loader.swf $(pkgdatadir)/swfs/swft_loader.swf
|
||||
- test -f $(pkgdatadir)/swfs/default_viewer.swf -o -L $(pkgdatadir)/swfs/default_viewer.swf || \
|
||||
- $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf;
|
||||
- test -f $(pkgdatadir)/swfs/default_loader.swf -o -L $(pkgdatadir)/swfs/default_loader.swf || \
|
||||
- $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf;
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/swfs
|
||||
+ $(INSTALL_DATA) ./simple_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/simple_viewer.swf
|
||||
+ $(INSTALL_DATA) ./keyboard_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/keyboard_viewer.swf
|
||||
+ $(INSTALL_DATA) ./PreLoaderTemplate.swf $(DESTDIR)$(pkgdatadir)/swfs/PreLoaderTemplate.swf
|
||||
+ $(INSTALL_DATA) ./tessel_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/tessel_loader.swf
|
||||
+ $(INSTALL_DATA) ./swft_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/swft_loader.swf
|
||||
+ test -f $(DESTDIR)$(pkgdatadir)/swfs/default_viewer.swf -o -L $(DESTDIR)$(pkgdatadir)/swfs/default_viewer.swf || \
|
||||
+ $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/default_viewer.swf;
|
||||
+ test -f $(DESTDIR)$(pkgdatadir)/swfs/default_loader.swf -o -L $(DESTDIR)$(pkgdatadir)/swfs/default_loader.swf || \
|
||||
+ $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/default_loader.swf;
|
||||
|
||||
uninstall:
|
||||
- $(UNINSTALL_DATA) $(pkgdatadir)/swfs/simple_viewer.swf
|
||||
- $(UNINSTALL_DATA) $(pkgdatadir)/swfs/keyboard_viewer.swf
|
||||
- $(UNINSTALL_DATA) $(pkgdatadir)/swfs/PreLoaderTemplate.swf
|
||||
- $(UNINSTALL_DATA) $(pkgdatadir)/swfs/tessel_loader.swf
|
||||
- $(UNINSTALL_DATA) $(pkgdatadir)/swfs/swft_loader.swf
|
||||
- $(UNINSTALL_DATA) $(pkgdatadir)/swfs/default_viewer.swf
|
||||
- $(UNINSTALL_DATA) $(pkgdatadir)/swfs/default_loader.swf
|
||||
+ $(UNINSTALL_DATA) $(DESTDIR)$(pkgdatadir)/swfs/simple_viewer.swf
|
||||
+ $(UNINSTALL_DATA) $(DESTDIR)$(pkgdatadir)/swfs/keyboard_viewer.swf
|
||||
+ $(UNINSTALL_DATA) $(DESTDIR)$(pkgdatadir)/swfs/PreLoaderTemplate.swf
|
||||
+ $(UNINSTALL_DATA) $(DESTDIR)$(pkgdatadir)/swfs/tessel_loader.swf
|
||||
+ $(UNINSTALL_DATA) $(DESTDIR)$(pkgdatadir)/swfs/swft_loader.swf
|
||||
+ $(UNINSTALL_DATA) $(DESTDIR)$(pkgdatadir)/swfs/default_viewer.swf
|
||||
+ $(UNINSTALL_DATA) $(DESTDIR)$(pkgdatadir)/swfs/default_loader.swf
|
||||
|
||||
clean:
|
||||
rm -f *.o *.obj *.lo *.a *.lib *.la gmon.out
|
18
multimedia/swftools/pkg/DESCR
Normal file
18
multimedia/swftools/pkg/DESCR
Normal file
@ -0,0 +1,18 @@
|
||||
SWF Tools is a collection of SWF manipulation and generation utilities.
|
||||
|
||||
At the moment, this includes:
|
||||
- SWFCombine : A tool for inserting SWFs into Wrapper SWFs.
|
||||
- SWFStrings : Scans SWFs for text data.
|
||||
- SWFDump : Prints out various informations about SWFs.
|
||||
- JPEG2SWF : Takes one or more JPEG pictures and generates a SWF slideshow.
|
||||
- PNG2SWF : Like JPEG2SWF, only for PNGs.
|
||||
- GIF2SWF : Converts GIFs to SWF. Also able to handle animated gifs.
|
||||
- WAV2SWF : Converts WAV audio files to SWFs with MP3 Streams, using the
|
||||
L.A.M.E. MP3 encoder.
|
||||
- Font2SWF : Converts font files (TTF, Type1) to SWF.
|
||||
- SWFBBox : Allows to readjust SWF bounding boxes.
|
||||
- SWFC : A tool for creating SWF files from simple script files.
|
||||
- SWFExtract : Allows to extract Movieclips, Sounds, Images etc. from SWF
|
||||
files.
|
||||
- AS3Compile : A standalone ActionScript 3.0 compiler. Mostly compatible
|
||||
with Flex.
|
38
multimedia/swftools/pkg/PLIST
Normal file
38
multimedia/swftools/pkg/PLIST
Normal file
@ -0,0 +1,38 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/07/11 19:49:58 kili Exp $
|
||||
@bin bin/as3compile
|
||||
@bin bin/font2swf
|
||||
@bin bin/gif2swf
|
||||
@bin bin/jpeg2swf
|
||||
@bin bin/pdf2swf
|
||||
@bin bin/png2swf
|
||||
@bin bin/swfbbox
|
||||
@bin bin/swfc
|
||||
@bin bin/swfcombine
|
||||
@bin bin/swfdump
|
||||
@bin bin/swfextract
|
||||
@bin bin/swfrender
|
||||
@bin bin/swfstrings
|
||||
@bin bin/wav2swf
|
||||
@man man/man1/as3compile.1
|
||||
@man man/man1/font2swf.1
|
||||
@man man/man1/gif2swf.1
|
||||
@man man/man1/jpeg2swf.1
|
||||
@man man/man1/pdf2swf.1
|
||||
@man man/man1/png2swf.1
|
||||
@man man/man1/swfbbox.1
|
||||
@man man/man1/swfc.1
|
||||
@man man/man1/swfcombine.1
|
||||
@man man/man1/swfdump.1
|
||||
@man man/man1/swfextract.1
|
||||
@comment man/man1/swfrender.1
|
||||
@man man/man1/swfstrings.1
|
||||
@man man/man1/wav2swf.1
|
||||
share/swftools/
|
||||
share/swftools/swfs/
|
||||
share/swftools/swfs/PreLoaderTemplate.swf
|
||||
share/swftools/swfs/default_loader.swf
|
||||
share/swftools/swfs/default_viewer.swf
|
||||
share/swftools/swfs/keyboard_viewer.swf
|
||||
share/swftools/swfs/simple_viewer.swf
|
||||
share/swftools/swfs/swft_loader.swf
|
||||
share/swftools/swfs/tessel_loader.swf
|
Loading…
Reference in New Issue
Block a user