2013-03-08 12:32:11 +01:00
|
|
|
# Created by: anhot
|
2005-10-17 10:47:32 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sswf
|
2009-03-21 00:31:14 +01:00
|
|
|
PORTVERSION= 1.8.4
|
2010-02-05 12:46:55 +01:00
|
|
|
PORTREVISION= 2
|
2005-10-17 10:47:32 +02:00
|
|
|
CATEGORIES= graphics
|
2008-08-19 00:08:16 +02:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2005-10-17 10:47:32 +02:00
|
|
|
|
2008-08-06 22:41:05 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-08 18:47:00 +02:00
|
|
|
COMMENT= Library and script language tool to create Flash movies
|
2005-10-17 10:47:32 +02:00
|
|
|
|
2013-10-08 18:47:00 +02:00
|
|
|
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
|
|
libfreetype.so:${PORTSDIR}/print/freetype2
|
2005-10-17 10:47:32 +02:00
|
|
|
|
2008-08-19 00:08:16 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2013-04-27 13:59:28 +02:00
|
|
|
USES= bison pkgconfig iconv
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2008-08-19 00:08:16 +02:00
|
|
|
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
2006-08-31 09:12:37 +02:00
|
|
|
USE_LDCONFIG= yes
|
2008-08-19 00:08:16 +02:00
|
|
|
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-08-19 00:08:16 +02:00
|
|
|
|
2013-10-08 18:47:00 +02:00
|
|
|
OPTIONS_DEFINE= DEBUG
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ! ${PORT_OPTIONS:MDEBUG}
|
2008-08-19 00:08:16 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-debug --disable-yydebug
|
|
|
|
.endif
|
2005-10-17 10:47:32 +02:00
|
|
|
|
2013-10-08 18:47:00 +02:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} 's|ICONV_INPUT_CAST||' \
|
|
|
|
${WRKSRC}/src/lib/libsswf_tag_header.c++ \
|
|
|
|
${WRKSRC}/src/sswf/sswf_lexical.c++
|
|
|
|
|
2005-10-17 10:47:32 +02:00
|
|
|
.include <bsd.port.mk>
|