aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmmsctrl/Makefile
blob: 4944bb869a152e6a56f5e27e7656e53579d8ad5c (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
# $FreeBSD$

PORTNAME=   xmmsctrl
PORTVERSION=    1.8
PORTREVISION=   5
CATEGORIES= audio
MASTER_SITES=   http://user.it.uu.se/~adavid/utils/ \
        http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src/ \
        http://ftp.nluug.nl/os/Linux/distr/pdaxrom/src/ \
        http://www.sourcefiles.org/Multimedia/MP3/Tools/Miscellaneous/

MAINTAINER= jhale@FreeBSD.org
COMMENT=    Small utility to control XMMS from the command line

LICENSE=    GPLv2

BUILD_DEPENDS=  xmms:multimedia/xmms
RUN_DEPENDS=    xmms:multimedia/xmms

USES=       gmake
USE_CSTD=   gnu89

PORTDOCS=   Changelog README

OPTIONS_DEFINE= DOCS EXAMPLES

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/xmmsctrl ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    cd ${WRKSRC}/samples && \
        ${INSTALL_DATA} emacs-transcriber twmrc_bindings \
            ${STAGEDIR}${EXAMPLESDIR} && \
        ${INSTALL_SCRIPT} *.sh ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>