# New ports collection makefile for:	mp4split
# Date created:				May 26, 2010
# Whom:					Marcus Hermansson <bmhermansson@gmail.com>
#
# $FreeBSD: ports/multimedia/mp4split/Makefile,v 1.4 2011/11/11 03:02:28 linimon Exp $
#

PORTNAME=	mp4split
PORTVERSION=	1.0.8
CATEGORIES=	multimedia
MASTER_SITES=	http://smoothstreaming.code-shop.com/download/

MAINTAINER=	bmhermansson@gmail.com
COMMENT=	Converts MP4 files to Fragmented MP4 and creates manifest files

LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-expat
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/mp4split

RESTRICTED=	no-commercial-use

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

.include <bsd.port.pre.mk>

.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
BROKEN=		Does not build on powerpc-9
.endif

.include <bsd.port.post.mk>
