summaryrefslogtreecommitdiff
path: root/graphics/sswf
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-08-31 07:12:37 +0000
committerEric Anholt <anholt@FreeBSD.org>2006-08-31 07:12:37 +0000
commit60e8e65ff890c59f648f7479f5c3c8b3116420b2 (patch)
tree41ba552755c473d095d074b72db81e8e61307ec3 /graphics/sswf
parentUpdate to 2.54. (diff)
Update to 1.7.4.
PR: ports/101946 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
Notes
Notes: svn path=/head/; revision=171704
Diffstat (limited to 'graphics/sswf')
-rw-r--r--graphics/sswf/Makefile8
-rw-r--r--graphics/sswf/distinfo6
-rw-r--r--graphics/sswf/files/patch-include_sswf_libsswf.h19
-rw-r--r--graphics/sswf/pkg-plist87
4 files changed, 107 insertions, 13 deletions
diff --git a/graphics/sswf/Makefile b/graphics/sswf/Makefile
index cfb1d3dce0fa..db6b678e2dbe 100644
--- a/graphics/sswf/Makefile
+++ b/graphics/sswf/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sswf
-PORTVERSION= 1.7.2
-PORTREVISION= 1
+PORTVERSION= 1.7.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sswf
@@ -21,10 +20,11 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
freetype.9:${PORTSDIR}/print/freetype2
WRKSRC= ${WRKDIR}/sswf-${PORTVERSION}
+USE_GCC= 3.4+
USE_ICONV= yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/graphics/sswf/distinfo b/graphics/sswf/distinfo
index babeb3a92809..66a2685f31d6 100644
--- a/graphics/sswf/distinfo
+++ b/graphics/sswf/distinfo
@@ -1,3 +1,3 @@
-MD5 (sswf-1.7.2-src.tar.gz) = a17ea97605b4373ab5eebd6f44e8b844
-SHA256 (sswf-1.7.2-src.tar.gz) = 5c5130d46e89b6a67f9ea511c3df4cdb1f49a7c6b01d2a917ddf2b24507f029b
-SIZE (sswf-1.7.2-src.tar.gz) = 2770842
+MD5 (sswf-1.7.4-src.tar.gz) = 7a82b62b058ed764991af716e8f9a629
+SHA256 (sswf-1.7.4-src.tar.gz) = 109dbd7462699017c872efaef3a7586fb618cf974fea58a7150cd04bd2c72786
+SIZE (sswf-1.7.4-src.tar.gz) = 3106758
diff --git a/graphics/sswf/files/patch-include_sswf_libsswf.h b/graphics/sswf/files/patch-include_sswf_libsswf.h
new file mode 100644
index 000000000000..5c590d72fe20
--- /dev/null
+++ b/graphics/sswf/files/patch-include_sswf_libsswf.h
@@ -0,0 +1,19 @@
+--- include/sswf/libsswf.h.orig Sat Aug 12 23:59:53 2006
++++ include/sswf/libsswf.h Sun Aug 13 00:00:44 2006
+@@ -60,16 +60,6 @@
+
+ #include "sswf/libsswf-config.h"
+
+-/* wint_t is an "equivalent" to wchar_t without being limited to 16 bits as on MS-Windows */
+-#ifndef _MSVC
+-#ifndef __APPLE_CC__
+-#ifndef _WINT_T
+-#define _WINT_T
+-typedef unsigned int wint_t;
+-#endif
+-#endif
+-#endif
+-
+ #ifndef M_PI
+ #define M_PI 3.14159265358979323846
+ #endif
diff --git a/graphics/sswf/pkg-plist b/graphics/sswf/pkg-plist
index cf73bfc06645..1dd1c7af478e 100644
--- a/graphics/sswf/pkg-plist
+++ b/graphics/sswf/pkg-plist
@@ -1,25 +1,53 @@
+bin/asc
bin/ft2sswf
+bin/jpg2swf
bin/sswf
bin/swf_dump
include/sswf/libsswf-config.h
include/sswf/libsswf-version.h
include/sswf/libsswf.h
-lib/libsswf-1.7.2.so
+include/sswf/libsswf_as.h
+include/sswf/libsswf_asas.h
+lib/libsswf-1.7.4.so
lib/libsswf.a
lib/libsswf.la
lib/libsswf.so
+lib/libsswf_as-1.7.4.so
+lib/libsswf_as.a
+lib/libsswf_as.la
+lib/libsswf_as.so
+lib/libsswf_asas-1.7.4.so
+lib/libsswf_asas.a
+lib/libsswf_asas.la
+lib/libsswf_asas.so
+@comment For non-standard prefixes
+@unexec rm -f %D/libdata/ldconfig/sswf 2>/dev/null || true
+%%DATADIR%%/ASC-TODO.txt
%%DATADIR%%/AUTHORS.txt
%%DATADIR%%/CHANGES.txt
+%%DATADIR%%/INSTALL-DEBIAN.txt
%%DATADIR%%/INSTALL-IRIX.txt
%%DATADIR%%/INSTALL-MACOSX.txt
%%DATADIR%%/INSTALL-RPM.txt
%%DATADIR%%/INSTALL-SLACKWARE.txt
+%%DATADIR%%/INSTALL-SRC.txt
%%DATADIR%%/INSTALL.txt
%%DATADIR%%/LICENSE.txt
%%DATADIR%%/LINKS.txt
%%DATADIR%%/NOTES.txt
%%DATADIR%%/TODO.txt
+%%DATADIR%%/misc/Alexis-PGP.key
+%%DATADIR%%/misc/asc.vim
+%%DATADIR%%/misc/package_creation_date.txt
+%%DATADIR%%/misc/sswf.vim
+%%DATADIR%%/misc/xswf.vim
%%DATADIR%%/samples/README.txt
+%%DATADIR%%/samples/asc_logo/logo.html
+%%DATADIR%%/samples/asc_logo/logo.png
+%%DATADIR%%/samples/asc_logo/logo.sswf
+%%DATADIR%%/samples/asc_logo/run
+%%DATADIR%%/samples/asc_logo/run.bat
+%%DATADIR%%/samples/asc_logo/swf_dump-tables.jpg
%%DATADIR%%/samples/check_version/makefile
%%DATADIR%%/samples/check_version/version.c++
%%DATADIR%%/samples/dyn-button/button.html
@@ -108,25 +136,70 @@ lib/libsswf.so
%%DATADIR%%/samples/sun-flower/sun_flower.jpg
%%DATADIR%%/samples/sun-flower/sun_flower.sswf
%%DATADIR%%/samples/sun-flower/sun_flower_mask.tga
-%%DATADIR%%/samples/trail/run
-%%DATADIR%%/samples/trail/run.bat
-%%DATADIR%%/samples/trail/trail.html
-%%DATADIR%%/samples/trail/trail.sswf
%%DATADIR%%/samples/web-site-anim/anim.html
%%DATADIR%%/samples/web-site-anim/anim.sswf
%%DATADIR%%/samples/web-site-anim/run
%%DATADIR%%/samples/web-site-anim/run.bat
%%DATADIR%%/samples/web-site-anim/sswf.wav
%%DATADIR%%/scripts/colors.sswf
+%%DATADIR%%/scripts/extensions/complex.asc
+%%DATADIR%%/scripts/extensions/trace.asc
%%DATADIR%%/scripts/flags.sswf
%%DATADIR%%/scripts/fonts/font-blue_highway-condensed.sswf
%%DATADIR%%/scripts/fonts/font-fotinos.sswf
%%DATADIR%%/scripts/fonts/larabie-font_read_me.txt
+%%DATADIR%%/scripts/global/array.asc
+%%DATADIR%%/scripts/global/as_init.asc
+%%DATADIR%%/scripts/global/boolean.asc
+%%DATADIR%%/scripts/global/date.asc
+%%DATADIR%%/scripts/global/double.asc
+%%DATADIR%%/scripts/global/error.asc
+%%DATADIR%%/scripts/global/extensions.asc
+%%DATADIR%%/scripts/global/function.asc
+%%DATADIR%%/scripts/global/integer.asc
+%%DATADIR%%/scripts/global/math.asc
+%%DATADIR%%/scripts/global/object.asc
+%%DATADIR%%/scripts/global/string.asc
+%%DATADIR%%/scripts/native/accessibility.asc
+%%DATADIR%%/scripts/native/as_init.asc
+%%DATADIR%%/scripts/native/button.asc
+%%DATADIR%%/scripts/native/camera.asc
+%%DATADIR%%/scripts/native/color.asc
+%%DATADIR%%/scripts/native/command.asc
+%%DATADIR%%/scripts/native/custom_actions.asc
+%%DATADIR%%/scripts/native/key.asc
+%%DATADIR%%/scripts/native/loadvars.asc
+%%DATADIR%%/scripts/native/local_connection.asc
+%%DATADIR%%/scripts/native/menu.asc
+%%DATADIR%%/scripts/native/microphone.asc
+%%DATADIR%%/scripts/native/mouse.asc
+%%DATADIR%%/scripts/native/movie_clip.asc
+%%DATADIR%%/scripts/native/movie_clip_loader.asc
+%%DATADIR%%/scripts/native/net_connection.asc
+%%DATADIR%%/scripts/native/net_stream.asc
+%%DATADIR%%/scripts/native/print_job.asc
+%%DATADIR%%/scripts/native/selection.asc
+%%DATADIR%%/scripts/native/shared_object.asc
+%%DATADIR%%/scripts/native/sound.asc
+%%DATADIR%%/scripts/native/stage.asc
+%%DATADIR%%/scripts/native/text_field.asc
+%%DATADIR%%/scripts/native/text_snapshot.asc
+%%DATADIR%%/scripts/native/timer.asc
+%%DATADIR%%/scripts/native/video.asc
+%%DATADIR%%/scripts/native/xml.asc
%%DATADIR%%/scripts/origin.sswf
+%%DATADIR%%/scripts/sswf.rc
+%%DATADIR%%/scripts/system/as_init.asc
+%%DATADIR%%/scripts/system/capabilities.asc
+%%DATADIR%%/scripts/system/security.asc
+%%DATADIR%%/scripts/system/system.asc
+@dirrm %%DATADIR%%/scripts/system
+@dirrm %%DATADIR%%/scripts/native
+@dirrm %%DATADIR%%/scripts/global
@dirrm %%DATADIR%%/scripts/fonts
+@dirrm %%DATADIR%%/scripts/extensions
@dirrm %%DATADIR%%/scripts
@dirrm %%DATADIR%%/samples/web-site-anim
-@dirrm %%DATADIR%%/samples/trail
@dirrm %%DATADIR%%/samples/sun-flower
@dirrm %%DATADIR%%/samples/showfont
@dirrm %%DATADIR%%/samples/scroller
@@ -139,6 +212,8 @@ lib/libsswf.so
@dirrm %%DATADIR%%/samples/functions
@dirrm %%DATADIR%%/samples/dyn-button
@dirrm %%DATADIR%%/samples/check_version
+@dirrm %%DATADIR%%/samples/asc_logo
@dirrm %%DATADIR%%/samples
+@dirrm %%DATADIR%%/misc
@dirrm %%DATADIR%%
@dirrm include/sswf