aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cmp3/Makefile
blob: 5e7e46bd9bbb15227c44afd0aca9cadd505af04f (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
40
41
42
# New ports collection makefile for:    cmp3
# Date created:     10 April 1999
# Whom:         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= sylvio@FreeBSD.org
COMMENT=    An ncurses based frontend to mpg123

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

LICENSE=    GPLv2

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

USE_GMAKE=  yes
GNU_CONFIGURE=  yes

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

.if !defined(WITHOUT_VORBIS)
RUN_DEPENDS+=   ogg123:${PORTSDIR}/audio/vorbis-tools
.endif

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

.include <bsd.port.mk>