aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorbar <bar@FreeBSD.org>2014-05-01 19:08:29 +0800
committerbar <bar@FreeBSD.org>2014-05-01 19:08:29 +0800
commit0fe24a14531c3b43f56100d56fd810648a3a29c1 (patch)
tree6904d297973416b5b74abff2a4acd68d0909f464 /x11-wm
parent36c4578f324ea646861b858ca295f4d78f17c3ca (diff)
downloadfreebsd-ports-gnome-0fe24a14531c3b43f56100d56fd810648a3a29c1.tar.gz
freebsd-ports-gnome-0fe24a14531c3b43f56100d56fd810648a3a29c1.tar.zst
freebsd-ports-gnome-0fe24a14531c3b43f56100d56fd810648a3a29c1.zip
Fix pkg-plist when built without GNOME
While here: - Fix a misspelled option in a test - Strip binaries PR: ports/189014
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/compiz/Makefile7
-rw-r--r--x11-wm/compiz/pkg-plist2
2 files changed, 6 insertions, 3 deletions
diff --git a/x11-wm/compiz/Makefile b/x11-wm/compiz/Makefile
index 6884f3424db8..c0158cfab0af 100644
--- a/x11-wm/compiz/Makefile
+++ b/x11-wm/compiz/Makefile
@@ -2,7 +2,7 @@
PORTNAME= compiz
PORTVERSION= 0.8.4
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= x11-wm
MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/
@@ -117,7 +117,7 @@ PLIST_SUB+= GNOME="@comment "
CONFIGURE_ARGS+= --enable-dbus
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus
-.if ${PORT_OPTIONS:MGTK} && ${PORT_OPTIONS:MGNOME}
+.if ${PORT_OPTIONS:MGTK2} && ${PORT_OPTIONS:MGNOME}
CONFIGURE_ARGS+= --enable-dbus-glib
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
@@ -132,5 +132,8 @@ post-patch:
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/compiz-manager ${STAGEDIR}${PREFIX}/bin/compiz-manager
+.if ${PORT_OPTIONS:MGNOME}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/window-manager-settings/libcompiz.so
+.endif
.include <bsd.port.mk>
diff --git a/x11-wm/compiz/pkg-plist b/x11-wm/compiz/pkg-plist
index bcd349422bd2..720f476e398c 100644
--- a/x11-wm/compiz/pkg-plist
+++ b/x11-wm/compiz/pkg-plist
@@ -118,7 +118,7 @@ libdata/pkgconfig/libdecoration.pc
%%GNOME%%window-manager-settings/libcompiz.a
%%GNOME%%window-manager-settings/libcompiz.so
%%GNOME%%@cwd %%RESETPREFIX%%
-share/applications/compiz.desktop
+%%GNOME%%share/applications/compiz.desktop
share/locale/af/LC_MESSAGES/compiz.mo
share/locale/ar/LC_MESSAGES/compiz.mo
share/locale/bg/LC_MESSAGES/compiz.mo