aboutsummaryrefslogtreecommitdiffstats
path: root/audio/juk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/juk/Makefile')
-rw-r--r--audio/juk/Makefile81
1 files changed, 20 insertions, 61 deletions
diff --git a/audio/juk/Makefile b/audio/juk/Makefile
index 6ade85d22007..49c18d30d288 100644
--- a/audio/juk/Makefile
+++ b/audio/juk/Makefile
@@ -1,69 +1,28 @@
-# New ports collection makefile for: mpeglib_artsplug
-# Date created: July 09 2004
-# Whom: Michael Nottebrock <lofi@FreeBSD.org>
-#
+# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
# $FreeBSD$
-#
-PORTNAME= juk
-PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 7
-CATEGORIES= audio kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
-PKGNAMEPREFIX= kdemultimedia-
-DISTNAME= kdemultimedia-${PORTVERSION}
-DIST_SUBDIR= KDE
+PORTNAME= juk
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= audio kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
-MAINTAINER= ports@FreeBSD.org
-COMMENT= KDE audio player
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Juk is a jukebox, tagger and music collection manager
-LIB_DEPENDS= akode:${PORTSDIR}/audio/akode \
- tag:${PORTSDIR}/audio/taglib
+LICENSE= GPLv2
-DEPRECATED= Depends on QT3; unmaintained
-EXPIRATION_DATE= 2013-07-01
+LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib
-CONFLICTS= kdemultimedia-3.3*
+CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
-OPTIONS_DEFINE= GSTREAMER
+CMAKE_ARGS= -DWITH_TunePimp:BOOL=OFF
+MAKE_JOBS_SAFE= yes
+KDE4_BUILDENV= yes
+USE_KDE4= automoc4 kdehier kdelibs kdeprefix
+USE_QT4= dbus qt3support svg \
+ moc_build qmake_build rcc_build uic_build
+USE_XZ= yes
-USE_KDELIBS_VER=3
-PREFIX= ${KDE_PREFIX}
-
-USE_BZIP2= yes
-USE_AUTOTOOLS= libtool
-USE_GMAKE= yes
-WRKSRC= ${WRKDIR}/kdemultimedia-${PORTVERSION}
-USE_LDCONFIG= yes
-CONFIGURE_ARGS= --without-musicbrainz
-
-WANT_GSTREAMER= yes
-
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MGSTREAMER} || exists(${LOCALBASE}/lib/libgstreamer-0.10.so)
-GSTREAMER_OVERRIDE=yes
-USE_GSTREAMER= yes
-.endif
-
-
-pre-everything::
-.if defined(GSTREAMER_OVERRIDE)
- @${ECHO_MSG}
- @${ECHO_MSG} "*********************************************************"
- @${ECHO_MSG} "* gstreamer is installed and support has been enabled *"
- @${ECHO_MSG} "* automatically (no additional files will be installed) *"
- @${ECHO_MSG} "*********************************************************"
- @${ECHO_MSG}
-.endif
-
-do-build:
- cd ${WRKSRC}/arts/runtime && ${SETENV} ${MAKE_ENV} ${GMAKE}
- cd ${WRKSRC}/juk && ${SETENV} ${MAKE_ENV} ${GMAKE}
-
-do-install:
- cd ${WRKSRC}/juk && ${SETENV} ${MAKE_ENV} ${GMAKE} install
-
-.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>