diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-11-05 00:48:46 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-11-05 00:48:46 +0800 |
commit | e9066d51c6307a15c5ed0695eadcc7259c15c956 (patch) | |
tree | c54a7747ab67dc602130e89d68b875e5370e74b3 /audio/ksmp3play | |
parent | ea8d211c1da2e2b6ab6554b445b3dee686e28825 (diff) | |
download | freebsd-ports-gnome-e9066d51c6307a15c5ed0695eadcc7259c15c956.tar.gz freebsd-ports-gnome-e9066d51c6307a15c5ed0695eadcc7259c15c956.tar.zst freebsd-ports-gnome-e9066d51c6307a15c5ed0695eadcc7259c15c956.zip |
add ksmp3play
An curses-based MP3 player
Diffstat (limited to 'audio/ksmp3play')
-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 |
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 |