svn commit: r448320 - in head/audio/mp3asm: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Aug 19 16:04:33 UTC 2017
Author: sunpoet
Date: Sat Aug 19 16:04:32 2017
New Revision: 448320
URL: https://svnweb.freebsd.org/changeset/ports/448320
Log:
Add LICENSE_FILE
- Sort USES
- Merge post-extract: into post-patch:
- Cosmetic change
- Update pkg-descr
- Remove license from pkg-descr
- Take maintainership
Added:
head/audio/mp3asm/files/patch-src-utils.c
- copied unchanged from r448319, head/audio/mp3asm/files/patch-src_utils.c
Deleted:
head/audio/mp3asm/files/patch-src_utils.c
Modified:
head/audio/mp3asm/Makefile
head/audio/mp3asm/pkg-descr
Modified: head/audio/mp3asm/Makefile
==============================================================================
--- head/audio/mp3asm/Makefile Sat Aug 19 15:37:46 2017 (r448319)
+++ head/audio/mp3asm/Makefile Sat Aug 19 16:04:32 2017 (r448320)
@@ -5,31 +5,30 @@ PORTNAME= mp3asm
PORTVERSION= 0.1.3.1
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.1.3-1
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}-${PORTVERSION:E}
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at FreeBSD.org
COMMENT= MP3 frame level editor
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
-USES= tar:bzip2 gmake
+OPTIONS_DEFINE= DOCS
+
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-0.1
+USES= gmake tar:bzip2
+
PLIST_FILES= bin/mp3asm
PORTDOCS= Changelog README
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:R}
-OPTIONS_DEFINE= DOCS
-
-post-extract:
- ${RM} ${WRKSRC}/config.cache
-
post-patch:
- ${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
- ${REINPLACE_CMD} -e 's|#include <argz.h>||' \
- -e 's|getprogname|_getprogname|g' \
- -e 's|\([ (!]\)\(log[\.;]\)|\1mp3asm\2|g' \
- ${WRKSRC}/src/mp3asm.h ${WRKSRC}/src/*.c
+ @${RM} ${WRKSRC}/config.cache
+ @${REINPLACE_CMD} -e '/^CFLAGS=/d' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|getprogname|mp3info_&|' ${WRKSRC}/src/mp3asm.c
+ @${REINPLACE_CMD} -e '/^#include <argz.h>/d' ${WRKSRC}/src/mp3asm.h
+ @${REINPLACE_CMD} -e 's|\([ (!]\)\(log[\.;]\)|\1mp3asm_\2|g' ${WRKSRC}/src/*.c ${WRKSRC}/src/mp3asm.h
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
Copied: head/audio/mp3asm/files/patch-src-utils.c (from r448319, head/audio/mp3asm/files/patch-src_utils.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/mp3asm/files/patch-src-utils.c Sat Aug 19 16:04:32 2017 (r448320, copy of r448319, head/audio/mp3asm/files/patch-src_utils.c)
@@ -0,0 +1,10 @@
+--- src/utils.c.orig 2001-08-17 20:44:09 UTC
++++ src/utils.c
+@@ -25,6 +25,7 @@
+ #include "utils.h"
+ #include <unistd.h>
+ #include <stdio.h>
++#include <errno.h>
+
+ /*
+ * tmalloc: mallocs cleanly
Modified: head/audio/mp3asm/pkg-descr
==============================================================================
--- head/audio/mp3asm/pkg-descr Sat Aug 19 15:37:46 2017 (r448319)
+++ head/audio/mp3asm/pkg-descr Sat Aug 19 16:04:32 2017 (r448320)
@@ -1,15 +1,15 @@
-An mp3 frame level editor. Allows you to work with individual frames of an
-mp3 stream. Supports mpeg audio 1/2/2.5 layer 1,2,3 cbr/vbr.
+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.
Feature:
- - Removing bad frames and blips.
- - Correcting certain errors in the stream.
- - Working with individual frames, like one would with individual samples
- in a wave editor
- - Removing or adding of empty frames (for id3v2)
- - Setting header flags, gain values
- - ...
-
-LICENSE: GPL2 or later
+- Removing bad frames and blips
+- Correcting certain errors in the stream
+- Working with individual frames, like one would with individual samples in a
+ wave editor
+- Removing or adding of empty frames (for id3v2)
+- Setting header flags, gain values
+- ...
WWW: http://mp3asm.sourceforge.net/
More information about the svn-ports-head
mailing list