ports/105438: maintainer update: multimedia/gxine - fix pkg-plist
Max Brazhnikov
makc at issp.ac.ru
Sun Nov 12 13:30:24 UTC 2006
>Number: 105438
>Category: ports
>Synopsis: maintainer update: multimedia/gxine - fix pkg-plist
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 12 13:30:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Max Brazhnikov
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
FreeBSD luna.zuzino.mipt.ru 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sat Oct 28 18:43:15 MSD 2006 root at luna.zuzino.mipt.ru:/usr/obj/usr/src/sys/LUNA i386
>Description:
fix pkg-plist and make dbus dependency optional.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN --exclude=CVS /usr/ports/multimedia/gxine/Makefile /home/makc/porting/ports/multimedia/gxine/Makefile
--- /usr/ports/multimedia/gxine/Makefile Mon Nov 6 22:26:13 2006
+++ /home/makc/porting/ports/multimedia/gxine/Makefile Sat Nov 11 03:57:58 2006
@@ -7,6 +7,7 @@
PORTNAME= gxine
PORTVERSION= 0.5.8
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xine
@@ -14,8 +15,7 @@
MAINTAINER= makc at issp.ac.ru
COMMENT= An alternative GUI for the Xine media player
-LIB_DEPENDS= xine.15:${PORTSDIR}/multimedia/libxine \
- dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS= xine.15:${PORTSDIR}/multimedia/libxine
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
@@ -23,7 +23,7 @@
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -I${X11BASE}/lib"
-CONFIGURE_ARGS+=--mandir=${PREFIX}/man --with-dbus
+CONFIGURE_ARGS+=--mandir=${PREFIX}/man
CFLAGS= -O2 -fno-strict-aliasing -pipe
INSTALLS_ICONS= yes
@@ -32,9 +32,18 @@
MANCOMPRESSED= no
OPTIONS= MOZILLA_PLUGIN "Install Mozilla plugin" on \
+ DBUS "Enable dbus support" on \
LIRC "Enable lirc support" off
.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_DBUS)
+CONFIGURE_ARGS+=--with-dbus
+LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+.else
+CONFIGURE_ARGS+=--without-dbus
+.endif
+
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
diff -ruN --exclude=CVS /usr/ports/multimedia/gxine/pkg-plist /home/makc/porting/ports/multimedia/gxine/pkg-plist
--- /usr/ports/multimedia/gxine/pkg-plist Mon Nov 6 22:26:13 2006
+++ /home/makc/porting/ports/multimedia/gxine/pkg-plist Mon Nov 6 22:39:36 2006
@@ -47,8 +47,6 @@
%%NLS%%@dirrmtry share/locale/zh_CN
%%NLS%%@dirrmtry share/locale/uk/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/uk
-%%NLS%%@dirrmtry share/locale/sq/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/sq
%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pl
%%NLS%%@dirrmtry share/locale/cs/LC_MESSAGES
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list