summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/bonk/Makefile7
-rw-r--r--audio/bonk/distinfo2
-rw-r--r--audio/bonk/files/patch-Makefile21
-rw-r--r--audio/bonk/files/patch-bonk.cc24
4 files changed, 11 insertions, 43 deletions
diff --git a/audio/bonk/Makefile b/audio/bonk/Makefile
index 5054b0d..d337a7d 100644
--- a/audio/bonk/Makefile
+++ b/audio/bonk/Makefile
@@ -7,13 +7,10 @@
#
PORTNAME= bonk
-PORTVERSION= 0.4
+PORTVERSION= 0.5
CATEGORIES= audio
MASTER_SITES= http://yoyo.cc.monash.edu.au/~pfh/bonk/
-MAINTAINER= ijliao@FreeBSD.org
-
-post-patch:
- @${PERL} -pi -e "s,%%INSTALL_PROGRAM%%,${INSTALL_PROGRAM},g" ${WRKSRC}/Makefile
+MAINTAINER= ports@FreeBSD.org
.include <bsd.port.mk>
diff --git a/audio/bonk/distinfo b/audio/bonk/distinfo
index aa8e688..3aac71d 100644
--- a/audio/bonk/distinfo
+++ b/audio/bonk/distinfo
@@ -1 +1 @@
-MD5 (bonk-0.4.tar.gz) = a27653de4fbcf2226d0926530a66c568
+MD5 (bonk-0.5.tar.gz) = 81c4741a1e7445e2cff4b30c81ef8796
diff --git a/audio/bonk/files/patch-Makefile b/audio/bonk/files/patch-Makefile
index bed427a..dd32a17 100644
--- a/audio/bonk/files/patch-Makefile
+++ b/audio/bonk/files/patch-Makefile
@@ -1,15 +1,10 @@
---- Makefile.orig Sat Jun 2 01:44:11 2001
-+++ Makefile Sat Jun 2 01:44:46 2001
-@@ -2,10 +2,10 @@
- all : bonk
+--- Makefile.orig Thu Jul 12 00:16:45 2001
++++ Makefile Thu Jul 12 00:17:05 2001
+@@ -1,7 +1,4 @@
- bonk : bonk.cc utility.h wav.h
-- g++ -O3 -funroll-loops -o bonk bonk.cc
-+ ${CXX} ${CXXFLAGS} -o bonk bonk.cc
+-PREFIX= /usr
+-CXX= g++
+-CXXFLAGS= -O3 -funroll-loops
+ INSTALL= install -c
- install : bonk
-- install bonk /usr/bin
-+ %%INSTALL_PROGRAM%% bonk ${PREFIX}/bin
-
- clean :
- rm -f core bonk
+ # Uncomment this line for Linux and FreeBSD
diff --git a/audio/bonk/files/patch-bonk.cc b/audio/bonk/files/patch-bonk.cc
deleted file mode 100644
index 93377e1..0000000
--- a/audio/bonk/files/patch-bonk.cc
+++ /dev/null
@@ -1,24 +0,0 @@
---- bonk.cc.orig Sat Jun 2 02:06:22 2001
-+++ bonk.cc Sat Jun 2 02:07:11 2001
-@@ -30,7 +30,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
--#include <linux/soundcard.h>
-+#include <sys/soundcard.h>
- #include <sys/ioctl.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-@@ -41,6 +41,12 @@
-
- #include "utility.h"
- #include "wav.h"
-+
-+#if defined(_AIX) || defined(AIX)
-+# define AFMT_S16_NE AFMT_S16_BE
-+#else
-+# define AFMT_S16_NE AFMT_S16_LE
-+#endif
-
- //Accuracy of fixed point calculations
- const int lattice_shift = 10,
OpenPOWER on IntegriCloud