aboutsummaryrefslogtreecommitdiffstats
path: root/audio/flac123/Makefile
blob: b866b256a862bd9569bf41c6e001aa95cd559cee (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: michael johnson <ahze@ahze.net>
# $FreeBSD$

PORTNAME=   flac123
PORTVERSION=    0.0.11
PORTREVISION=   5
CATEGORIES= audio
MASTER_SITES=   SF/flac-tools/${PORTNAME}/${PORTVERSION}

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

LIB_DEPENDS=    libFLAC.so:${PORTSDIR}/audio/flac \
        libao.so:${PORTSDIR}/audio/libao \
        libpopt.so:${PORTSDIR}/devel/popt

OPTIONS_DEFINE= DOCS

USES=       gmake
GNU_CONFIGURE=  yes

PORTDOCS=   README.remote
PLIST_FILES=    bin/flac123

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

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>