summaryrefslogtreecommitdiff
path: root/audio/mp3asm
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mp3asm')
-rw-r--r--audio/mp3asm/DESCR4
-rw-r--r--audio/mp3asm/Makefile25
-rw-r--r--audio/mp3asm/PLIST4
-rw-r--r--audio/mp3asm/distinfo6
-rw-r--r--audio/mp3asm/patches/patch-aa12
-rw-r--r--audio/mp3asm/patches/patch-ab12
6 files changed, 63 insertions, 0 deletions
diff --git a/audio/mp3asm/DESCR b/audio/mp3asm/DESCR
new file mode 100644
index 00000000000..c581c7c6734
--- /dev/null
+++ b/audio/mp3asm/DESCR
@@ -0,0 +1,4 @@
+An mpeg 1/2/2.5 audio layer 1,2,3 frame level editor. Allows for
+cutting, copying, pasting of individual frames, correction of
+common (correctable) errors, removal of bad frames and more.
+Quite useful program for maintaining any mp3 collection.
diff --git a/audio/mp3asm/Makefile b/audio/mp3asm/Makefile
new file mode 100644
index 00000000000..8c1a8a6e23d
--- /dev/null
+++ b/audio/mp3asm/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/28 16:51:05 zuntum Exp $
+#
+
+DISTNAME= mp3asm-0.1.3
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3asm/}
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://mp3asm.sourceforge.net/
+COMMENT= mpeg 1/2/2.5 audio layer 1,2,3 frame level editor
+
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/mp3asm-0.1
+
+post-patch:
+ ${MV} ${WRKSRC}/src/mp3asm.c ${WRKSRC}/src/mp3asm.c.orig
+ ${SED} "s/getprogname/_getprogname/g" ${WRKSRC}/src/mp3asm.c.orig \
+ > ${WRKSRC}/src/mp3asm.c
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mp3asm
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mp3asm
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mp3asm/PLIST b/audio/mp3asm/PLIST
new file mode 100644
index 00000000000..f475f5dc2cc
--- /dev/null
+++ b/audio/mp3asm/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/28 16:51:05 zuntum Exp $
+bin/mp3asm
+share/doc/mp3asm/README
+@dirrm share/doc/mp3asm
diff --git a/audio/mp3asm/distinfo b/audio/mp3asm/distinfo
new file mode 100644
index 00000000000..5c1f263c90d
--- /dev/null
+++ b/audio/mp3asm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/28 16:51:05 zuntum Exp $
+
+SHA1 (mp3asm-0.1.3.tar.gz) = 9aefed189cb7737f82aa5708bcc2bebd58e0e5f6
+Size (mp3asm-0.1.3.tar.gz) = 54525 bytes
+SHA1 (patch-aa) = 3e4f9ca6f746b5664d77b2342dc9b787e601af83
+SHA1 (patch-ab) = f397eafdfe95040104ec33ea3065d22ba05af6cf
diff --git a/audio/mp3asm/patches/patch-aa b/audio/mp3asm/patches/patch-aa
new file mode 100644
index 00000000000..2c9cc6a927c
--- /dev/null
+++ b/audio/mp3asm/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/04/28 16:51:05 zuntum Exp $
+
+--- src/mp3asm.h.orig Tue Mar 20 09:45:48 2001
++++ src/mp3asm.h
+@@ -30,7 +30,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sysexits.h>
+-#include <argz.h>
+ #include <ctype.h>
+
+ #define LOGBUFSIZE 4096
diff --git a/audio/mp3asm/patches/patch-ab b/audio/mp3asm/patches/patch-ab
new file mode 100644
index 00000000000..672970604e8
--- /dev/null
+++ b/audio/mp3asm/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/04/28 16:51:05 zuntum Exp $
+
+--- src/utils.c.orig Sat Aug 18 04:44:09 2001
++++ src/utils.c
+@@ -25,6 +25,7 @@
+ #include "utils.h"
+ #include <unistd.h>
+ #include <stdio.h>
++#include <errno.h>
+
+ /*
+ * tmalloc: mallocs cleanly