diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-10-05 15:15:20 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-10-05 15:15:20 +0000 |
commit | 7f51942ef7a838ea7685ee85f46eebc6cd08d806 (patch) | |
tree | c9fe92fdd5f3f3485429addb53711b4243a1f56e /audio/cutmp3 | |
parent | 0fbeaeda7b72cd2e64c75bf724d6fec582626276 (diff) | |
download | ports-7f51942ef7a838ea7685ee85f46eebc6cd08d806.tar.gz ports-7f51942ef7a838ea7685ee85f46eebc6cd08d806.zip |
Notes
Diffstat (limited to 'audio/cutmp3')
-rw-r--r-- | audio/cutmp3/Makefile | 31 | ||||
-rw-r--r-- | audio/cutmp3/distinfo | 3 | ||||
-rw-r--r-- | audio/cutmp3/files/patch-Makefile | 29 | ||||
-rw-r--r-- | audio/cutmp3/pkg-descr | 8 |
4 files changed, 71 insertions, 0 deletions
diff --git a/audio/cutmp3/Makefile b/audio/cutmp3/Makefile new file mode 100644 index 000000000000..25d99b0958c8 --- /dev/null +++ b/audio/cutmp3/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: cutmp3 +# Date created: 05 Oct 2008 +# Whom: Dennis Herrmann <adox@mcx2.org> +# +# $FreeBSD$ +# + +PORTNAME= cutmp3 +PORTVERSION= 1.9.2 +CATEGORIES= audio +MASTER_SITES= http://www.puchalla-online.de/ \ + http://mirror.mcx2.org/ + +MAINTAINER= adox@mcx2.org +COMMENT= A small and fast command line MP3 editor + +USE_BZIP2= yes +MAN1= ${PORTNAME}.1 +MANCOMPRESSED= yes + +PLIST_FILES= bin/cutmp3 + +PORTDOCS= README README.timetable USAGE + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/audio/cutmp3/distinfo b/audio/cutmp3/distinfo new file mode 100644 index 000000000000..68f114a0ec9f --- /dev/null +++ b/audio/cutmp3/distinfo @@ -0,0 +1,3 @@ +MD5 (cutmp3-1.9.2.tar.bz2) = 1e612f637620732009f402b64ce8e418 +SHA256 (cutmp3-1.9.2.tar.bz2) = 5266a02b4dc9d23aa3574c71720ce9d4419191d10531cda14d9bf9ffb54980e6 +SIZE (cutmp3-1.9.2.tar.bz2) = 47690 diff --git a/audio/cutmp3/files/patch-Makefile b/audio/cutmp3/files/patch-Makefile new file mode 100644 index 000000000000..e8dc45462913 --- /dev/null +++ b/audio/cutmp3/files/patch-Makefile @@ -0,0 +1,29 @@ +--- Makefile.orig 2007-04-06 10:19:50.000000000 +0200 ++++ Makefile 2008-10-06 15:32:42.000000000 +0200 +@@ -1,13 +1,11 @@ + NAME=cutmp3 +-VERSION=1.9.2 +-PREFIX=/usr ++PREFIX?= /usr/local + BINDIR=${PREFIX}/bin + DATADIR=${PREFIX}/share +-MANDIR=${PREFIX}/share/man/man1 +-DOCDIR=${DATADIR}/doc/${NAME}-${VERSION} ++MANDIR=${PREFIX}/man/man1 ++DOCDIR=${DATADIR}/doc/${NAME} + + all: +- @echo -e "\n\n*** You need readline-devel, ncurses-devel or similar to compile ${NAME} ***\n*** Maybe you want to try the binary on compile failures? ***\n\n" + gcc -O ${CFLAGS} -c mpglib.c + gcc -O ${CFLAGS} -c main.c + gcc main.o mpglib.o -o ${NAME} -lm -lreadline -lncurses +@@ -28,9 +26,6 @@ + if [ -d /usr/share/apps/konqueror/servicemenus ]; then install -m 644 ${NAME}.desktop /usr/share/apps/konqueror/servicemenus; fi + if [ -d /opt/kde/share/apps/konqueror/servicemenus ]; then install -m 644 ${NAME}.desktop /opt/kde/share/apps/konqueror/servicemenus; fi + if [ -d /opt/kde3/share/apps/konqueror/servicemenus ]; then install -m 644 ${NAME}.desktop /opt/kde3/share/apps/konqueror/servicemenus; fi +- install -d ${DOCDIR}/${NAME} +- install -m 644 README* USAGE ${DOCDIR}/${NAME} +- install -d ${MANDIR} + install -m 644 ${NAME}.1.gz ${MANDIR} + + uninstall: diff --git a/audio/cutmp3/pkg-descr b/audio/cutmp3/pkg-descr new file mode 100644 index 000000000000..56afab610b84 --- /dev/null +++ b/audio/cutmp3/pkg-descr @@ -0,0 +1,8 @@ +cutmp3 is a small and fast command line MP3 editor. It lets +you select sections of an MP3 interactively or via a timetable +and save them to separate files without quality loss. It uses +mpg123 for playback and works with VBR files and even with files +bigger than 2GB. Other features are configurable silence seeking +and ID3 tag seeking, which are useful for concatenated mp3s. + +WWW: http://www.puchalla-online.de/cutmp3.html |