diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-04 16:48:46 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-04 16:48:46 +0000 |
commit | e693eb0722d3fa258b053188090049b1cfb89708 (patch) | |
tree | 760448cf3a3b36aa83d0677177939f2184742ab8 | |
parent | 37adc7ebed928d1c6d171a27156e233b01cdac89 (diff) | |
download | ports-e693eb0722d3fa258b053188090049b1cfb89708.tar.gz ports-e693eb0722d3fa258b053188090049b1cfb89708.zip |
add ksmp3play
An curses-based MP3 player
Notes
Notes:
svn path=/head/; revision=49575
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/ksmp3play/Makefile | 35 | ||||
-rw-r--r-- | audio/ksmp3play/distinfo | 1 | ||||
-rw-r--r-- | audio/ksmp3play/files/patch-ksmp3play.h | 21 | ||||
-rw-r--r-- | audio/ksmp3play/pkg-comment | 1 | ||||
-rw-r--r-- | audio/ksmp3play/pkg-descr | 6 | ||||
-rw-r--r-- | audio/ksmp3play/pkg-plist | 12 |
7 files changed, 77 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index f68f2de6f334..4322a23c09a0 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -95,6 +95,7 @@ SUBDIR += knapster SUBDIR += koog SUBDIR += krio + SUBDIR += ksmp3play SUBDIR += lame SUBDIR += lame-devel SUBDIR += liba52 diff --git a/audio/ksmp3play/Makefile b/audio/ksmp3play/Makefile new file mode 100644 index 000000000000..6afead8c363c --- /dev/null +++ b/audio/ksmp3play/Makefile @@ -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> diff --git a/audio/ksmp3play/distinfo b/audio/ksmp3play/distinfo new file mode 100644 index 000000000000..976e18e83626 --- /dev/null +++ b/audio/ksmp3play/distinfo @@ -0,0 +1 @@ +MD5 (ksmp3play-0.5.1.tar.gz) = 39c54413c05abf4d462d313313b4f159 diff --git a/audio/ksmp3play/files/patch-ksmp3play.h b/audio/ksmp3play/files/patch-ksmp3play.h new file mode 100644 index 000000000000..f66e30496479 --- /dev/null +++ b/audio/ksmp3play/files/patch-ksmp3play.h @@ -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> diff --git a/audio/ksmp3play/pkg-comment b/audio/ksmp3play/pkg-comment new file mode 100644 index 000000000000..45ce2b958062 --- /dev/null +++ b/audio/ksmp3play/pkg-comment @@ -0,0 +1 @@ +An curses-based MP3 player diff --git a/audio/ksmp3play/pkg-descr b/audio/ksmp3play/pkg-descr new file mode 100644 index 000000000000..a1a5c6cf5114 --- /dev/null +++ b/audio/ksmp3play/pkg-descr @@ -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/ diff --git a/audio/ksmp3play/pkg-plist b/audio/ksmp3play/pkg-plist new file mode 100644 index 000000000000..4da10bc5dd47 --- /dev/null +++ b/audio/ksmp3play/pkg-plist @@ -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 |