aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mediainfo/Makefile
blob: 4bbc0929e7dc602553c8fb133a3eedf0048de9d9 (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
34
35
36
# New ports collection makefile for:    mediainfo
# Date created:     24 April 2008
# Whom:         freebsd-ports@evilcode.net
#
# $FreeBSD$
#

PORTNAME=   mediainfo
PORTVERSION=    0.7.50
CATEGORIES= multimedia
MASTER_SITES=   SF/${PORTNAME}/binary/${PORTNAME}/${PORTVERSION}
DISTNAME=   MediaInfo_CLI_${PORTVERSION}_GNU_FromSource

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Supplies technical and tag information about a video or audio file

LICENSE=    GPLv3 LGPL3
LICENSE_COMB=   multi
LICENSE_FILE=   ${WRKSRC}/MediaInfo/License.html

USE_AUTOTOOLS=  aclocal:env automake:env autoconf:env libtool:env
USE_BZIP2=  yes
WRKSRC=     ${WRKDIR}/MediaInfo_CLI_GNU_FromSource

PLIST_FILES=    bin/mediainfo

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>