2003-03-02 18:21:06 +01:00
|
|
|
# New ports collection makefile for: KMplayer
|
|
|
|
# Date created: Jan 31, 2003
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kmplayer
|
2007-09-18 20:15:57 +02:00
|
|
|
PORTVERSION= 0.9.4a
|
2005-11-28 18:25:23 +01:00
|
|
|
PORTEPOCH= 2
|
2003-03-05 01:22:49 +01:00
|
|
|
CATEGORIES= multimedia audio kde
|
2007-09-18 20:15:57 +02:00
|
|
|
MASTER_SITES= http://kmplayer.kde.org/pkgs/ \
|
|
|
|
http://freebsd.ricin.com/ports/distfiles/
|
2004-12-15 17:05:14 +01:00
|
|
|
#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.r/-rc/}
|
2003-03-02 18:21:06 +01:00
|
|
|
|
2007-09-18 20:15:57 +02:00
|
|
|
MAINTAINER= danny@ricin.com
|
2003-03-02 18:21:06 +01:00
|
|
|
COMMENT= KDE frontend to mplayer
|
|
|
|
|
|
|
|
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_KDEBASE_VER=3
|
2004-12-15 17:05:14 +01:00
|
|
|
USE_XLIB= yes
|
2003-03-02 18:21:06 +01:00
|
|
|
USE_GMAKE= yes
|
2006-02-26 20:03:38 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-03-02 18:21:06 +01:00
|
|
|
|
2007-09-18 20:15:57 +02:00
|
|
|
OPTIONS= GSTREAMER "Enable gstreamer playback support" off \
|
|
|
|
XINE "Enable libxine playback support" off
|
2004-06-23 19:10:57 +02:00
|
|
|
|
2005-02-28 23:16:10 +01:00
|
|
|
WANT_GSTREAMER= yes
|
2004-12-15 17:05:14 +01:00
|
|
|
|
2003-03-05 01:22:49 +01:00
|
|
|
post-patch:
|
|
|
|
# do not try to roll our own mimetypes
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^(SUBDIRS.*)mimetypes|\1|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2004-06-23 19:10:57 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-12-15 17:05:14 +01:00
|
|
|
.if defined(WITH_GSTREAMER)
|
2005-02-28 23:16:10 +01:00
|
|
|
USE_GSTREAMER+= yes
|
2004-12-15 17:05:14 +01:00
|
|
|
PLIST_FILES+= bin/kgstplayer
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gstreamer
|
|
|
|
.endif
|
2004-06-23 19:10:57 +02:00
|
|
|
.if defined(WITH_XINE)
|
|
|
|
LIB_DEPENDS+= xine:${PORTSDIR}/multimedia/libxine
|
2004-12-15 17:05:14 +01:00
|
|
|
PLIST_FILES+= bin/kxineplayer
|
2007-09-18 20:15:57 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-xine
|
2004-06-23 19:10:57 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|