aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmmsctrl/Makefile
blob: 643b0211462cbf610a99d29d339ea0b1abd1ca5c (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
# New ports collection makefile for:    xmmsctrl
# Date created:             22 September 2005
# Whom:                 Jason E. Hale <jhale@bluebottle.com>
#
# $FreeBSD$
#

PORTNAME=   xmmsctrl
PORTVERSION=    1.8
PORTREVISION=   3
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= bsdkaffee@gmail.com
COMMENT=    A small utility to control XMMS from the command line

BUILD_DEPENDS=  xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS=    xmms:${PORTSDIR}/multimedia/xmms

USE_GMAKE=  yes
MAKE_ENV=   PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS="${PTHREAD_LIBS}"

PORTDOCS=   Changelog README

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/xmmsctrl ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
    ${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/samples && \
        ${INSTALL_DATA} emacs-transcriber twmrc_bindings \
            ${EXAMPLESDIR} && \
        ${INSTALL_SCRIPT} *.sh ${EXAMPLESDIR}

.include <bsd.port.mk>