aboutsummaryrefslogtreecommitdiffstats
path: root/audio/bonk
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-12 00:19:52 +0800
committerijliao <ijliao@FreeBSD.org>2001-07-12 00:19:52 +0800
commit3cdf37d4bfbe6435efe467ae7e62087df994ed62 (patch)
tree97df1d9a00652019bbb374e976e48ce64aaeaa7f /audio/bonk
parent5f0c2ffadceef41baebbdb6eab64b4563d9c409d (diff)
downloadfreebsd-ports-gnome-3cdf37d4bfbe6435efe467ae7e62087df994ed62.tar.gz
freebsd-ports-gnome-3cdf37d4bfbe6435efe467ae7e62087df994ed62.tar.zst
freebsd-ports-gnome-3cdf37d4bfbe6435efe467ae7e62087df994ed62.zip
upgrade to 0.5
drop maintainership
Diffstat (limited to 'audio/bonk')
-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 5054b0db27d3..d337a7d35f09 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 aa8e688f0702..3aac71db3dc7 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 bed427aaabca..dd32a174cee5 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 93377e114bed..000000000000
--- 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,