freebsd-ports/audio/xmmsctrl/Makefile
Jason E. Hale a0c756b14a - Convert to new options framework
- Remove indefinite article from COMMENT
- Add LICENSE (GPLv2)
- Trim Makefile header

Approved by:	makc, avilla (mentors, implicit)
Feature safe:	yes
2012-10-20 16:28:14 +00:00

40 lines
1 KiB
Makefile

# $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= jhale@FreeBSD.org
COMMENT= Small utility to control XMMS from the command line
LICENSE= GPLv2
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
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xmmsctrl ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${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>