mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
734349b51e
- Update www/libxul to 10.0.7 - Update all dependent ports to use www/libxul19 (no functional changes) - Bump PORTREVISION on ports where libxul is a run dependency as the resulting package will change. Submitted by: Jan Beich <jbeich@tormail.org> With hat: gecko
83 lines
2.0 KiB
Makefile
83 lines
2.0 KiB
Makefile
# 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
|
|
PORTVERSION= 0.5.907
|
|
PORTREVISION= 3
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF/xine/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An alternative GUI for the Xine media player
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= nspr4.1:${PORTSDIR}/devel/nspr \
|
|
xine.2:${PORTSDIR}/multimedia/libxine
|
|
|
|
OPTIONS_DEFINE= MOZILLA_PLUGIN GNOME LIRC
|
|
MOZILLA_PLUGIN_DESC= Mozilla plugin
|
|
|
|
USE_XZ= yes
|
|
USE_GNOME= gnomehack gtk20
|
|
USE_GECKO= libxul19
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
CONFIGURE_ENV= MKDIR_P="${MKDIR}"
|
|
CONFIGURE_ARGS= --enable-mozjs --disable-ffjs --disable-seajs \
|
|
--without-hal --with-libintl-prefix=${LOCALBASE}
|
|
INSTALLS_ICONS= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MANLANG= "" de es
|
|
MAN1= gxine.1 gxine_client.1
|
|
MANCOMPRESSED= no
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MMOZILLA_PLUGIN}
|
|
USE_XORG+= xaw
|
|
USE_WEBPLUGINS= native
|
|
WEBPLUGINS_DIR= ${PREFIX}/lib/gxine
|
|
WEBPLUGINS_FILES=gxineplugin.so
|
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
|
PLIST_SUB+= MOZILLA_PLUGIN=""
|
|
.else
|
|
CONFIGURE_ARGS+=--without-browser-plugin
|
|
PLIST_SUB+= MOZILLA_PLUGIN="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGNOME}
|
|
BUILD_DEPENDS+= gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver
|
|
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
|
|
RUN_DEPENDS+= gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver
|
|
CONFIGURE_ARGS+=--with-dbus
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-integration-wizard --without-dbus
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MLIRC}
|
|
LIB_DEPENDS+= lirc_client.2:${PORTSDIR}/comms/lirc
|
|
CONFIGURE_ARGS+=--enable-lirc
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-lirc
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/CFLAGS/s|-I/usr/local/include|| ; \
|
|
/CFLAGS/s|-L/usr/local/lib|| ; \
|
|
/CPPFLAGS/s|-I/usr/local/include|| ; \
|
|
s|XINE_LIST=.*|XINE_LIST=|' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e \
|
|
's|@MAKE_PNG_TRUE@|#|' ${WRKSRC}/pixmaps/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|