2013-09-20 22:57:48 +02:00
|
|
|
# Created by: Pascal Vizeli <pvizeli@yahoo.de>
|
2007-02-06 13:33:43 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mp4box
|
2013-10-31 22:33:48 +01:00
|
|
|
DISTVERSION= 0.5.0
|
2007-02-06 13:33:43 +01:00
|
|
|
CATEGORIES= multimedia
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/gpac/GPAC/GPAC%20${PORTVERSION}
|
2007-07-29 02:24:53 +02:00
|
|
|
PKGNAMEPREFIX= gpac-
|
2007-02-06 13:33:43 +01:00
|
|
|
DISTNAME= gpac-${DISTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= pvizeli@yahoo.de
|
2013-10-31 22:33:48 +01:00
|
|
|
COMMENT= Tool for merge mpg4 from Gpac
|
2007-02-06 13:33:43 +01:00
|
|
|
|
2013-10-31 22:33:48 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
|
|
|
LIB_DEPENDS= libgpac.so:${PORTSDIR}/multimedia/gpac-libgpac
|
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lgpac
|
2007-02-06 13:33:43 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/gpac/applications/mp4box
|
2013-10-31 22:33:48 +01:00
|
|
|
PLIST_FILES= bin/mp4box man/man1/mp4box.1.gz
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o mp4box \
|
|
|
|
filedump.c fileimport.c live.c main.c
|
2007-02-06 13:33:43 +01:00
|
|
|
|
2013-10-31 22:33:48 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mp4box ${STAGEDIR}${PREFIX}/bin/mp4box
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/../../doc/man/mp4box.1 \
|
|
|
|
${STAGEDIR}${PREFIX}/man/man1/mp4box.1
|
2009-02-27 13:27:38 +01:00
|
|
|
|
2007-02-06 13:33:43 +01:00
|
|
|
.include <bsd.port.mk>
|