aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmmsctrl/Makefile
blob: 1fce64a01216f21f707df134da6be040689be29b (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
# 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=   2
CATEGORIES= audio
MASTER_SITES=   http://user.it.uu.se/~adavid/utils/

MAINTAINER= jhale@bluebottle.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=   CC="${CC}" 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>