diff options
author | mezz <mezz@FreeBSD.org> | 2012-03-16 10:59:17 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2012-03-16 10:59:17 +0800 |
commit | 482ea91872d3b94f883d1d9f48c5d2f6d5317f22 (patch) | |
tree | 523ebe88f6ee98cd6657e72bc32c6d22e9ed071c /x11-toolkits | |
parent | 86705b6c99ad2dc802e544892105f0f40f556f86 (diff) | |
download | freebsd-ports-gnome-482ea91872d3b94f883d1d9f48c5d2f6d5317f22.tar.gz freebsd-ports-gnome-482ea91872d3b94f883d1d9f48c5d2f6d5317f22.tar.zst freebsd-ports-gnome-482ea91872d3b94f883d1d9f48c5d2f6d5317f22.zip |
Make startup notification to optional.
PR: ports/164500
Submitted by: Zhihao Yuan <lichray@gmail.com>
Feature safe: yes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/libwnck/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/x11-toolkits/libwnck/Makefile b/x11-toolkits/libwnck/Makefile index 7f56c986d44e..1c2db6e8862d 100644 --- a/x11-toolkits/libwnck/Makefile +++ b/x11-toolkits/libwnck/Makefile @@ -21,7 +21,6 @@ USE_BZIP2= yes .if !defined(REFERENCE_PORT) BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection -LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection USE_GETTEXT= yes @@ -35,6 +34,17 @@ CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include <bsd.port.mk> +OPTIONS= STARTUP "Enable startup notification support" on + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_STARTUP) +LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification +CONFIGURE_ARGS+=--enable-startup-notification +.else +CONFIGURE_ARGS+=--disable-startup-notification +.endif + +.include <bsd.port.post.mk> .endif |