freebsd-ports/audio/ctronome/Makefile
Dmitry Marakasov 46a6feb7de A very simple yet powerful programmable console metronome.
WWW:  http://ctronome.kign.org/

PR:		149754
Submitted by:	Charles Mercadal <mercadal@diablonet.net>
2010-08-19 01:29:41 +00:00

26 lines
741 B
Makefile

# New ports collection makefile for: ctronome
# Date created: 11 August 2010
# Whom: Charles Mercadal <mercadal@diablonet.net>
#
# $FreeBSD$
#
PORTNAME= ctronome
PORTVERSION= 0.5.3
CATEGORIES= audio
MASTER_SITES= http://ctronome.kign.org/source/
MAINTAINER= mercadal@diablonet.net
COMMENT= A programmable console-based metronome
post-patch:
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|' ${WRKSRC}/ctronome.h ${WRKSRC}/dsp.c
@${REINPLACE_CMD} -e 's|/usr/share/ctronome|${DATADIR}|' ${WRKSRC}/ctronome.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ctronome ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/metronome1.wav ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/metronome2.wav ${DATADIR}
.include <bsd.port.mk>