aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-05-27 10:00:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-05-27 10:00:11 +0000
commit77839a8b9a3f0a27a4923264c9457306c8620615 (patch)
treeb4623b3296460dffec5f594962d3b4f7ac4c9333 /audio
parenta08c7529baaa55869718f5fbfc39995070822824 (diff)
downloadports-77839a8b9a3f0a27a4923264c9457306c8620615.tar.gz
ports-77839a8b9a3f0a27a4923264c9457306c8620615.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/wavbreaker/Makefile14
-rw-r--r--audio/wavbreaker/distinfo6
-rw-r--r--audio/wavbreaker/files/patch-src__toc.c22
-rw-r--r--audio/wavbreaker/pkg-descr2
-rw-r--r--audio/wavbreaker/pkg-plist18
5 files changed, 25 insertions, 37 deletions
diff --git a/audio/wavbreaker/Makefile b/audio/wavbreaker/Makefile
index eb112a77d881..f95a6556eb37 100644
--- a/audio/wavbreaker/Makefile
+++ b/audio/wavbreaker/Makefile
@@ -5,17 +5,23 @@
# $FreeBSD$
PORTNAME= wavbreaker
-PORTVERSION= 0.7
-PORTREVISION= 1
+PORTVERSION= 0.8
CATEGORIES= audio
-MASTER_SITES= http://huli.org/wavbreaker/
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to split wav files
USE_GNOME= gnomehack gnometarget gtk20 libxml2
+USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-alsa
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --mandir=${MANPREFIX}/man \
+ --disable-alsa
+INSTALLS_ICONS= yes
+
+MAN1= wavbreaker.1 wavinfo.1 wavmerge.1
.include <bsd.port.mk>
diff --git a/audio/wavbreaker/distinfo b/audio/wavbreaker/distinfo
index 6acd008c8aa5..f18478f90a06 100644
--- a/audio/wavbreaker/distinfo
+++ b/audio/wavbreaker/distinfo
@@ -1,3 +1,3 @@
-MD5 (wavbreaker-0.7.tar.gz) = 6e5a776e124b8e02dd184b06bcce5c4a
-SHA256 (wavbreaker-0.7.tar.gz) = 7938ca4791651c1bd5c6c4eb409e1ebc8bba23ecb35982508819895d7d5e7f86
-SIZE (wavbreaker-0.7.tar.gz) = 128358
+MD5 (wavbreaker-0.8.tar.gz) = de8716153ca5e08e58cabc486b1aa114
+SHA256 (wavbreaker-0.8.tar.gz) = c3c751ccf8ae1cdb36ac391a186f51b19fde086ad3b7d5e96e538dea6d180d04
+SIZE (wavbreaker-0.8.tar.gz) = 302452
diff --git a/audio/wavbreaker/files/patch-src__toc.c b/audio/wavbreaker/files/patch-src__toc.c
deleted file mode 100644
index 35724fac0521..000000000000
--- a/audio/wavbreaker/files/patch-src__toc.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/toc.c.orig Sun Sep 18 01:43:20 2005
-+++ src/toc.c Mon Feb 27 13:31:04 2006
-@@ -33,6 +33,8 @@
- int toc_write_file(const char *toc_filename, const char *wav_filename, GList *breaks)
- {
- FILE *fp;
-+ int i;
-+ int len;
- TrackBreak *next_break = NULL;
- char *tocTime;
- char *tocDuration;
-@@ -41,8 +43,8 @@
- if(!fp) return 1;
-
- fprintf(fp, "// Generated with wavbreaker\n\nCD_DA\n");
-- int i = 0;
-- int len = g_list_length(breaks);
-+ i = 0;
-+ len = g_list_length(breaks);
- while (i < len) {
- next_break = (TrackBreak *) g_list_nth_data(breaks, i);
- if (next_break != NULL) {
diff --git a/audio/wavbreaker/pkg-descr b/audio/wavbreaker/pkg-descr
index b8670421c98c..5ebed1136721 100644
--- a/audio/wavbreaker/pkg-descr
+++ b/audio/wavbreaker/pkg-descr
@@ -10,4 +10,4 @@ only work on files that are alike. For example, 44100 khz
sample rate, 16-bit sample size, etc. (use sox to convert files
first if necessary).
-WWW: http://huli.org/wavbreaker
+WWW: http://wavbreaker.sourceforge.net/
diff --git a/audio/wavbreaker/pkg-plist b/audio/wavbreaker/pkg-plist
index 2f8b2bbe1ca4..d1c4a299fc88 100644
--- a/audio/wavbreaker/pkg-plist
+++ b/audio/wavbreaker/pkg-plist
@@ -1,10 +1,14 @@
bin/wavbreaker
bin/wavinfo
bin/wavmerge
-%%DATADIR%%/images/break.png
-%%DATADIR%%/images/break2.png
-%%DATADIR%%/images/del-break.png
-%%DATADIR%%/images/play.png
-%%DATADIR%%/images/stop.png
-@dirrm share/wavbreaker/images
-@dirrm share/wavbreaker
+share/applications/wavbreaker.desktop
+share/icons/hicolor/16x16/apps/wavbreaker.png
+share/icons/hicolor/22x22/apps/wavbreaker.png
+share/icons/hicolor/24x24/apps/wavbreaker.png
+share/icons/hicolor/48x48/apps/wavbreaker.png
+share/icons/hicolor/scalable/apps/wavbreaker.svg
+share/locale/de/LC_MESSAGES/wavbreaker.mo
+share/locale/fr/LC_MESSAGES/wavbreaker.mo
+share/locale/pt/LC_MESSAGES/wavbreaker.mo
+share/pixmaps/wavbreaker.png
+@dirrmtry share/applications