ports/136147: [PATCH] audio/cutmp3: update to 2.0
Sylvio Cesar
scjamorim at bsd.com.br
Sun Jun 28 20:30:09 UTC 2009
>Number: 136147
>Category: ports
>Synopsis: [PATCH] audio/cutmp3: update to 2.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 28 20:30:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Sylvio Cesar
>Release: FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd_tb7st.vida.br 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC
>Description:
- Update to 2.0
Port maintainer (dhn at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- cutmp3-2.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/cutmp3/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile 6 Mar 2009 18:13:54 -0000 1.2
+++ Makefile 28 Jun 2009 20:25:12 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= cutmp3
-PORTVERSION= 1.9.2
+PORTVERSION= 2.0
CATEGORIES= audio
MASTER_SITES= http://www.puchalla-online.de/ \
http://mirror.mcx2.org/
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/audio/cutmp3/distinfo,v
retrieving revision 1.1
diff -u -u -r1.1 distinfo
--- distinfo 5 Oct 2008 15:15:20 -0000 1.1
+++ distinfo 28 Jun 2009 20:25:12 -0000
@@ -1,3 +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
+MD5 (cutmp3-2.0.tar.bz2) = 34f56ee6b3867c7287e108cf92bc3595
+SHA256 (cutmp3-2.0.tar.bz2) = 50f261b169fb1696c80c0defc91e5539f453f9d5fd6c74a616efe1d4948dd764
+SIZE (cutmp3-2.0.tar.bz2) = 46484
Index: files/patch-Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/cutmp3/files/patch-Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 patch-Makefile
--- files/patch-Makefile 5 Oct 2008 15:15:20 -0000 1.1
+++ files/patch-Makefile 28 Jun 2009 20:25:12 -0000
@@ -1,10 +1,10 @@
---- Makefile.orig 2007-04-06 10:19:50.000000000 +0200
-+++ Makefile 2008-10-06 15:32:42.000000000 +0200
+--- Makefile.orig 2009-06-28 10:06:33.000000000 -0300
++++ Makefile 2009-06-28 16:01:33.000000000 -0300
@@ -1,13 +1,11 @@
NAME=cutmp3
--VERSION=1.9.2
+-VERSION=2.0
-PREFIX=/usr
-+PREFIX?= /usr/local
++PREFIX?=/usr/local
BINDIR=${PREFIX}/bin
DATADIR=${PREFIX}/share
-MANDIR=${PREFIX}/share/man/man1
@@ -17,13 +17,16 @@
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 @@
+@@ -28,12 +26,8 @@
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}
+ gzip ${NAME}.1
install -m 644 ${NAME}.1.gz ${MANDIR}
+- gunzip ${NAME}.1.gz
uninstall:
+ rm -f ${BINDIR}/${NAME}
--- cutmp3-2.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list