diff options
author | ade <ade@FreeBSD.org> | 2000-09-18 02:58:43 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-09-18 02:58:43 +0800 |
commit | 68ba635c031ef6db299096cd6204aab25ecbd025 (patch) | |
tree | 28ee289f1e7b626384d72b865300f463c6cb845d /audio/teknap/Makefile | |
parent | 00af4cf01bb4548e7a9f2af4a67bfbe89b848fed (diff) | |
download | freebsd-ports-gnome-68ba635c031ef6db299096cd6204aab25ecbd025.tar.gz freebsd-ports-gnome-68ba635c031ef6db299096cd6204aab25ecbd025.tar.zst freebsd-ports-gnome-68ba635c031ef6db299096cd6204aab25ecbd025.zip |
Update to version 1.2 and add a few hooks
PR: 21303
Submitted by: maintainer
Diffstat (limited to 'audio/teknap/Makefile')
-rw-r--r-- | audio/teknap/Makefile | 28 |
1 files changed, 19 insertions, 9 deletions
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 |