aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cmp3/Makefile
blob: c613c200914d79cc19959ad6738e3dc92fac2834 (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
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
# $FreeBSD$

PORTNAME=   cmp3
PORTVERSION=    2.0.p6
PORTREVISION=   2
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/2.0-pre6
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.p/pre/}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Ncurses based frontend to mpg123

OPTIONS_DEFINE= DOCS VORBIS
OPTIONS_DEFAULT=    VORBIS

RUN_DEPENDS=    mpg123:${PORTSDIR}/audio/mpg123

LICENSE=    GPLv2

WRKSRC=     ${WRKDIR}/${PORTNAME}-kenrevs

USES=       gmake ncurses
GNU_CONFIGURE=  yes
MAKE_ARGS=  install_directory=${STAGEDIR}${PREFIX}/bin

PORTDOCS=   README sample.cmp3rc
PLIST_FILES=    bin/cmp3 bin/rnmp3

VORBIS_RUN_DEPENDS= ogg123:${PORTSDIR}/audio/vorbis-tools

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>