aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-03-25 12:53:48 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-03-30 23:59:27 +0000
commitc132054349f8290c1d9cdc91fec876886e9759d2 (patch)
tree9e3ff91118f9398e69d80e68c1bab7c3864c3fd8
parentb14dfb6d2105554d5c28e9ef5dae8241407fb371 (diff)
downloadports-c132054349f8290c1d9cdc91fec876886e9759d2.tar.gz
ports-c132054349f8290c1d9cdc91fec876886e9759d2.zip
audio/cmp3: Remove expired port:
2023-03-31 audio/cmp3: Abandonware, no development in 20 years. Please consider using audio/cmus or audio/musicpd
-rw-r--r--MOVED1
-rw-r--r--audio/Makefile1
-rw-r--r--audio/cmp3/Makefile40
-rw-r--r--audio/cmp3/distinfo2
-rw-r--r--audio/cmp3/files/patch-Makefile.in61
-rw-r--r--audio/cmp3/files/patch-cmp3.h11
-rw-r--r--audio/cmp3/files/patch-cmp3common.c18
-rw-r--r--audio/cmp3/files/patch-cmp3funcs.h18
-rw-r--r--audio/cmp3/files/patch-cmp3listfiles.c23
-rw-r--r--audio/cmp3/files/patch-cmp3main.c22
-rw-r--r--audio/cmp3/files/patch-cmp3volume.c14
-rw-r--r--audio/cmp3/files/patch-nevlib_Makefile.in10
-rw-r--r--audio/cmp3/files/patch-rnmp3.c43
-rw-r--r--audio/cmp3/pkg-descr3
14 files changed, 1 insertions, 266 deletions
diff --git a/MOVED b/MOVED
index 4a57afd9922f..7545a8fab121 100644
--- a/MOVED
+++ b/MOVED
@@ -17826,3 +17826,4 @@ devel/freebsd-gcc6||2023-03-22|No longer able to build base system, use GCC 9 or
japanese/mutt-devel||2023-03-25|Has expired: Broken since 2019
audio/amarok||2023-03-31|Has expired: No longer actively maintained upstream.
audio/cd2mp3||2023-03-31|Has expired: Depends on deprecated port audio/dagrab, consider using audio/abcde or audio/cyanrip
+audio/cmp3||2023-03-31|Has expired: Abandonware, no development in 20 years. Please consider using audio/cmus or audio/musicpd
diff --git a/audio/Makefile b/audio/Makefile
index 4f04a933dbf6..77fc8acbf7cd 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -89,7 +89,6 @@
SUBDIR += chromaprint
SUBDIR += cli-visualizer
SUBDIR += clunk
- SUBDIR += cmp3
SUBDIR += cmt
SUBDIR += cmus
SUBDIR += codec2
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile
deleted file mode 100644
index 194f81ecc5a9..000000000000
--- a/audio/cmp3/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-PORTNAME= cmp3
-PORTVERSION= 2.0.p6
-PORTREVISION= 2
-CATEGORIES= audio
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.0-pre6
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Ncurses based frontend to mpg123
-WWW= http://cmp3.sourceforge.net/
-
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-DEPRECATED= Abandonware, no development in 20 years. Please consider using audio/cmus or audio/musicpd
-EXPIRATION_DATE=2023-03-31
-
-RUN_DEPENDS= mpg123:audio/mpg123
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-kenrevs
-
-USES= gmake ncurses
-GNU_CONFIGURE= yes
-MAKE_ARGS= install_directory=${STAGEDIR}${PREFIX}/bin
-
-PORTDOCS= README sample.cmp3rc
-PLIST_FILES= bin/cmp3 bin/rnmp3
-
-OPTIONS_DEFINE= DOCS VORBIS
-OPTIONS_DEFAULT= VORBIS
-
-VORBIS_RUN_DEPENDS= ogg123:audio/vorbis-tools
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for docs in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/audio/cmp3/distinfo b/audio/cmp3/distinfo
deleted file mode 100644
index d4cdcde6b4bf..000000000000
--- a/audio/cmp3/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (cmp3-2.0pre6.tar.gz) = c5852728b1e64640de40fc95568ee4f51159e83e2ce769248b21fb12b7a6533c
-SIZE (cmp3-2.0pre6.tar.gz) = 183749
diff --git a/audio/cmp3/files/patch-Makefile.in b/audio/cmp3/files/patch-Makefile.in
deleted file mode 100644
index d379b97b8e93..000000000000
--- a/audio/cmp3/files/patch-Makefile.in
+++ /dev/null
@@ -1,61 +0,0 @@
---- Makefile.in.orig 2001-07-29 05:43:49 UTC
-+++ Makefile.in
-@@ -5,19 +5,19 @@
- # initial_directory is now set in the config file
- mpg123_location := "mpg123"
- ogg123_location := "ogg123"
--install_directory := "$(HOME)/bin"
-+install_directory := "$(PREFIX)/bin"
-
- #
- # Location of config file - Please edit this file before installing
- #
--config_file := "$(HOME)/.cmp3rc"
-+#config_file := "$(HOME)/.cmp3rc"
-
- #
- # Uncomment and set if desired
- #
-
- ## An ass repository is a nice thing to have. See README
--ass_repository := "$(HOME)/.cmp3ass"
-+#ass_repository := "$(HOME)/.cmp3ass"
-
- ## Define this for bufferring or add other parameters to mpg123 and ogg123
- mpg123_params := -b 320
-@@ -35,14 +35,14 @@ ogg123_params := -d oss
-
- VERSION="2.0pre6"
- WKGDIR=cmp3-kenrevs
--PARAMS= -DCMP3_VER="\$(VERSION)\" -DEXEC_LOC="\$(mpg123_location)\" \
-- -DCMP3_CONFIG="\$(config_file)\" -DOGG_LOC="\$(ogg123_location)\"
-+PARAMS= -DCMP3_VER=\"$(VERSION)\" -DEXEC_LOC=\"$(mpg123_location)\" \
-+ -DCMP3_CONFIG=\"$(config_file)\" -DOGG_LOC=\"$(ogg123_location)\"
- RNMP3PARAMS= -DVERSION="\$(VERSION)\"
- # Something for me and my cd changer, you definately don't want it as it
- # stands. Change the code to do something else you want it to do...
- #PARAMS +=-DMY_CD
- LIBS= -lform -lncurses
--CFLAGS= -g -O -Inevlib
-+CFLAGS= @CFLAGS@ -Inevlib
- CC= @CC@
- OBJS= cmp3common.o cmp3fileio.o cmp3manager.o cmp3curses.o \
- cmp3llist.o cmp3main.o cmp3listfiles.o cmp3playlist.o cmp3volume.o \
-@@ -83,7 +83,7 @@ shmdump: cmp3shmdump.c
- $(CC) $(CFLAGS) cmp3shmdump.c -o cmp3shmdump
-
- cmp3: lib $(OBJS)
-- $(CC) $(CFLAGS) $(OBJS) nevlib/libnev.a $(LIBS) -o cmp3
-+ $(CC) $(CFLAGS) $(OBJS) nevlib/libnev.a $(LDFLAGS) $(LIBS) -o cmp3
-
- lib:
- @$(MAKE) -C nevlib lib
-@@ -103,7 +103,7 @@ tar: distclean
- 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-cmp3.h b/audio/cmp3/files/patch-cmp3.h
deleted file mode 100644
index 8ee9d208c44f..000000000000
--- a/audio/cmp3/files/patch-cmp3.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- cmp3.h.orig 2001-07-01 04:38:08 UTC
-+++ cmp3.h
-@@ -1,7 +1,7 @@
- #ifndef _CMP3_H
- #define _CMP3_H
-
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
- #include <ncurses.h>
- #include <termios.h>
- #else
diff --git a/audio/cmp3/files/patch-cmp3common.c b/audio/cmp3/files/patch-cmp3common.c
deleted file mode 100644
index e77e883d8e56..000000000000
--- a/audio/cmp3/files/patch-cmp3common.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- cmp3common.c.orig 2001-06-13 20:13:13 UTC
-+++ cmp3common.c
-@@ -102,7 +102,7 @@ int Strncmp(const char *str1, /* Firs
- return(i);
- }
-
--int getline(char *var, /* Buffer to copy line into */
-+int get_line(char *var, /* Buffer to copy line into */
- int maxbuf, /* MAX to send to fgets */
- FILE *input /* File descriptor to get line from */)
- {
-@@ -142,4 +142,4 @@ void *Malloc(size_t size)
- }
-
-
--/* EOF */
-\ No newline at end of file
-+/* EOF */
diff --git a/audio/cmp3/files/patch-cmp3funcs.h b/audio/cmp3/files/patch-cmp3funcs.h
deleted file mode 100644
index 14b95fb3f2f0..000000000000
--- a/audio/cmp3/files/patch-cmp3funcs.h
+++ /dev/null
@@ -1,18 +0,0 @@
---- cmp3funcs.h.orig 2001-06-13 20:13:27 UTC
-+++ cmp3funcs.h
-@@ -64,7 +64,7 @@ extern Sigfunc *Signal(int signo, Sigfun
- extern char *Strdup(const char *string);
- extern int Strcmp(const char *str1, const char *str2);
- extern int Strncmp(const char *str1, const char *str2, int num);
--extern int getline(char *var, int maxbuf, FILE *input);
-+extern int get_line(char *var, int maxbuf, FILE *input);
-
- extern void *Malloc(size_t size);
-
-@@ -86,4 +86,4 @@ extern void voldown();
- /* cmp3id3.c */
- extern int readid3(id3info_t *songinfo, char *songfilename);
-
--/* EOF */
-\ No newline at end of file
-+/* EOF */
diff --git a/audio/cmp3/files/patch-cmp3listfiles.c b/audio/cmp3/files/patch-cmp3listfiles.c
deleted file mode 100644
index 291a3a2d3f67..000000000000
--- a/audio/cmp3/files/patch-cmp3listfiles.c
+++ /dev/null
@@ -1,23 +0,0 @@
---- cmp3listfiles.c.orig 2001-06-13 20:13:16 UTC
-+++ cmp3listfiles.c
-@@ -270,13 +270,13 @@ void writelist(char *filepath)
- /* XXX - alert person */
- return;
- fprintf(outfile,
--"##############################################################################
--# Dumped Cmp3 playlist ass file
--#
--# Addable features (on individual lines):
--# %%[command] - executes commands initially using system() call
--# @ - randomizes this playlist at load time
--# $ - turns on repeat mode at load time
-+"##############################################################################\n\
-+# Dumped Cmp3 playlist ass file\n\
-+#\n\
-+# Addable features (on individual lines):\n\
-+# %%[command] - executes commands initially using system() call\n\
-+# @ - randomizes this playlist at load time\n\
-+# $ - turns on repeat mode at load time\n\
- #\n\n");
-
- filename = shmptr->plhead;
diff --git a/audio/cmp3/files/patch-cmp3main.c b/audio/cmp3/files/patch-cmp3main.c
deleted file mode 100644
index bd2ad501d9f5..000000000000
--- a/audio/cmp3/files/patch-cmp3main.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- cmp3main.c.orig 2001-07-07 19:17:23 UTC
-+++ cmp3main.c
-@@ -33,13 +33,18 @@ int main(int argc, char **argv)
- int lastleftline = 0;
- int lastrightline = 0;
- char *init_dir = NULL;
-+ char *home_dir = NULL;
-+ char cmp3_config[4096];
-
- if (argc > 1)
- docmdline(argc, argv);
- shm_init();
-
- cmp3rc = ini_create();
-- if (ini_load(cmp3rc, CMP3_CONFIG) == INI_FAIL)
-+ home_dir = getenv("HOME");
-+ strcpy (cmp3_config, home_dir);
-+ strcat (cmp3_config, "/.cmp3rc");
-+ if (ini_load(cmp3rc, cmp3_config) == INI_FAIL)
- {
- ini_destroy(cmp3rc);
- cmp3rc = NULL;
diff --git a/audio/cmp3/files/patch-cmp3volume.c b/audio/cmp3/files/patch-cmp3volume.c
deleted file mode 100644
index b082de7b2379..000000000000
--- a/audio/cmp3/files/patch-cmp3volume.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- cmp3volume.c.orig 2001-07-01 04:38:08 UTC
-+++ cmp3volume.c
-@@ -3,11 +3,7 @@
- */
-
- #include "cmp3funcs.h"
--#if defined(__FreeBSD__)
--#include <machine/soundcard.h>
--#else
- #include<sys/soundcard.h>
--#endif
-
- static int mixernum, /* ID number for the mixer */
- vol; /* Current volume level */
diff --git a/audio/cmp3/files/patch-nevlib_Makefile.in b/audio/cmp3/files/patch-nevlib_Makefile.in
deleted file mode 100644
index 22432bcca089..000000000000
--- a/audio/cmp3/files/patch-nevlib_Makefile.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- nevlib/Makefile.in.orig 2001-07-29 05:09:13 UTC
-+++ nevlib/Makefile.in
-@@ -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-rnmp3.c b/audio/cmp3/files/patch-rnmp3.c
deleted file mode 100644
index 17d87ddcffc1..000000000000
--- a/audio/cmp3/files/patch-rnmp3.c
+++ /dev/null
@@ -1,43 +0,0 @@
---- rnmp3.c.orig 2001-06-13 20:13:19 UTC
-+++ rnmp3.c
-@@ -256,25 +256,21 @@ int main(int argc, char **argv)
-
- void usage()
- {
-- printf("rnmp3 %s:
--
--Usage - pipe names into rnmp3. (\"find | rnmp3 args\")
-- If first parameter starts with -, the following string will be removed
-- from all names if they exist (enclose spaces with \"\")
-- If any other commands are entered, commands will not be executed,
-- just printed
--
-- rnmp3 Rename
-- rnmp3 test Don't rename, just show changes
-- rnmp3 -\"string\" Rename after removing \"string\"
-- rnmp3 -\"string\" test Don't rename after removing \"string\"
-- rnmp3 --test test Rename after removing \"-test\"
--
-- Before - \"1-This is my (file name) man.mp3\"
-- After - \"01-ThisIsMy-FileName-Man.mp3\"
--
--Suggested uses:
-- find . | rnmp3
-+ printf("rnmp3 %s:\n\n\
-+Usage - pipe names into rnmp3. (\"find | rnmp3 args\")\n\
-+ If first parameter starts with -, the following string will be removed\n\
-+ from all names if they exist (enclose spaces with \"\")\n\
-+ If any other commands are entered, commands will not be executed,\n\
-+ just printed\n\n\
-+ rnmp3 Rename\n\
-+ rnmp3 test Don't rename, just show changes\n\
-+ rnmp3 -\"string\" Rename after removing \"string\"\n\
-+ rnmp3 -\"string\" test Don't rename after removing \"string\"\n\
-+ rnmp3 --test test Rename after removing \"-test\"\n\n\
-+ Before - \"1-This is my (file name) man.mp3\"\n\
-+ After - \"01-ThisIsMy-FileName-Man.mp3\"\n\n\
-+Suggested uses:\n\
-+ find . | rnmp3\n\
- find . -type f | rnmp3\n", VERSION);
-
- exit(0);
diff --git a/audio/cmp3/pkg-descr b/audio/cmp3/pkg-descr
deleted file mode 100644
index a3102eefee9f..000000000000
--- a/audio/cmp3/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-A simple yet featureful ncurses frontend to mpg123. Includes
-playlist support, volume control and tools to help with file
-management. The author is Neville Kadwa <pandama@psu.edu>.