aboutsummaryrefslogtreecommitdiffstats
path: root/audio/flac123/Makefile
blob: dcfd9a8c2f6ba979ad1b0b98441b03c224774eed (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:    flac123
# Date created:     2004-05-14
# Whom:         michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   flac123
PORTVERSION=    0.0.11
PORTREVISION=   3
CATEGORIES= audio
MASTER_SITES=   SF/flac-tools

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    Command-line player for flac audio files

LIB_DEPENDS=    FLAC.10:${PORTSDIR}/audio/flac \
        ao.3:${PORTSDIR}/audio/libao \
        popt.0:${PORTSDIR}/devel/popt

USE_GMAKE=  yes
GNU_CONFIGURE=  yes

PORTDOCS=   README.remote
PLIST_FILES=    bin/flac123

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
        ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>