summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-02 15:11:14 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-02 15:11:14 +0000
commita7a7da2ca6485e2d0c7efa0407c10a9d58263e26 (patch)
tree106cb232c940a6710910682af1e2befbf4fdb612 /audio
parentUpdate to 1.36.38. We can now have sidplay shared libs! (diff)
Add mp3_check, a utility which verifies the integrity of mp3 files and
prints some useful statistics. I made this port respect CC/CFLAGS. PR: 18812 Submitted by: Zach Zurflu <zach@pabst.bendnet.com>
Notes
Notes: svn path=/head/; revision=29103
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/mp3_check/Makefile17
-rw-r--r--audio/mp3_check/distinfo1
-rw-r--r--audio/mp3_check/files/patch-aa24
-rw-r--r--audio/mp3_check/files/patch-ab10
-rw-r--r--audio/mp3_check/pkg-comment1
-rw-r--r--audio/mp3_check/pkg-descr7
-rw-r--r--audio/mp3_check/pkg-plist1
8 files changed, 62 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 774f6b4718dc..39feca42b385 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -46,6 +46,7 @@
SUBDIR += maplay
SUBDIR += mikmod
SUBDIR += mixer.app
+ SUBDIR += mp3_check
SUBDIR += mp3blaster
SUBDIR += mp3encode
SUBDIR += mp3info
diff --git a/audio/mp3_check/Makefile b/audio/mp3_check/Makefile
new file mode 100644
index 000000000000..27722725d98e
--- /dev/null
+++ b/audio/mp3_check/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: mp3_check
+# Date created: 24 May 2000
+# Whom: zach@pabst.bendnet.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= mp3_check
+PORTVERSION= 1.7
+CATEGORIES= audio
+MASTER_SITES= ftp://ftp.thedeepsky.com/outgoing/
+
+MAINTAINER= ericb@thedeepsky.com
+
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+.include <bsd.port.mk>
diff --git a/audio/mp3_check/distinfo b/audio/mp3_check/distinfo
new file mode 100644
index 000000000000..521dc8614d3d
--- /dev/null
+++ b/audio/mp3_check/distinfo
@@ -0,0 +1 @@
+MD5 (mp3_check-1.7.tar.gz) = f9d430c4ea49b815da2981413e38a9f0
diff --git a/audio/mp3_check/files/patch-aa b/audio/mp3_check/files/patch-aa
new file mode 100644
index 000000000000..6bcfe0758f77
--- /dev/null
+++ b/audio/mp3_check/files/patch-aa
@@ -0,0 +1,24 @@
+--- Makefile Tue May 23 04:17:09 2000
++++ Makefile.new Fri Jun 2 11:03:55 2000
+@@ -1,8 +1,9 @@
+ # Makefile for mp3_check
+
+-CC = gcc
+-CFLAGS = -Wall -Werror
+-OPT_FLAGS = -O3
++CC ?= gcc
++LOCALBASE ?= /usr/local
++CFLAGS += -Wall -Werror -I${LOCALBASE}/include
++OPT_FLAGS = -L${LOCALBASE}/lib -lgnugetopt
+ OBJS = mp3_check.o \
+ mp3_check_misc.o
+
+@@ -19,7 +20,7 @@
+ strip mp3_check
+
+ install: all
+- install -m 755 -o root -g root mp3_check /usr/local/bin
++ install -m 755 -o root -g wheel mp3_check ${LOCALBASE}/bin
+
+ mp3_check.o: mp3_check.c mp3_check.h
+ mp3_check_misc.o: mp3_check_misc.c mp3_check.h
diff --git a/audio/mp3_check/files/patch-ab b/audio/mp3_check/files/patch-ab
new file mode 100644
index 000000000000..5e38cd9f7e70
--- /dev/null
+++ b/audio/mp3_check/files/patch-ab
@@ -0,0 +1,10 @@
+--- mp3_check.c.orig Wed May 24 15:48:08 2000
++++ mp3_check.c Wed May 24 15:57:41 2000
+@@ -60,6 +60,7 @@
+
+ #include <errno.h>
+ #include <stdio.h>
++#include <getopt.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include "mp3_check.h"
diff --git a/audio/mp3_check/pkg-comment b/audio/mp3_check/pkg-comment
new file mode 100644
index 000000000000..323169b51e42
--- /dev/null
+++ b/audio/mp3_check/pkg-comment
@@ -0,0 +1 @@
+Verifies the integrity of mp3 audio files
diff --git a/audio/mp3_check/pkg-descr b/audio/mp3_check/pkg-descr
new file mode 100644
index 000000000000..4f1436489aca
--- /dev/null
+++ b/audio/mp3_check/pkg-descr
@@ -0,0 +1,7 @@
+This is a port of mp3_check. mp3_check verifies the integrity
+of mp3 audio files and prints useful statistics. This is handy
+for people who maintain libraries of mp3 files and need a way
+to verify their quality.
+
+- Zach
+zach@pabst.bendnet.com
diff --git a/audio/mp3_check/pkg-plist b/audio/mp3_check/pkg-plist
new file mode 100644
index 000000000000..561c840da206
--- /dev/null
+++ b/audio/mp3_check/pkg-plist
@@ -0,0 +1 @@
+bin/mp3_check