# New ports collection makefile for:	mp4split
# Date created:				May 26, 2010
# Whom:					Marcus Hermansson <bmhermansson@gmail.com>
#
# $FreeBSD: branches/RELENG_9_2_0/multimedia/mp4split/Makefile 323759 2013-07-26 23:20:17Z bapt $
#

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

DEPRECATED=	Broken for more than 6 month
EXPIRATION_DATE=	2013-08-27
BROKEN=		does not fetch

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>
