# New ports collection makefile for:	flvtool++
# Date created:		2008-08-07
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/multimedia/flvtool++/Makefile,v 1.2 2009/03/15 02:14:13 lwhsu Exp $
#

PORTNAME=	flvtool++
PORTVERSION=	1.1.7
CATEGORIES=	multimedia
MASTER_SITES=	http://mirror.facebook.com/facebook/flvtool++/

MAINTAINER=	gslin@gslin.org
COMMENT=	Tool for hinting and manipulating the metadata of FLV files

LIB_DEPENDS=	boost_iostreams:${PORTSDIR}/devel/boost

CFLAGS+=	-I${LOCALBASE}/include/boost
NO_WRKSUBDIR=	yes
PLIST_FILES=	bin/flvtool++
USE_SCONS=	yes
SCONS_BUILDENV=	${SCONS_ENV}

post-patch:
	${REINPLACE_CMD} -e 's|/usr/local/include/boost-1_33_1|${LOCALBASE}/include|' \
		${WRKSRC}/SConscript

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/flvtool++ ${PREFIX}/bin

.include <bsd.port.mk>
