summaryrefslogtreecommitdiffstats
path: root/audio/kmix/Makefile
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2014-02-18 14:23:03 +0000
committermakc <makc@FreeBSD.org>2014-02-18 14:23:03 +0000
commit2aba1fd14fd3e36b7ef5336e42b49b97805dcb91 (patch)
treeef2b2b24dfacf6def95c54d3379c421565b1fe2b /audio/kmix/Makefile
parent7574af52b853d1bbf2fcabfa2c04a4e1b98a4674 (diff)
downloadFreeBSD-ports-2aba1fd14fd3e36b7ef5336e42b49b97805dcb91.zip
FreeBSD-ports-2aba1fd14fd3e36b7ef5336e42b49b97805dcb91.tar.gz
KDE/FreeBSD team presents KDE SC 4.12.2 and KDE Workspace 4.11.6!
Among changes: - Switch KDE4_PREFIX to ${LOCALBASE} - Remove now needless misc/kde4-shared-mime-info port - Add stage support - Remove ancient CONFLICTS (KDE 4.9 and less) and LATEST_LINK - Squeeze MASTER_SITES/MASTER_SITE_SUBDIR - Convert LIB_DEPENDS to new style - Use options helpers - Drop support for FreeBSD 7.x - Remove Qt/KDE 3 related workarounds - Remove local patches and use upstream version scheme for libraries - sysutils/kdeadmin4, net/kdenetwork4, devel/kdesdk4, and x11-clocks/kdetoys4 ports have been split. - devel/kcachegrind is now a part of KDE SC [1] - more logs in area51 repo... New ports: devel/kde-dev-scripts: KDE development scripts devel/kde-dev-utils: KDE development utilities games/klickety: Tetris themed solitaire games/picmi: Single player logic-based puzzle game textproc/libkomparediff2: Library to compare files and strings The area51 repository features commits by Schaich Alonso, avilla, rakuco and myself. PR: ports/186491 Exp-run: by bdrewery Approved by: beat (former maintainer) [1]
Diffstat (limited to 'audio/kmix/Makefile')
-rw-r--r--audio/kmix/Makefile34
1 files changed, 11 insertions, 23 deletions
diff --git a/audio/kmix/Makefile b/audio/kmix/Makefile
index 8891afb..7f2d9e8 100644
--- a/audio/kmix/Makefile
+++ b/audio/kmix/Makefile
@@ -4,8 +4,7 @@
PORTNAME= kmix
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= audio kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
@@ -13,10 +12,7 @@ COMMENT= Sound mixer for KDE
LICENSE= GPLv2
-CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
-
USES= cmake:outsource
-NO_STAGE= yes
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
USE_QT4= gui phonon xml \
moc_build qmake_build rcc_build uic_build
@@ -24,23 +20,15 @@ USE_XZ= yes
OPTIONS_DEFINE= ALSA PULSEAUDIO
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MALSA}
-LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib
-.else
-EXTRA_PATCHES+= ${FILESDIR}/extrapatch-no_alsa
-.endif
-
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-CMAKE_ARGS+= -DWITH_Canberra:BOOL=ON \
- -DWITH_PulseAudio:BOOL=ON
-LIB_DEPENDS+= libcanberra.so:${PORTSDIR}/audio/libcanberra \
- libpulse.so:${PORTSDIR}/audio/pulseaudio
-USE_GNOME= glib20
-.else
-CMAKE_ARGS+= -DWITH_Canberra:BOOL=OFF \
- -DWITH_PulseAudio:BOOL=OFF
-.endif
+ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
+ALSA_EXTRA_PATCHES= ${FILESDIR}/extrapatch-no_alsa
+
+PULSEAUDIO_LIB_DEPENDS= libcanberra.so:${PORTSDIR}/audio/libcanberra \
+ libpulse.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_USE= GNOME=glib20
+PULSEAUDIO_CMAKE_ON= -DWITH_Canberra:BOOL=ON \
+ -DWITH_PulseAudio:BOOL=ON
+PULSEAUDIO_CMAKE_OFF= -DWITH_Canberra:BOOL=OFF \
+ -DWITH_PulseAudio:BOOL=OFF
.include <bsd.port.mk>
OpenPOWER on IntegriCloud