aboutsummaryrefslogtreecommitdiffstats
path: root/x11/metalock
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-03-22 16:16:07 +0800
committerbapt <bapt@FreeBSD.org>2013-03-22 16:16:07 +0800
commit585c8a6ae1e9af6cd6b5b6cf169015af3814e03b (patch)
tree0eed80486c0c9ee317000732b7da17a2b76db9f5 /x11/metalock
parent170f3db0c400763a4a07eadc79e7abfece921b1c (diff)
downloadfreebsd-ports-gnome-585c8a6ae1e9af6cd6b5b6cf169015af3814e03b.tar.gz
freebsd-ports-gnome-585c8a6ae1e9af6cd6b5b6cf169015af3814e03b.tar.zst
freebsd-ports-gnome-585c8a6ae1e9af6cd6b5b6cf169015af3814e03b.zip
Convert to new options framework left unconverted ports in x* categories
Diffstat (limited to 'x11/metalock')
-rw-r--r--x11/metalock/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/x11/metalock/Makefile b/x11/metalock/Makefile
index 844ea3aa9aea..67741d0a102d 100644
--- a/x11/metalock/Makefile
+++ b/x11/metalock/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: metalock
-# Date created: 21 March 2012
-# Whom: Timothy Beyer <beyert@cs.ucr.edu>
-#
+# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
-#
PORTNAME= metalock
PORTVERSION= 0.8.0
@@ -23,29 +19,29 @@ FETCH_ARGS= "-Fpr"
USE_BZIP2= yes
USE_XORG= x11 xt xproto xext xpm
-OPTIONS= IMLIB2 "Use Imlib2" on \
- XFT "Use Xft Fonts" on \
- ULTRAGETOPT "Use Ultragetopt" on
+OPTIONS_DEFINE= IMLIB2 XFT ULTRAGETOPT
+OPTIONS_DEFAULT= IMLIB2 XFT ULTRAGETOPT
+ULTRAGETOPT_DESC= Use Ultragetopt
.include <bsd.port.options.mk>
MAKE_ARGS= PREFIX="${LOCALBASE}" DEST_PREFIX="${PREFIX}" CC="${CC}"
-.if !defined(WITHOUT_ULTRAGETOPT)
+.if ${PORT_OPTIONS:MULTRAGETOPT}
LIB_DEPENDS+= ultragetopt.0:${PORTSDIR}/devel/ultragetopt
MAKE_ARGS+= USE_ULTRAGETOPT=yes
.else
MAKE_ARGS+= USE_ULTRAGETOPT=no
.endif
-.if !defined(WITHOUT_IMLIB2)
+.if ${PORT_OPTIONS:MIMLIB2}
USE_EFL= imlib2
MAKE_ARGS+= USE_IMLIB2=yes
.else
MAKE_ARGS+= USE_IMLIB2=no
.endif
-.if !defined(WITHOUT_XFT)
+.if ${PORT_OPTIONS:MXFT}
USE_XORG+= xft
MAKE_ARGS+= USE_XFT=yes
.else