aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mkclean/Makefile
blob: 4c34157c01c4b6c90072d0d602dae72368cf6334 (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
37
38
39
# New ports collection makefile for:    mkclean
# Date created:     2010-10-24
# Whom:         Peter Johnson <johnson.peter@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   mkclean
PORTVERSION=    0.6.0
CATEGORIES= multimedia
MASTER_SITES=   SF/matroska/${PORTNAME}

MAINTAINER= johnson.peter@gmail.com
COMMENT=    Clean and optimize Matroska and WebM files

USE_BZIP2=  yes
USE_ICONV=  yes
USE_GMAKE=  yes

HAS_CONFIGURE=  yes
MAKE_ENV+=  CCFLAGS="-I${LOCALBASE}/include" \
        LFLAGS="-L${LOCALBASE}/lib -liconv"

MAKEFILE=   GNUmakefile

PLIST_FILES=    bin/mkclean bin/mkWDclean bin/mkvtree

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000
BROKEN=     does not compile on 6.X
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/release/*/mkclean ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/release/*/mkWDclean ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/release/*/mkvtree ${PREFIX}/bin

.include <bsd.port.post.mk>