aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sswf/Makefile
blob: c74c35f4c6aef14013156d918946579c6ae3d0f2 (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
# Created by: anhot
# $FreeBSD$

PORTNAME=   sswf
PORTVERSION=    1.8.4
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= ports@FreeBSD.org
COMMENT=    A library and script language tool to create Flash movies

LIB_DEPENDS=    jpeg.11:${PORTSDIR}/graphics/jpeg \
        freetype.9:${PORTSDIR}/print/freetype2

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

USES=       bison pkgconfig iconv
USE_AUTOTOOLS=  libtool
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG=   yes

PLIST_SUB=  VERSION="${PORTVERSION}"

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

.if !defined(WITH_DEBUG)
CONFIGURE_ARGS+=    --disable-debug --disable-yydebug
.endif

NO_STAGE=   yes
.include <bsd.port.mk>