Update sysutils/cfengine36 to version 3.6.1_1,1
[dports.git] / graphics / sswf / Makefile
1 # Created by: anhot
2 # $FreeBSD$
3
4 PORTNAME=       sswf
5 PORTVERSION=    1.8.4
6 PORTREVISION=   4
7 CATEGORIES=     graphics
8 MASTER_SITES=   SF
9 DISTNAME=       ${PORTNAME}-${PORTVERSION}-src
10
11 MAINTAINER=     ports@FreeBSD.org
12 COMMENT=        Library and script language tool to create Flash movies
13
14 LIB_DEPENDS=    libjpeg.so:${PORTSDIR}/graphics/jpeg \
15                 libfreetype.so:${PORTSDIR}/print/freetype2
16
17 WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
18
19 USES=           bison iconv libtool pkgconfig
20 GNU_CONFIGURE=  yes
21 CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
22 INSTALL_TARGET= install-strip
23 USE_LDCONFIG=   yes
24
25 PLIST_SUB=      VERSION="${PORTVERSION}"
26
27 CPPFLAGS+=      -I${LOCALBASE}/include
28 LIBS+=          -L${LOCALBASE}/lib
29
30 OPTIONS_DEFINE= DEBUG
31
32 .include <bsd.port.options.mk>
33
34 .if ! ${PORT_OPTIONS:MDEBUG}
35 CONFIGURE_ARGS+=        --disable-debug --disable-yydebug
36 .endif
37
38 post-configure:
39         @${REINPLACE_CMD} 's|ICONV_INPUT_CAST||' \
40                 ${WRKSRC}/src/lib/libsswf_tag_header.c++ \
41                 ${WRKSRC}/src/sswf/sswf_lexical.c++
42
43 .include <bsd.port.mk>