diff options
author | bapt <bapt@FreeBSD.org> | 2012-12-30 07:07:29 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-12-30 07:07:29 +0800 |
commit | 6c116eb1c970b2c054be4c0be1ebbb57f01a6afc (patch) | |
tree | 9f9baf559a2b9317069117692f9444e1494b1aa3 /x11/xautolock | |
parent | aa1ccad6cea6fa548cc2549dc0c9cec22579ab77 (diff) | |
download | freebsd-ports-gnome-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.tar.gz freebsd-ports-gnome-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.tar.zst freebsd-ports-gnome-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.zip |
Convert romain's ports to new option framework
While here Trim headers
Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'x11/xautolock')
-rw-r--r-- | x11/xautolock/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/x11/xautolock/Makefile b/x11/xautolock/Makefile index b3b54e9b2ffc..efdab93e50a9 100644 --- a/x11/xautolock/Makefile +++ b/x11/xautolock/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: xautolock -# Date created: 20 Jul 1996 -# Whom: Eric Blood <eblood@cs.unr.edu> -# +# Created by: Eric Blood <eblood@cs.unr.edu> # $FreeBSD$ -# PORTNAME= xautolock PORTVERSION= 2.2 @@ -16,11 +12,13 @@ EXTRACT_SUFX= .tgz MAINTAINER= romain@FreeBSD.org COMMENT= Used to activate xlock after a user defined time of inactivity -OPTIONS= XLOCK "Force dependency on x11/xlockmore" on +OPTIONS_DEFINE= XLOCK +OPTIONS_DEFAULT= XLOCK +XLOCK_DESC= Force dependency on x11/xlockmore .include <bsd.port.options.mk> -.if defined(WITH_XLOCK) +.if ${PORT_OPTIONS:MXLOCK} RUN_DEPENDS+= xlock:${PORTSDIR}/x11/xlockmore .endif |