View | Details | Raw Unified | Return to bug 178151
Collapse All | Expand All

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

Return to bug 178151