aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2009-06-29 04:51:38 +0800
committerdhn <dhn@FreeBSD.org>2009-06-29 04:51:38 +0800
commit6c5dbbe75e8df6a84f5360b65637b3cfc4b94e0b (patch)
tree3f1646706fb86aa45daef27cf3e0b154bad43081 /audio
parent6fb5d2423d3276a4681d19636c3dda147d6da165 (diff)
downloadfreebsd-ports-gnome-6c5dbbe75e8df6a84f5360b65637b3cfc4b94e0b.tar.gz
freebsd-ports-gnome-6c5dbbe75e8df6a84f5360b65637b3cfc4b94e0b.tar.zst
freebsd-ports-gnome-6c5dbbe75e8df6a84f5360b65637b3cfc4b94e0b.zip
- Update to 2.0
PR: ports/136147 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br>
Diffstat (limited to 'audio')
-rw-r--r--audio/cutmp3/Makefile2
-rw-r--r--audio/cutmp3/distinfo6
-rw-r--r--audio/cutmp3/files/patch-Makefile13
3 files changed, 12 insertions, 9 deletions
diff --git a/audio/cutmp3/Makefile b/audio/cutmp3/Makefile
index dfad8e7fc7a5..876c4a1236ff 100644
--- a/audio/cutmp3/Makefile
+++ b/audio/cutmp3/Makefile
@@ -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/
diff --git a/audio/cutmp3/distinfo b/audio/cutmp3/distinfo
index 68f114a0ec9f..8d6e0cbc64b2 100644
--- a/audio/cutmp3/distinfo
+++ b/audio/cutmp3/distinfo
@@ -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
diff --git a/audio/cutmp3/files/patch-Makefile b/audio/cutmp3/files/patch-Makefile
index e8dc45462913..747c7113fb8e 100644
--- a/audio/cutmp3/files/patch-Makefile
+++ b/audio/cutmp3/files/patch-Makefile
@@ -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}