diff options
author | markus <markus@FreeBSD.org> | 2004-06-17 13:43:11 +0000 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2004-06-17 13:43:11 +0000 |
commit | 9d7b8abf0fe03d1ce251b450edd7d2c5987a4840 (patch) | |
tree | 623b380c8be9d4b06f6faf3099bdfcfc1f8e2475 /audio/amarok/Makefile | |
parent | 2862909f386e714702cb9b8efbd0721e0b7d967a (diff) | |
download | FreeBSD-ports-9d7b8abf0fe03d1ce251b450edd7d2c5987a4840.zip FreeBSD-ports-9d7b8abf0fe03d1ce251b450edd7d2c5987a4840.tar.gz |
- Update to version 1.0
- Use MASTER_SITE_SOURCEFORGE_EXTENDED
- Use OPTIONS
- Add patch to compile with KDE 3.2.0 [1]
Changelog avaiable at http://amarok.kde.org/content/view/7/2/
Obtained from: KDE CVS [1]
Diffstat (limited to 'audio/amarok/Makefile')
-rw-r--r-- | audio/amarok/Makefile | 63 |
1 files changed, 41 insertions, 22 deletions
diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile index 50de245..fefd129 100644 --- a/audio/amarok/Makefile +++ b/audio/amarok/Makefile @@ -5,26 +5,15 @@ # $FreeBSD$ PORTNAME= amarok -PORTVERSION= 0.9 -PORTREVISION= 2 +PORTVERSION= 1.0 CATEGORIES= audio kde -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= markus@FreeBSD.org COMMENT= Media player for KDE -LIB_DEPENDS= artsgui:${PORTSDIR}/multimedia/kdemultimedia3 - -.if defined(WITH_GSTREAMER) -LIB_DEPENDS+= gstplay-0.8.1:${PORTSDIR}/multimedia/gstreamer-plugins -.else -CONFIGURE_ARGS= --without-gstreamer -.endif - -.if defined(WITHOUT_OPENGL) -CONFIGURE_ARGS+=--without-opengl -.endif +LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib USE_BZIP2= yes USE_KDELIBS_VER=3 @@ -32,17 +21,47 @@ USE_GMAKE= yes GNU_CONFIGURE= yes USE_REINPLACE= yes -pre-everything:: -.if !defined(WITH_GSTREAMER) - @${ECHO_MSG} '===>' - @${ECHO_MSG} '===> Define WITH_GSTREAMER to enable experimental GStreamer support' +OPTIONS= ARTS "aRts support" on \ + GSTREAMER "GStreamer support" off \ + XMMS "XMMS visualizations" on \ + OPENGL "OpenGL support" on \ + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_ARTS) +CONFIGURE_ARGS+=--without-arts +PLIST_SUB+= ARTS="@comment " +.else +LIB_DEPENDS+= artsgui:${PORTSDIR}/multimedia/kdemultimedia3 +PLIST_SUB+= ARTS="" .endif -.if !defined(WITHOUT_OPENGL) - @${ECHO_MSG} '===>' - @${ECHO_MSG} '===> Define WITHOUT_OPENGL to disable OpenGL support' + +.if defined(WITHOUT_GSTREAMER) +CONFIGURE_ARGS+=--without-gstreamer +PLIST_SUB+= GSTREAMER="@comment " +.else +LIB_DEPENDS+= gstplay-0.8.1:${PORTSDIR}/multimedia/gstreamer-plugins +PLIST_SUB+= GSTREAMER="" +.endif + +.if defined(WITHOUT_XMMS) +PLIST_SUB+= XMMS="@comment " +.else +BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms +LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms +PLIST_SUB+= XMMS="" +.endif + +.if defined(WITHOUT_OPENGL) +CONFIGURE_ARGS+=--without-opengl .endif post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.mk> +post-configure: +.if defined(WITHOUT_XMMS) + @${REINPLACE_CMD} -e '/XMMS /d' ${WRKSRC}/config.h +.endif + +.include <bsd.port.post.mk> |