aboutsummaryrefslogtreecommitdiff
path: root/audio/ctronome
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-09-30 19:15:57 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-09-30 19:15:57 +0000
commiteec886bfa21f55fd155e8881d27ef8b02144d99f (patch)
tree8a15507cca4e27654c176cdaa0985adb471519ea /audio/ctronome
parent13da03c1d592c90c110d8bd7433b9b25ce7727f5 (diff)
downloadports-eec886bfa21f55fd155e8881d27ef8b02144d99f.tar.gz
ports-eec886bfa21f55fd155e8881d27ef8b02144d99f.zip
Notes
Diffstat (limited to 'audio/ctronome')
-rw-r--r--audio/ctronome/Makefile12
-rw-r--r--audio/ctronome/distinfo4
-rw-r--r--audio/ctronome/files/patch-ctronome.h22
-rw-r--r--audio/ctronome/pkg-plist4
4 files changed, 11 insertions, 31 deletions
diff --git a/audio/ctronome/Makefile b/audio/ctronome/Makefile
index 7c601228f55b..3eb4cb647b47 100644
--- a/audio/ctronome/Makefile
+++ b/audio/ctronome/Makefile
@@ -2,13 +2,19 @@
# $FreeBSD$
PORTNAME= ctronome
-PORTVERSION= 0.5.3
-PORTREVISION= 1
+PORTVERSION= 0.5.4
CATEGORIES= audio
MASTER_SITES= http://ctronome.kign.org/source/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A programmable console-based metronome
+COMMENT= Programmable console-based metronome
+
+LICENSE= GPLv2
+
+PLIST_FILES= bin/ctronome \
+ %%DATADIR%%/metronome1.wav \
+ %%DATADIR%%/metronome2.wav
+PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|' ${WRKSRC}/ctronome.h ${WRKSRC}/dsp.c
diff --git a/audio/ctronome/distinfo b/audio/ctronome/distinfo
index 4c925dac938f..ce79aca5d431 100644
--- a/audio/ctronome/distinfo
+++ b/audio/ctronome/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ctronome-0.5.3.tar.gz) = 0ceb6ab2f243ac45d0475e901f70f5ac20100c7489d28375fc2b5ce38c0124ad
-SIZE (ctronome-0.5.3.tar.gz) = 25979
+SHA256 (ctronome-0.5.4.tar.gz) = 337632036867e432e938c5bbfacf1e993994dedc32674ecd04eadc6e5090ef78
+SIZE (ctronome-0.5.4.tar.gz) = 26102
diff --git a/audio/ctronome/files/patch-ctronome.h b/audio/ctronome/files/patch-ctronome.h
deleted file mode 100644
index b895721818c0..000000000000
--- a/audio/ctronome/files/patch-ctronome.h
+++ /dev/null
@@ -1,22 +0,0 @@
---- ctronome.h.orig 2012-07-22 15:14:52.000000000 +0400
-+++ ctronome.h 2012-07-22 15:15:31.000000000 +0400
-@@ -1,4 +1,6 @@
- #include <sys/soundcard.h>
-+#include <stdint.h>
-+
- #define MYNAME "ctronome"
- #define VERSION "0.5.3"
- #define CREDITS "homepage: http://ctronome.kign.org/\n"
-@@ -28,9 +30,9 @@
- for defaults/limits and required WAV format see README\n"
-
- /* my lazy type definitions */
--typedef unsigned long int DWORD;
--typedef unsigned short int WORD;
--typedef unsigned char BYTE;
-+typedef uint32_t DWORD;
-+typedef uint16_t WORD;
-+typedef uint8_t BYTE;
- typedef DWORD dword;
- typedef WORD word;
- typedef BYTE byte;
diff --git a/audio/ctronome/pkg-plist b/audio/ctronome/pkg-plist
deleted file mode 100644
index 1e21a9fa902d..000000000000
--- a/audio/ctronome/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/ctronome
-%%DATADIR%%/metronome1.wav
-%%DATADIR%%/metronome2.wav
-@dirrm %%DATADIR%%