summaryrefslogtreecommitdiff
path: root/multimedia/flvtool++/Makefile
blob: a69545e1d0f53d83c949b27c75b21196b11d9faf (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
# New ports collection makefile for:	flvtool++
# Date created:		2008-08-07
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	flvtool++
PORTVERSION=	1.2.1
CATEGORIES=	multimedia
MASTER_SITES=	http://mirror.facebook.net/facebook/flvtool++/

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

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

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>