diff -urN /usr/ports/graphics/swfmill/Makefile graphics/swfmill/Makefile --- /usr/ports/graphics/swfmill/Makefile 2013-04-22 23:12:22.000000000 +0900 +++ graphics/swfmill/Makefile 2013-04-26 00:00:00.000000000 +0900 @@ -2,26 +2,25 @@ # $FreeBSD: head/graphics/swfmill/Makefile 316230 2013-04-22 13:27:47Z bapt $ PORTNAME= swfmill -PORTVERSION= 0.3.0 -PORTREVISION= 1 +PORTVERSION= 0.3.2 CATEGORIES= graphics MASTER_SITES= http://swfmill.org/releases/ MAINTAINER= ports@FreeBSD.org -COMMENT= xml2swf and swf2xml processor with import functionalities +COMMENT= Tool to generate or decompile Adobe Flash SWF files + +LICENSE= GPLv2 LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - freetype.9:${PORTSDIR}/print/freetype2 + freetype:${PORTSDIR}/print/freetype2 +USES= pkgconfig +USE_GNOME= libxml2 libxslt +USE_ICONV= yes +USE_GMAKE= yes USE_AUTOTOOLS= libtool -USE_GNOME= pkgconfig libxml2 libxslt - -GNU_CONFIGURE= YES -CONFIGURE_ENV+= PKG_CONFIG=${LOCALBASE}/bin/pkg-config - -USE_LDCONFIG= YES +MAKE_JOBS_SAFE= yes -post-patch: - @${REINPLACE_CMD} -e 's|libpng|libpng15|' ${WRKSRC}/configure +PLIST_FILES= bin/swfmill .include diff -urN /usr/ports/graphics/swfmill/distinfo graphics/swfmill/distinfo --- /usr/ports/graphics/swfmill/distinfo 2012-11-08 09:42:26.000000000 +0900 +++ graphics/swfmill/distinfo 2013-04-26 00:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (swfmill-0.3.0.tar.gz) = dc6a8119f3435cebe6c0384760a4703e03c7ba26cf20dd319c6f81ad9e8a236b -SIZE (swfmill-0.3.0.tar.gz) = 453486 +SHA256 (swfmill-0.3.2.tar.gz) = fea57ff9dc534b8e2340ebe64637493672ccb64a9811d95b49bf032c8c7bea1c +SIZE (swfmill-0.3.2.tar.gz) = 1264450 diff -urN /usr/ports/graphics/swfmill/files/patch-readpng.c graphics/swfmill/files/patch-readpng.c --- /usr/ports/graphics/swfmill/files/patch-readpng.c 2012-11-08 09:42:26.000000000 +0900 +++ graphics/swfmill/files/patch-readpng.c 1970-01-01 09:00:00.000000000 +0900 @@ -1,19 +0,0 @@ ---- src/swft/readpng.c.orig 2009-11-30 01:18:53.000000000 +0100 -+++ src/swft/readpng.c 2012-05-05 07:48:08.000000000 +0200 -@@ -51,6 +51,7 @@ - #include - - #include "png.h" /* libpng header; includes zlib.h */ -+#include "zlib.h" - #include "readpng.h" /* typedefs, common macros, public prototypes */ - - /* future versions of libpng will provide this macro: */ -@@ -87,7 +88,7 @@ - * have used slightly more general png_sig_cmp() function instead */ - - fread(sig, 1, 8, infile); -- if (!png_check_sig(sig, 8)) -+ if (png_sig_cmp(sig, 0, 8)) - return 1; /* bad signature */ - - diff -urN /usr/ports/graphics/swfmill/pkg-descr graphics/swfmill/pkg-descr --- /usr/ports/graphics/swfmill/pkg-descr 2012-11-08 09:42:26.000000000 +0900 +++ graphics/swfmill/pkg-descr 2013-04-26 00:00:00.000000000 +0900 @@ -6,12 +6,11 @@ both simple and complex SWF structures. * built around an XSLT/EXSLT processor (libxslt) - -* input and output of the XSLT transformation can be either XML or binary SWF - +* input and output of the XSLT transformation can be either XML or + binary SWF * XSLT commands for importing PNG, JPEG, TTF and SWF, and for mapping SWF ID numbers - -* built-in "simple dialect" to support library creation and building simple SWFs +* built-in "simple dialect" to support library creation and building + simple SWFs WWW: http://swfmill.org/ diff -urN /usr/ports/graphics/swfmill/pkg-plist graphics/swfmill/pkg-plist --- /usr/ports/graphics/swfmill/pkg-plist 2012-11-08 09:42:26.000000000 +0900 +++ graphics/swfmill/pkg-plist 1970-01-01 09:00:00.000000000 +0900 @@ -1,9 +0,0 @@ -bin/swfmill -lib/libswft.so.0 -lib/libswft.so -lib/libswft.la -lib/libswft.a -lib/libswfmillxslt.so.0 -lib/libswfmillxslt.so -lib/libswfmillxslt.la -lib/libswfmillxslt.a