blob: 2e98fe3acdec183a4aeb5dffe4e29f0136d7c704 (
plain)
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
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: mediainfo
# Date created: 24 April 2008
# Whom: freebsd-ports@evilcode.net
#
# $FreeBSD$
#
PORTNAME= mediainfo
PORTVERSION= 0.7.35
DISTVERSIONSUFFIX= _AllInclusive
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/source/${PORTNAME}/${PORTVERSION}
DISTNAME= mediainfo_${PORTVERSION}${DISTVERSIONSUFFIX}
EXTRACT_SUFX= .7z
MAINTAINER= freebsd-ports@evilcode.net
COMMENT= Supplies technical and tag information about a video or audio file
EXTRACT_DEPENDS= p7zip>=0:${PORTSDIR}/archivers/p7zip
PLIST_FILES= bin/mediainfo
EXTRACT_CMD= 7z
EXTRACT_BEFORE_ARGS= x -o${WRKSRC}
EXTRACT_AFTER_ARGS= >/dev/null
USE_AUTOTOOLS= aclocal:env automake:env autoconf:env libtool:env
WRKSRC= ${WRKDIR}/MediaInfo${DISTVERSIONSUFFIX}
pre-build:
@(cd ${WRKSRC} && ${CP} ./MediaInfo/Project/GNU/CLI/AddThisToRoot_CLI_compile.sh ./CLI_Compile.sh)
do-build:
@(cd ${WRKSRC}/ZenLib/Project/GNU/Library/ && ${SH} ./autogen)
@(cd ${WRKSRC}/MediaInfoLib/Project/GNU/Library/ && ${SH} ./autogen)
@(cd ${WRKSRC}/MediaInfo/Project/GNU/CLI/ && ${SH} ./autogen)
@(cd ${WRKSRC}/ && ${SH} ./CLI_Compile.sh --prefix=${PREFIX})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/MediaInfo/Project/GNU/CLI/mediainfo ${PREFIX}/bin
.include <bsd.port.mk>
|