1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

add ksmp3play

An curses-based MP3 player
This commit is contained in:
Ying-Chieh Liao 2001-11-04 16:48:46 +00:00
parent 37adc7ebed
commit e693eb0722
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49575
7 changed files with 77 additions and 0 deletions

View File

@ -95,6 +95,7 @@
SUBDIR += knapster
SUBDIR += koog
SUBDIR += krio
SUBDIR += ksmp3play
SUBDIR += lame
SUBDIR += lame-devel
SUBDIR += liba52

35
audio/ksmp3play/Makefile Normal file
View File

@ -0,0 +1,35 @@
# ex:ts=8
# New ports collection makefile for: ksmp3play
# Date created: Nov 4, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= ksmp3play
PORTVERSION= 0.5.1
CATEGORIES= audio
MASTER_SITES= http://www.xanadunet.net/ksmp3play/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \
smpeg:${PORTSDIR}/graphics/smpeg \
gnugetopt:${PORTSDIR}/devel/libgnugetopt
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
MAN1= ksmp3play.1
post-patch:
@${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ksmp3play* ${DOCSDIR}
.endif
.include <bsd.port.mk>

1
audio/ksmp3play/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ksmp3play-0.5.1.tar.gz) = 39c54413c05abf4d462d313313b4f159

View File

@ -0,0 +1,21 @@
--- ksmp3play.h.orig Sun Nov 4 20:25:57 2001
+++ ksmp3play.h Sun Nov 4 20:26:42 2001
@@ -29,8 +29,9 @@
#include <errno.h>
#include <time.h>
#include <smpeg/smpeg.h>
-#ifdef __linux__
+/* #ifdef __linux__ */
#include <getopt.h>
+/*
#else
struct option
{
@@ -43,6 +44,7 @@
# define required_argument 1
# define optional_argument 2
#endif
+*/
#define BUFLEN 200
#ifdef HAVE_CONFIG_H
#include <config.h>

View File

@ -0,0 +1 @@
An curses-based MP3 player

View File

@ -0,0 +1,6 @@
Ksmp3play is an curses-based MP3 player. This allows you to control the
player on another computer using telnet or ssh, which might be useful if
you have an old computer dedicated for mp3 playing. Other features include
song rating and volume settings for each song.
WWW: http://www.xanadunet.net/ksmp3play/

12
audio/ksmp3play/pkg-plist Normal file
View File

@ -0,0 +1,12 @@
bin/ksmp3play
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.html/ch-usage.html
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.html/footnotes.html
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.html/ch-intro.html
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.html/index.html
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.html/ch-install.html
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.html/ch-qa.html
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.pdf
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.sgml
%%PORTDOCS%%share/doc/ksmp3play/ksmp3play.txt
%%PORTDOCS%%@dirrm share/doc/ksmp3play/ksmp3play.html
%%PORTDOCS%%@dirrm share/doc/ksmp3play