diff options
author | Chris Rees <crees@FreeBSD.org> | 2013-05-20 18:02:42 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2013-05-20 18:02:42 +0000 |
commit | 87d64bbc11e60c2bcbcfb0a56693362250f6339a (patch) | |
tree | abff49f34970d3c2b7637df911d4c36daf0e4ccd /audio | |
parent | Update to 1.67 (diff) |
audio/id3ren: Resurrect; it lives on github now.
I'll maintain.
Notes
Notes:
svn path=/head/; revision=318619
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/id3ren/Makefile | 38 | ||||
-rw-r--r-- | audio/id3ren/distinfo | 2 | ||||
-rw-r--r-- | audio/id3ren/files/patch-Makefile | 18 | ||||
-rw-r--r-- | audio/id3ren/files/patch-aa | 27 | ||||
-rw-r--r-- | audio/id3ren/files/patch-ab | 10 | ||||
-rw-r--r-- | audio/id3ren/files/patch-man::Makefile | 12 | ||||
-rw-r--r-- | audio/id3ren/pkg-descr | 6 |
8 files changed, 114 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 874dd12a7331..aa609427c6a5 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -338,6 +338,7 @@ SUBDIR += id3el SUBDIR += id3lib SUBDIR += id3mtag + SUBDIR += id3ren SUBDIR += id3tool SUBDIR += id3v2 SUBDIR += ifp-line diff --git a/audio/id3ren/Makefile b/audio/id3ren/Makefile new file mode 100644 index 000000000000..7749bf5bfa00 --- /dev/null +++ b/audio/id3ren/Makefile @@ -0,0 +1,38 @@ +# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br> +# $FreeBSD$ + +PORTNAME= id3ren +PORTVERSION= 1.1b0 +CATEGORIES= audio +MASTER_SITES= GH + +MAINTAINER= crees@FreeBSD.org +COMMENT= Rename MP3 files, edit tags, search, etc + +LICENSE= GPLv2 + +USE_GITHUB= yes +GH_ACCOUNT= sebcode +GH_TAGNAME= master +GH_COMMIT= 322ee77 + +PLIST_FILES= bin/id3ren +MAN1= id3ren.1 +MANCOMPRESSED= yes +PORTDOCS= AUTHORS ChangeLog FEATURES FEEDBACK INSTALL PORTS \ + README THANKS TODO USAGE + +.include <bsd.port.options.mk> + +pre-patch: + @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \ + ${WRKSRC}/src/id3ren.c ${WRKSRC}/src/id3misc.c + ${RM} ${WRKSRC}/src/id3ren + +post-install: +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/audio/id3ren/distinfo b/audio/id3ren/distinfo new file mode 100644 index 000000000000..a2c587348897 --- /dev/null +++ b/audio/id3ren/distinfo @@ -0,0 +1,2 @@ +SHA256 (id3ren-1.1b0.tar.gz) = f6a705e5c81dda27c33f28cf0a174b920a1b1a6dacd877e49bc9fdaa570337ee +SIZE (id3ren-1.1b0.tar.gz) = 44106 diff --git a/audio/id3ren/files/patch-Makefile b/audio/id3ren/files/patch-Makefile new file mode 100644 index 000000000000..951d41b7ace6 --- /dev/null +++ b/audio/id3ren/files/patch-Makefile @@ -0,0 +1,18 @@ +--- Makefile.orig Tue Mar 6 02:59:34 2001 ++++ Makefile Fri Jan 7 09:56:53 2005 +@@ -1,12 +1,12 @@ + all: +- make -C src all ++ cd src && ${MAKE} all + + debug: + make -C src debug + + install: +- make -C src install +- make -C man install ++ cd src && ${MAKE} install ++ cd man && ${MAKE} install + + clean: + make -C src clean diff --git a/audio/id3ren/files/patch-aa b/audio/id3ren/files/patch-aa new file mode 100644 index 000000000000..759ef05df597 --- /dev/null +++ b/audio/id3ren/files/patch-aa @@ -0,0 +1,27 @@ +--- src/Makefile.orig Fri Jan 7 10:08:02 2005 ++++ src/Makefile Fri Jan 7 10:08:30 2005 +@@ -1,9 +1,10 @@ + CFLAGSDEBUG = -g -O2 -Wall -DDEBUG +-CFLAGS = -s -O2 -Wall +-CC = gcc +-RM = rm -f +-INSTALL = install -s -m 755 +-INSTALL_DIR = /usr/bin ++CFLAGS ?= -O2 -Wall ++STRIP ?= -s ++CC ?= gcc ++RM ?= rm -f ++INSTALL = ${BSD_INSTALL_PROGRAM} ++INSTALL_DIR = ${PREFIX}/bin + INSTALL_NAME = id3ren + + SOURCES = id3ren.c id3tag.c id3file.c id3misc.c +@@ -12,7 +13,7 @@ + all: ${INSTALL_NAME} + + ${INSTALL_NAME}: ${SOURCES} ${INCLUDES} +- ${CC} ${CFLAGS} -o ${INSTALL_NAME} ${SOURCES} ++ ${CC} ${CFLAGS} ${STRIP} -o ${INSTALL_NAME} ${SOURCES} + + debug: + ${CC} ${CFLAGSDEBUG} -o ${INSTALL_NAME} ${SOURCES} diff --git a/audio/id3ren/files/patch-ab b/audio/id3ren/files/patch-ab new file mode 100644 index 000000000000..961ae28dbda6 --- /dev/null +++ b/audio/id3ren/files/patch-ab @@ -0,0 +1,10 @@ +--- src/id3tag.c.orig Fri Jan 7 09:32:59 2005 ++++ src/id3tag.c Fri Jan 7 09:33:14 2005 +@@ -369,6 +369,7 @@ + return TRUE; + } + ++ memset(string, 0, size); + fgets(string, size, stdin); + + if (string[strlen(string)-1] == '\n') diff --git a/audio/id3ren/files/patch-man::Makefile b/audio/id3ren/files/patch-man::Makefile new file mode 100644 index 000000000000..d004277400af --- /dev/null +++ b/audio/id3ren/files/patch-man::Makefile @@ -0,0 +1,12 @@ +--- man/Makefile.orig Fri Jan 7 09:53:38 2005 ++++ man/Makefile Fri Jan 7 09:53:54 2005 +@@ -1,6 +1,6 @@ +-RM = rm -f +-INSTALL = install -m 755 +-INSTALL_DIR = /usr/man/man1 ++RM ?= rm -f ++INSTALL = ${BSD_INSTALL_DATA} ++INSTALL_DIR = ${PREFIX}/man/man1 + INSTALL_NAME = id3ren.1.gz + + all: diff --git a/audio/id3ren/pkg-descr b/audio/id3ren/pkg-descr new file mode 100644 index 000000000000..744f2409b553 --- /dev/null +++ b/audio/id3ren/pkg-descr @@ -0,0 +1,6 @@ +The id3 Renamer is used to rename batches of mpeg3 files by reading the +ID3 tag at the end of the file which contains the song name, artist, +album, year, and a comment. The secondary function of id3 Renamer is +a tagger, which can create, modify, or remove ID3 tags. + +WWW: https://github.com/sebcode/id3ren |