aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cymbaline/Makefile
blob: 7446f5d6043d952e7ac75d9cb1e9ff704c856dd6 (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:    cymbaline
# Date created:         Jun 20, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cymbaline
PORTVERSION=    1.3b
PORTREVISION=   2
CATEGORIES= audio python
MASTER_SITES=   http://www.silmarill.org/files/

MAINTAINER= novel@FreeBSD.org
COMMENT=    Console frontend for mpg123

RUN_DEPENDS=    mpg123:${PORTSDIR}/audio/mpg123 \
        aumix:${PORTSDIR}/audio/aumix \
        ${PYTHON_SITELIBDIR}/aomodule.so:${PORTSDIR}/audio/py-ao \
        ${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

PLIST_FILES=    bin/cymbaline

post-install:
    @${MV} -f ${PREFIX}/bin/cymbaline.py ${PREFIX}/bin/cymbaline
    @${FIND} ${PYTHON_SITELIBDIR}/cypack ! -type d | \
        ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
    @${FIND} ${PYTHON_SITELIBDIR}/cypack -type d | ${SORT} -r | \
        ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>