From 68ba635c031ef6db299096cd6204aab25ecbd025 Mon Sep 17 00:00:00 2001 From: ade 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 --- net-p2p/teknap/Makefile | 28 +++++++++++++++++++--------- net-p2p/teknap/distinfo | 2 +- net-p2p/teknap/pkg-descr | 2 +- 3 files changed, 21 insertions(+), 11 deletions(-) (limited to 'net-p2p/teknap') diff --git a/net-p2p/teknap/Makefile b/net-p2p/teknap/Makefile index 14e3cc0..7959f73 100644 --- a/net-p2p/teknap/Makefile +++ b/net-p2p/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/net-p2p/teknap/distinfo b/net-p2p/teknap/distinfo index 4d96333..fb41c96 100644 --- a/net-p2p/teknap/distinfo +++ b/net-p2p/teknap/distinfo @@ -1 +1 @@ -MD5 (TekNap-1.0.tar.gz) = 1d8878fc6188cbe31c578f0db3227906 +MD5 (TekNap-1.2.tar.gz) = ecd673c1e5ceb06c2c570f7b1086f9fb diff --git a/net-p2p/teknap/pkg-descr b/net-p2p/teknap/pkg-descr index 5807820..f0e099d 100644 --- a/net-p2p/teknap/pkg-descr +++ b/net-p2p/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.1