fd854dda72
- Update to 0.5 - Export symbols required by x264 - Bump revision of dependent ports PR: ports/180906 Submitted by: Vladimir Kondratiev <wulf mail.mipt.ru>
33 lines
830 B
Makefile
33 lines
830 B
Makefile
# Created by: Pascal Vizeli <pvizeli@yahoo.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mp4box
|
|
DISTVERSION= 0.5.0
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF/gpac/GPAC/GPAC%20${PORTVERSION}
|
|
PKGNAMEPREFIX= gpac-
|
|
DISTNAME= gpac-${DISTVERSION}
|
|
|
|
MAINTAINER= pvizeli@yahoo.de
|
|
COMMENT= Tool for merge mpg4 from Gpac
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libgpac.so:${PORTSDIR}/multimedia/gpac-libgpac
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lgpac
|
|
|
|
WRKSRC= ${WRKDIR}/gpac/applications/mp4box
|
|
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
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mp4box ${STAGEDIR}${PREFIX}/bin/mp4box
|
|
${INSTALL_MAN} ${WRKSRC}/../../doc/man/mp4box.1 \
|
|
${STAGEDIR}${PREFIX}/man/man1/mp4box.1
|
|
|
|
.include <bsd.port.mk>
|