Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2000 03:06:37 +0200 (CEST)
From:      cj@vallcom.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21303: Update port: audio/teknap
Message-ID:  <20000916010637.DE12147@214.norrgarden.se>

next in thread | raw e-mail | index | archive | help

>Number:         21303
>Category:       ports
>Synopsis:       Update port: audio/teknap
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 15 18:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Carl Johan Madestrand
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:
>Description:
Update port to latest version and add a few hooks.
>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/teknap/Makefile teknap/Makefile
--- /usr/ports/audio/teknap/Makefile	Thu Jul  6 05:48:38 2000
+++ teknap/Makefile	Sat Sep 16 02:52:39 2000
@@ -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 @@
 
 .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 @@
 		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 -urN /usr/ports/audio/teknap/files/md5 teknap/files/md5
--- /usr/ports/audio/teknap/files/md5	Thu Jul  6 05:48:39 2000
+++ teknap/files/md5	Sat Sep 16 02:32:42 2000
@@ -1 +1 @@
-MD5 (TekNap-1.0.tar.gz) = 1d8878fc6188cbe31c578f0db3227906
+MD5 (TekNap-1.2.tar.gz) = ecd673c1e5ceb06c2c570f7b1086f9fb
diff -urN /usr/ports/audio/teknap/pkg/DESCR teknap/pkg/DESCR
--- /usr/ports/audio/teknap/pkg/DESCR	Thu Jul  6 05:48:39 2000
+++ teknap/pkg/DESCR	Sat Sep 16 02:59:24 2000
@@ -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.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000916010637.DE12147>