aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sswf/Makefile
blob: f3b0fa33dcfe6858436af500f7171e8e57ee671e (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
40
# Ports collection makefile for:    sswf
# Date created:             Oct 17, 2005
# Whom:                 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}

USE_GNOME=  pkgconfig
USE_BISON=  build
USE_ICONV=  yes
USE_AUTOTOOLS=  libtool
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
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

.include <bsd.port.mk>