# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD: tags/RELEASE_11_0_0/graphics/swfmill/Makefile 412346 2016-04-01 14:00:51Z mat $

PORTNAME=	swfmill
PORTVERSION=	0.3.3
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	http://swfmill.org/releases/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool to generate or decompile Adobe Flash SWF files

LICENSE=	GPLv2

LIB_DEPENDS=	libpng.so:graphics/png \
		libfreetype.so:print/freetype2

USES=		dos2unix iconv gmake pkgconfig libtool
USE_GNOME=	libxml2 libxslt
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
DOS2UNIX_FILES=	src/swft/swft_import_ttf.cpp

PLIST_FILES=	bin/swfmill

.include <bsd.port.mk>
