From d6a5dc7549895e5107a937473925e8b1c8c93283 Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Sun, 17 Sep 2000 18:58:43 +0000 Subject: Update to version 1.2 and add a few hooks PR: 21303 Submitted by: maintainer --- audio/teknap/Makefile | 28 +++++++++++++++++++--------- audio/teknap/distinfo | 2 +- audio/teknap/pkg-descr | 2 +- 3 files changed, 21 insertions(+), 11 deletions(-) (limited to 'audio/teknap') diff --git a/audio/teknap/Makefile b/audio/teknap/Makefile index 14e3cc0fb1db..7959f730ac34 100644 --- a/audio/teknap/Makefile +++ b/audio/teknap/Makefile @@ -6,17 +6,22 @@ # PORTNAME= TekNap -PORTVERSION= 1.0 +PORTVERSION= 1.2 CATEGORIES= audio MASTER_SITES= ftp://ftp.teknap.com/pub/TekNap/ \ - ftp://ftp.bitchx.com/pub/TekNap/ \ - ftp://ukug.uk.freebsd.org/pub/lord_cj/ + ftp://ftp.bitchx.com/pub/TekNap/ MAINTAINER= cj@vallcom.net .if defined(WITH_GTK) LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 .endif +.if defined(WITH_MP3) +BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 +.endif +.if defined(WITH_XMMS) +BUILD_DEPENDS= xmms:${PORTSDIR}/audio/xmms +.endif GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config GTK_CONFIG?= ${X11BASE}/bin/gtk12-config @@ -26,8 +31,12 @@ USE_GMAKE= yes .if defined(WITH_GTK) CONFIGURE_ARGS+= --with-gtk -.else -CONFIGURE_ARGS+= --without-gtk +.endif +.if defined(WITH_MP3) +CONFIGURE_ARGS+= --enable-mp3 +.endif +.if defined(WITH_XMMS) +CONFIGURE_ARGS+= --enable-xmms .endif CONFIGURE_ARGS+= --exec-prefix="${PREFIX}/share" \ --bindir="${PREFIX}/bin" \ @@ -41,11 +50,12 @@ MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_DATA="${INSTALL_DATA}" PLIST_SUB+= PORTVERSION="${PORTVERSION}" -.if !defined(WITH_GTK) pre-extract: - @${ECHO} "You can add hooks for GTK by defining WITH_GTK" -.endif - + @${ECHO} "Available switches:" + @${ECHO} "-------------------" + @${ECHO} "WITH_GTK - Add GTK support" + @${ECHO} "WITH_MP3 - Support MP3 playback" + @${ECHO} "WITH_XMMS - Support XMMS" pre-configure: ${PERL} -pi -e "s:-lc_r:-pthread:g" ${WRKSRC}/configure diff --git a/audio/teknap/distinfo b/audio/teknap/distinfo index 4d96333a3ac7..fb41c9650346 100644 --- a/audio/teknap/distinfo +++ b/audio/teknap/distinfo @@ -1 +1 @@ -MD5 (TekNap-1.0.tar.gz) = 1d8878fc6188cbe31c578f0db3227906 +MD5 (TekNap-1.2.tar.gz) = ecd673c1e5ceb06c2c570f7b1086f9fb diff --git a/audio/teknap/pkg-descr b/audio/teknap/pkg-descr index 58078200cbd9..f0e099da1f4c 100644 --- a/audio/teknap/pkg-descr +++ b/audio/teknap/pkg-descr @@ -1,4 +1,4 @@ -BWap is a console Napster client using curses/ncurses/termcap and +TekNap is a console Napster client using curses/ncurses/termcap and pthreads if available. It has powerful scripting features based on BitchX/Epic scripting, support for both Napster and opennap servers, and a full-screen browse/search mode. -- cgit v1.2.3