aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/teknap
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-09-17 18:58:43 +0000
committerAde Lovett <ade@FreeBSD.org>2000-09-17 18:58:43 +0000
commitd6a5dc7549895e5107a937473925e8b1c8c93283 (patch)
tree2cd8d386b66251f19279245e12efab5c6e242188 /net-p2p/teknap
parent51fa5e84a8d4281f839dc98d1f227eadc187f345 (diff)
downloadports-d6a5dc7549895e5107a937473925e8b1c8c93283.tar.gz
ports-d6a5dc7549895e5107a937473925e8b1c8c93283.zip
Notes
Diffstat (limited to 'net-p2p/teknap')
-rw-r--r--net-p2p/teknap/Makefile28
-rw-r--r--net-p2p/teknap/distinfo2
-rw-r--r--net-p2p/teknap/pkg-descr2
3 files changed, 21 insertions, 11 deletions
diff --git a/net-p2p/teknap/Makefile b/net-p2p/teknap/Makefile
index 14e3cc0fb1db..7959f730ac34 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 4d96333a3ac7..fb41c9650346 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 58078200cbd9..f0e099da1f4c 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.