summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/libwnck/Makefile7
-rw-r--r--x11-toolkits/libwnck3/Makefile7
2 files changed, 10 insertions, 4 deletions
diff --git a/x11-toolkits/libwnck/Makefile b/x11-toolkits/libwnck/Makefile
index 85ac0dec1..9111aca4d 100644
--- a/x11-toolkits/libwnck/Makefile
+++ b/x11-toolkits/libwnck/Makefile
@@ -16,8 +16,6 @@ USES= tar:xz
.if !defined(REFERENCE_PORT)
-LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
-
USE_XORG= xres x11
USE_GNOME= gtk20 referencehack intlhack introspection
USES+= bison gettext gmake libtool:keepla pathfix pkgconfig
@@ -28,6 +26,11 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= STARTUP
+OPTIONS_DEFAULT=STARTUP
+STARTUP_DESC= Startup notification support
+STARTUP_LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
+
.include <bsd.port.mk>
.endif
diff --git a/x11-toolkits/libwnck3/Makefile b/x11-toolkits/libwnck3/Makefile
index 394a5c5cf..c0478cb62 100644
--- a/x11-toolkits/libwnck3/Makefile
+++ b/x11-toolkits/libwnck3/Makefile
@@ -16,8 +16,6 @@ USES= tar:xz
.if !defined(REFERENCE_PORT)
-LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
-
USES+= bison gettext gmake libtool:keepla pathfix pkgconfig
USE_GNOME= gtk30 intlhack introspection:build referencehack
USE_XORG= xres x11
@@ -27,6 +25,11 @@ CONFIGURE_ARGS= --disable-tools
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= STARTUP
+OPTIONS_DEFAULT=STARTUP
+STARTUP_DESC= Startup notification support
+STARTUP_LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
+
.include <bsd.port.mk>
.endif