aboutsummaryrefslogtreecommitdiff
path: root/graphics/libflash/Makefile
blob: c43f13df447e944d500376c77a711a50c9edb80f (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
# New ports collection makefile for:	FlashLib
# Date created:		10 October 2000
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	libflash
PORTVERSION=	0.4.13
PORTREVISION=	5
CATEGORIES=	graphics
MASTER_SITES=	SF/gplflash/gplflash/${PORTVERSION}
DISTNAME=	gplflash-${PORTVERSION}

MAINTAINER=	llwang@infor.org
COMMENT=	GPL Flash (TM) Library

# Depended on by graphics/flashplayer, www/flashplugin-mozilla, also DEPRECATED
DEPRECATED=	gplflash is no longer supported. Please use gnash instead
EXPIRATION_DATE=	2011-09-30

LIB_DEPENDS=	mad.2:${PORTSDIR}/audio/libmad \
		jpeg.11:${PORTSDIR}/graphics/jpeg

USE_XORG=	x11 xext xkbfile xt
WRKSRC=		${WRKDIR}/${DISTNAME}/lib
USE_AUTOTOOLS=	libtool
PATCH_WRKSRC=	${WRKDIR}/${DISTNAME}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"	\
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_WRKSRC=	${WRKDIR}/${DISTNAME}
USE_BZIP2=	yes
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/swf.h

.include <bsd.port.mk>