1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

A very simple yet powerful programmable console metronome.

WWW:  http://ctronome.kign.org/

PR:		149754
Submitted by:	Charles Mercadal <mercadal@diablonet.net>
This commit is contained in:
Dmitry Marakasov 2010-08-19 01:29:41 +00:00
parent 617aa7897e
commit 46a6feb7de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259555
6 changed files with 53 additions and 0 deletions

View File

@ -116,6 +116,7 @@
SUBDIR += crip
SUBDIR += cripple
SUBDIR += csound
SUBDIR += ctronome
SUBDIR += cuberok
SUBDIR += cue2toc
SUBDIR += cueplayer

26
audio/ctronome/Makefile Normal file
View File

@ -0,0 +1,26 @@
# 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>

3
audio/ctronome/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (ctronome-0.5.3.tar.gz) = 12b46a7825ea5156100ac1f0bcd148ab
SHA256 (ctronome-0.5.3.tar.gz) = 0ceb6ab2f243ac45d0475e901f70f5ac20100c7489d28375fc2b5ce38c0124ad
SIZE (ctronome-0.5.3.tar.gz) = 25979

View File

@ -0,0 +1,16 @@
exit--- Makefile.orig 2008-12-18 13:49:32.000000000 +0300
+++ Makefile 2010-08-18 21:47:01.000000000 +0400
@@ -1,11 +1,11 @@
VERSION = 0.5.3
-CC = gcc
+CC ?= gcc
OBJS = ctronome.o dsp.o routines.o
all: ctronome
%.o: %.c ctronome.h routines.h
- $(CC) -c $<
+ $(CC) $(CFLAGS) -c $<
ctronome: $(OBJS)
$(CC) -o ctronome $(OBJS)

3
audio/ctronome/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
A very simple yet powerful programmable console metronome.
WWW: http://ctronome.kign.org/

4
audio/ctronome/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/ctronome
%%DATADIR%%/metronome1.wav
%%DATADIR%%/metronome2.wav
@dirrm %%DATADIR%%