blob: 823f257c46c1e7df9f03f97cbbbadb754d9522a1 (
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
32
33
|
# 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: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>
|