aboutsummaryrefslogtreecommitdiff
path: root/audio/cmp3
diff options
context:
space:
mode:
authorFelippe de Meirelles Motta <lippe@FreeBSD.org>2009-09-20 17:17:09 +0000
committerFelippe de Meirelles Motta <lippe@FreeBSD.org>2009-09-20 17:17:09 +0000
commit03222431d093a975f711824adb2d91285c157e2d (patch)
treed6ca8a32df1e4ba681e46278b7fccc2b7516da8e /audio/cmp3
parentf668321e6f73d234e070e26c7b36675aba6e7b6a (diff)
downloadports-03222431d093a975f711824adb2d91285c157e2d.tar.gz
ports-03222431d093a975f711824adb2d91285c157e2d.zip
Notes
Diffstat (limited to 'audio/cmp3')
-rw-r--r--audio/cmp3/Makefile13
-rw-r--r--audio/cmp3/files/patch-Makefile.in13
-rw-r--r--audio/cmp3/files/patch-cmp3main.c (renamed from audio/cmp3/files/patch-ae)4
-rw-r--r--audio/cmp3/files/patch-nevlib::Makefile.in10
-rw-r--r--audio/cmp3/files/patch-nevlib_Makefile.in10
5 files changed, 29 insertions, 21 deletions
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile
index b7d23813a4c9..4e3733de59c0 100644
--- a/audio/cmp3/Makefile
+++ b/audio/cmp3/Makefile
@@ -12,12 +12,12 @@ CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.0-pre6
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= scjamorim@bsd.com.br
COMMENT= An ncurses based frontend to mpg123
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
-WRKSRC= ${WRKDIR}/${PORTNAME}-kenrevs/
+WRKSRC= ${WRKDIR}/${PORTNAME}-kenrevs
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -29,13 +29,12 @@ PLIST_FILES= bin/cmp3 bin/rnmp3
RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
.endif
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cmp3 ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/rnmp3 ${PREFIX}/bin
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/cmp3rc ${DOCSDIR}/sample.cmp3rc
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/audio/cmp3/files/patch-Makefile.in b/audio/cmp3/files/patch-Makefile.in
index 216fda26c28c..d86428aa4f83 100644
--- a/audio/cmp3/files/patch-Makefile.in
+++ b/audio/cmp3/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Sun Jul 29 14:43:49 2001
-+++ Makefile.in Thu Mar 18 22:27:35 2004
+--- Makefile.in.orig 2001-07-29 02:43:49.000000000 -0300
++++ Makefile.in 2009-09-20 11:17:07.000000000 -0300
@@ -5,19 +5,19 @@
# initial_directory is now set in the config file
mpg123_location := "mpg123"
@@ -32,3 +32,12 @@
CC= @CC@
OBJS= cmp3common.o cmp3fileio.o cmp3manager.o cmp3curses.o \
cmp3llist.o cmp3main.o cmp3listfiles.o cmp3playlist.o cmp3volume.o \
+@@ -103,7 +103,7 @@
+ install: rnmp3 cmp3
+ install -c -s cmp3 $(install_directory)/cmp3
+ install -c -s rnmp3 $(install_directory)/rnmp3
+- cp -i cmp3rc $(config_file)
++ cp -i cmp3rc sample.cmp3rc
+ ifdef ass_repository
+ @if [ ! -x $(ass_repository) ]; then mkdir $(ass_repository); \
+ echo mkdir $(ass_repository); fi;
diff --git a/audio/cmp3/files/patch-ae b/audio/cmp3/files/patch-cmp3main.c
index a97c5c17af3f..dc0f0748a58d 100644
--- a/audio/cmp3/files/patch-ae
+++ b/audio/cmp3/files/patch-cmp3main.c
@@ -1,5 +1,5 @@
---- cmp3main.c.orig Fri Mar 17 08:40:00 2000
-+++ cmp3main.c Fri Jan 12 02:16:41 2001
+--- cmp3main.c.orig 2001-07-07 16:17:23.000000000 -0300
++++ cmp3main.c 2009-09-20 11:11:06.000000000 -0300
@@ -33,13 +33,18 @@
int lastleftline = 0;
int lastrightline = 0;
diff --git a/audio/cmp3/files/patch-nevlib::Makefile.in b/audio/cmp3/files/patch-nevlib::Makefile.in
deleted file mode 100644
index 81044fa48285..000000000000
--- a/audio/cmp3/files/patch-nevlib::Makefile.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- nevlib/Makefile.in.orig Sun Jul 29 14:09:13 2001
-+++ nevlib/Makefile.in Thu Mar 18 22:26:26 2004
-@@ -1,6 +1,6 @@
- CC = @CC@
-
--CFLAGS = -Wall -ansi -O2 -g
-+CFLAGS = @CFLAGS@
-
- FILES=llist.o inifile.o
- LIBNAME=libnev.a
diff --git a/audio/cmp3/files/patch-nevlib_Makefile.in b/audio/cmp3/files/patch-nevlib_Makefile.in
new file mode 100644
index 000000000000..599ba777cad7
--- /dev/null
+++ b/audio/cmp3/files/patch-nevlib_Makefile.in
@@ -0,0 +1,10 @@
+--- nevlib/Makefile.in.orig 2001-07-29 02:09:13.000000000 -0300
++++ nevlib/Makefile.in 2009-09-20 11:11:06.000000000 -0300
+@@ -1,6 +1,6 @@
+ CC = @CC@
+
+-CFLAGS = -Wall -ansi -O2 -g
++CFLAGS = @CFLAGS@
+
+ FILES=llist.o inifile.o
+ LIBNAME=libnev.a