diff options
author | crees <crees@FreeBSD.org> | 2011-12-19 01:51:44 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2011-12-19 01:51:44 +0800 |
commit | 139d638365974d0a77eaa437e236e7178ffc8090 (patch) | |
tree | e5f3cfe5ec91b467e0a5da8f687098f2719b78c3 /sysutils | |
parent | 47261a88ffeb255347528210224e889da4d5aa07 (diff) | |
download | freebsd-ports-gnome-139d638365974d0a77eaa437e236e7178ffc8090.tar.gz freebsd-ports-gnome-139d638365974d0a77eaa437e236e7178ffc8090.tar.zst freebsd-ports-gnome-139d638365974d0a77eaa437e236e7178ffc8090.zip |
- Make xlockmore dependency optional
- Use bsd.port.options.mk
PR: ports/163434
Submitted by: Thomas Zander <thomas.e.zander@googlemail.com>, dougb
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xfce4-utils/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sysutils/xfce4-utils/Makefile b/sysutils/xfce4-utils/Makefile index f65ec800e776..d76e86b00d78 100644 --- a/sysutils/xfce4-utils/Makefile +++ b/sysutils/xfce4-utils/Makefile @@ -7,7 +7,7 @@ PORTNAME= xfce4-utils PORTVERSION= 4.8.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils xfce MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITE_SUBDIR= src/xfce/xfce-utils/${PORTVERSION:R} @@ -19,8 +19,6 @@ COMMENT= Xfce 4 essential utilities and scripts BUILD_DEPENDS= p5-XML-Parser>=2.40:${PORTSDIR}/textproc/p5-XML-Parser -RUN_DEPENDS= xlock:${PORTSDIR}/x11/xlockmore - DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/4//} CONFIGURE_ARGS+=--with-xsession-prefix=${PREFIX} \ @@ -38,9 +36,10 @@ USE_XFCE= configenv libmenu libutil xfconf USE_XORG= x11 OPTIONS= DBUS "Enable D-BUS support" on \ - NLS "Enable Native Language Support" on + NLS "Enable Native Language Support" on \ + XLOCK "Use xlock for 'lock screen'" off -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if !defined(WITHOUT_DBUS) LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib @@ -60,7 +59,11 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif +.if !defined(WITHOUT_XLOCK) +RUN_DEPENDS+= xlock:${PORTSDIR}/x11/xlockmore +.endif + post-install: @-update-desktop-database -.include <bsd.port.post.mk> +.include <bsd.port.mk> |