aboutsummaryrefslogtreecommitdiff
path: root/graphics/sswf/Makefile
blob: 14bc992c7535d292c61f624d9a33002a9565ea6b (plain) (blame)
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
# Created by: anhot

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

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfreetype.so:print/freetype2

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

USES=		bison iconv jpeg libtool localbase pkgconfig
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

.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>