aboutsummaryrefslogtreecommitdiff
path: root/audio/mumble
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-03-31 20:30:10 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-03-31 20:30:10 +0000
commitc8532f0389a81d83d21243bdbd8023b5a188e53a (patch)
tree06870214b17922199e6e1349b46d7bb562507267 /audio/mumble
parentb6f23e45eefe3fe6b898bb17cfe3cd9fbe325127 (diff)
downloadports-c8532f0389a81d83d21243bdbd8023b5a188e53a.tar.gz
ports-c8532f0389a81d83d21243bdbd8023b5a188e53a.zip
Notes
Diffstat (limited to 'audio/mumble')
-rw-r--r--audio/mumble/Makefile15
-rw-r--r--audio/mumble/pkg-plist1
2 files changed, 13 insertions, 3 deletions
diff --git a/audio/mumble/Makefile b/audio/mumble/Makefile
index 355873afac41..e64375eea406 100644
--- a/audio/mumble/Makefile
+++ b/audio/mumble/Makefile
@@ -30,13 +30,12 @@ USE_XORG= ice
HAS_CONFIGURE= yes
INSTALLS_ICONS= yes
-MAKE_JOBS_SAFE= yes
-
CONFIG= no-server no-alsa no-speechd no-bundled-speex no-bundled-celt no-update \
- no-g15 no-portaudio no-pulseaudio no-xevie no-11x
+ no-g15 no-portaudio no-pulseaudio no-xevie
OPTIONS= DBUS "Enable D-Bus support" on \
BONJOUR "Enable Bonjour support" off \
+ MUMBLE11X "Enable mumble 1.1 support" off \
MAN1= mumble.1
@@ -58,6 +57,13 @@ CONFIG+= no-bonjour
LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder
.endif
+.if defined(WITHOUT_MUMBLE11X)
+CONFIG+= no-11x
+PLIST_SUB+= MUMBLE11X="@comment "
+.else
+PLIST_SUB+= MUMBLE11X=""
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/overlay_gl/overlay_gl.pro
@@ -66,6 +72,9 @@ do-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/release/mumble ${PREFIX}/bin
+.if !defined(WITHOUT_MUMBLE11X)
+ ${INSTALL_PROGRAM} ${WRKSRC}/release/mumble11x ${PREFIX}/bin
+.endif
${MKDIR} ${PREFIX}/share/services
${INSTALL_DATA} ${WRKSRC}/scripts/mumble.protocol ${PREFIX}/share/services
${MKDIR} ${PREFIX}/share/applications
diff --git a/audio/mumble/pkg-plist b/audio/mumble/pkg-plist
index 0f13fc10f21f..9671ec10e28e 100644
--- a/audio/mumble/pkg-plist
+++ b/audio/mumble/pkg-plist
@@ -1,5 +1,6 @@
@comment $FreeBSD$
bin/mumble
+%%MUMBLE11X%%bin/mumble11x
share/applications/mumble.desktop
share/services/mumble.protocol
share/icons/hicolor/128x128/apps/mumble.png