blob: 9d19e5eee011bcb9d194a6cd0262109702f0b746 (
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
|
# New ports collection makefile for: ctronome
# Date created: 11 August 2010
# Whom: Charles Mercadal <mercadal@diablonet.net>
#
# $FreeBSD$
#
PORTNAME= ctronome
PORTVERSION= 0.5.3
PORTREVISION= 1
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>
|