summaryrefslogtreecommitdiff
path: root/graphics/sswf/Makefile
blob: 6d381a57e264314b9c8433d303e4b63693aa9e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
PORTNAME=	sswf
PORTVERSION=	1.8.4
PORTREVISION=	6
CATEGORIES=	graphics
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}-${PORTVERSION}-src

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library and script language tool to create Flash movies
WWW=		https://www.m2osw.com/sswf

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfreetype.so:print/freetype2

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USES=		bison iconv jpeg libtool localbase pkgconfig
USE_CXXSTD=	c++14
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

PLIST_SUB=	VERSION="${PORTVERSION}"

OPTIONS_DEFINE=	DEBUG

DEBUG_CONFIGURE_OFF=	--disable-debug --disable-yydebug

BINARY_ALIAS=		freetype-config=true

.include <bsd.port.pre.mk>

.if empty(ICONV_LIB)
CONFIGURE_ARGS+=ac_cv_lib_iconv_libiconv_open=no \
		ac_cv_lib_iconv_iconv_open=no
.endif

.include <bsd.port.post.mk>