1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/audio/xmmsctrl/Makefile
Jean-Yves Lefort d8dd69a586 Add xmmsctrl.
xmmsctrl is a small utility to control XMMS from the command line. Its
goal is to be used coupled with sh to test XMMS state and perform an
appropriate action, e.g. if playing then pause else play. The interest
of this is to bind keys in a window manager to have control over XMMS
with keys that do play/next/pause, prev, control sound...

WWW: http://user.it.uu.se/~adavid/utils/

PR:		ports/86534
Submitted by:	Jason E. Hale <jhale@bluebottle.com>
2005-10-01 23:44:44 +00:00

38 lines
947 B
Makefile

# New ports collection makefile for: xmmsctrl
# Date created: 22 September 2005
# Whom: Jason E. Hale <jhale@bluebottle.com>
#
# $FreeBSD$
#
PORTNAME= xmmsctrl
PORTVERSION= 1.8
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>