summaryrefslogtreecommitdiff
path: root/audio/ksmp3play
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-04 16:48:46 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-04 16:48:46 +0000
commite693eb0722d3fa258b053188090049b1cfb89708 (patch)
tree760448cf3a3b36aa83d0677177939f2184742ab8 /audio/ksmp3play
parentSlight modification to accomodate devel environment. (diff)
add ksmp3play
An curses-based MP3 player
Notes
Notes: svn path=/head/; revision=49575
Diffstat (limited to 'audio/ksmp3play')
-rw-r--r--audio/ksmp3play/Makefile35
-rw-r--r--audio/ksmp3play/distinfo1
-rw-r--r--audio/ksmp3play/files/patch-ksmp3play.h21
-rw-r--r--audio/ksmp3play/pkg-comment1
-rw-r--r--audio/ksmp3play/pkg-descr6
-rw-r--r--audio/ksmp3play/pkg-plist12
6 files changed, 76 insertions, 0 deletions
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