diff options
author | lioux <lioux@FreeBSD.org> | 2004-06-24 01:10:57 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-06-24 01:10:57 +0800 |
commit | 75aedb2842f502e73a0f64f36ae2d6ca51d2507a (patch) | |
tree | 0ff89aff94f0377eb9b4cb71384921b882675daf /multimedia/kmplayer/Makefile | |
parent | ee6583847de66e1d02245417a91ee73de05ae3f5 (diff) | |
download | freebsd-ports-gnome-75aedb2842f502e73a0f64f36ae2d6ca51d2507a.tar.gz freebsd-ports-gnome-75aedb2842f502e73a0f64f36ae2d6ca51d2507a.tar.zst freebsd-ports-gnome-75aedb2842f502e73a0f64f36ae2d6ca51d2507a.zip |
o Update to 0.8.3rc2
o Take over maintainership
Diffstat (limited to 'multimedia/kmplayer/Makefile')
-rw-r--r-- | multimedia/kmplayer/Makefile | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/multimedia/kmplayer/Makefile b/multimedia/kmplayer/Makefile index 61b85ef153b7..08734ccaf6d1 100644 --- a/multimedia/kmplayer/Makefile +++ b/multimedia/kmplayer/Makefile @@ -6,11 +6,12 @@ # PORTNAME= kmplayer -PORTVERSION= 0.8.2 +PORTVERSION= 0.8.3.r2 CATEGORIES= multimedia audio kde MASTER_SITES= http://www.xs4all.nl/%7Ejjvrieze/ +DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.r/rc/} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= lioux@FreeBSD.org COMMENT= KDE frontend to mplayer RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer @@ -25,6 +26,12 @@ CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_TARGET= CONFIGURE_ARGS+=--with-x=${X11BASE} --disable-debug +OPTIONS= XINE "Enable support for video playback using libxine" off + +.if exists(${X11BASE}/lib/libxine.so) +WITH_XINE=yes +.endif + post-patch: # remove -pedantic where possible to fix build errors on -CURRENT # remove optimizations @@ -36,4 +43,12 @@ post-patch: 's|^(SUBDIRS.*)mimetypes|\1|' \ ${WRKSRC}/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(WITH_XINE) +LIB_DEPENDS+= xine:${PORTSDIR}/multimedia/libxine + +PLIST_FILES= bin/kxineplayer +.endif + +.include <bsd.port.post.mk> |