2003-04-19 20:34:23 +02:00
|
|
|
# New ports collection makefile for: gxine
|
|
|
|
# Date created: Sa 19 Apr 2003 01:34:06 CEST
|
|
|
|
# Whom: Grigori Goronzy <greg@chown.ath.cx>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gxine
|
2010-01-05 14:18:49 +01:00
|
|
|
PORTVERSION= 0.5.905
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 4
|
2003-04-19 20:34:23 +02:00
|
|
|
CATEGORIES= multimedia
|
2010-01-05 14:18:49 +01:00
|
|
|
MASTER_SITES= SF/xine/${PORTNAME}/${PORTVERSION}
|
2003-04-19 20:34:23 +02:00
|
|
|
|
2009-02-21 12:31:28 +01:00
|
|
|
MAINTAINER= makc@FreeBSD.org
|
2003-04-19 20:34:23 +02:00
|
|
|
COMMENT= An alternative GUI for the Xine media player
|
|
|
|
|
2007-02-15 09:35:23 +01:00
|
|
|
LIB_DEPENDS= xine.1:${PORTSDIR}/multimedia/libxine
|
2003-04-19 20:34:23 +02:00
|
|
|
|
2006-08-29 00:51:24 +02:00
|
|
|
USE_BZIP2= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-06-24 00:04:39 +02:00
|
|
|
USE_GNOME= gtk20 gnomehier
|
2006-08-29 00:51:24 +02:00
|
|
|
USE_GMAKE= yes
|
2008-06-22 21:54:59 +02:00
|
|
|
USE_GCC= 4.2+
|
2008-03-26 16:20:02 +01:00
|
|
|
MAKE_ARGS+= LDFLAGS=-shared-libgcc
|
|
|
|
CNU_CONFIGURE= yes
|
2009-03-15 22:18:29 +01:00
|
|
|
CONFIGURE_ARGS+=--without-hal --with-libintl-prefix=${LOCALBASE}
|
2006-08-29 00:51:24 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2003-04-19 20:34:23 +02:00
|
|
|
|
2009-04-05 20:45:34 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2008-03-26 16:20:02 +01:00
|
|
|
MANLANG= "" de es
|
2006-08-29 00:51:24 +02:00
|
|
|
MAN1= gxine.1 gxine_client.1
|
|
|
|
MANCOMPRESSED= no
|
2003-04-19 20:34:23 +02:00
|
|
|
|
2010-01-05 14:18:49 +01:00
|
|
|
OPTIONS= MOZILLA_PLUGIN "Install Mozilla plugin" off \
|
2008-06-19 01:34:42 +02:00
|
|
|
GNOME "Enable Gnome integration" off \
|
2009-03-15 22:18:29 +01:00
|
|
|
LIRC "Enable lirc support" off
|
2006-06-24 00:04:39 +02:00
|
|
|
|
2010-01-05 14:18:49 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2006-11-13 10:48:51 +01:00
|
|
|
|
2008-06-19 01:34:42 +02:00
|
|
|
.if defined(WITH_GNOME)
|
|
|
|
USE_GNOME+= gnomevfs2 libgnomeui
|
2006-11-13 10:48:51 +01:00
|
|
|
CONFIGURE_ARGS+=--with-dbus
|
|
|
|
.else
|
2010-01-05 14:18:49 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-integration-wizard --without-dbus
|
2006-11-13 10:48:51 +01:00
|
|
|
.endif
|
|
|
|
|
2006-08-29 00:51:24 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
2006-06-24 00:04:39 +02:00
|
|
|
|
2006-11-06 20:26:14 +01:00
|
|
|
.if defined(WITH_LIRC)
|
2011-02-26 23:11:54 +01:00
|
|
|
LIB_DEPENDS+= lirc_client.2:${PORTSDIR}/comms/lirc
|
2006-11-06 20:26:14 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-lirc
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-lirc
|
|
|
|
.endif
|
|
|
|
|
2006-06-24 00:04:39 +02:00
|
|
|
.if defined(WITHOUT_MOZILLA_PLUGIN)
|
2006-08-29 00:51:24 +02:00
|
|
|
LIB_DEPENDS+= js.1:${PORTSDIR}/lang/spidermonkey
|
2009-03-15 22:18:29 +01:00
|
|
|
CONFIGURE_ARGS+=--without-browser-plugin --with-spidermonkey
|
2006-06-24 00:04:39 +02:00
|
|
|
PLIST_SUB+= MOZILLA_PLUGIN="@comment "
|
|
|
|
.else
|
2010-01-05 14:18:49 +01:00
|
|
|
USE_XORG+= xaw
|
2010-10-29 20:04:39 +02:00
|
|
|
USE_GECKO= libxul
|
2009-01-10 03:45:46 +01:00
|
|
|
USE_WEBPLUGINS= native
|
|
|
|
WEBPLUGINS_DIR= ${PREFIX}/lib/gxine
|
|
|
|
WEBPLUGINS_FILES=gxineplugin.so
|
|
|
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
2006-11-06 20:26:14 +01:00
|
|
|
LIB_DEPENDS+= nspr4.1:${PORTSDIR}/devel/nspr
|
2006-12-31 15:04:18 +01:00
|
|
|
CONFIGURE_ENV+= NSPR_CFLAGS="-I${LOCALBASE}/include/nspr" \
|
|
|
|
NSPR_LIBS="-L${LOCALBASE}/lib"
|
2006-06-24 00:04:39 +02:00
|
|
|
PLIST_SUB+= MOZILLA_PLUGIN=""
|
|
|
|
.endif
|
|
|
|
|
2007-01-04 04:56:15 +01:00
|
|
|
pre-configure:
|
2008-03-26 16:20:02 +01:00
|
|
|
@${REINPLACE_CMD} -e "/^mkdir_p/s:@mkdir_p@:${MKDIR}:" \
|
2007-01-04 04:56:15 +01:00
|
|
|
${WRKSRC}/po/Makefile.in.in
|
2008-03-26 16:20:02 +01:00
|
|
|
@${REINPLACE_CMD} -e "/^mkdir_p/s:@mkdir_p@:${MKDIR}:" \
|
2007-01-04 04:56:15 +01:00
|
|
|
${WRKSRC}/misc/po/Makefile.in.in
|
2008-06-19 01:34:42 +02:00
|
|
|
@${REINPLACE_CMD} -e "s:@MAKE_PNG_TRUE@:#:g" \
|
|
|
|
${WRKSRC}/pixmaps/Makefile.in
|
2007-01-04 04:56:15 +01:00
|
|
|
|
2010-01-05 14:18:49 +01:00
|
|
|
.include <bsd.port.mk>
|