aboutsummaryrefslogtreecommitdiff
path: root/x11/xkbset
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2012-11-22 03:25:08 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2012-11-22 03:25:08 +0000
commit388d05cbfcfd819a27ec4232da7c78a40b68c861 (patch)
tree7f13babf81366bfaa235a54e96f5d0a3b46f3b54 /x11/xkbset
parentcd00eb8501017c6b7744f58612e7f15cb9eb795c (diff)
downloadports-388d05cbfcfd819a27ec4232da7c78a40b68c861.tar.gz
ports-388d05cbfcfd819a27ec4232da7c78a40b68c861.zip
- Use new options framework.
Feature safe: yes
Notes
Notes: svn path=/head/; revision=307633
Diffstat (limited to 'x11/xkbset')
-rw-r--r--x11/xkbset/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11/xkbset/Makefile b/x11/xkbset/Makefile
index 8ada516917d8..45a94d0fc90a 100644
--- a/x11/xkbset/Makefile
+++ b/x11/xkbset/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xkbset
-# Date created: 12 May 2001
-# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu>
-#
+# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
-#
PORTNAME= xkbset
PORTVERSION= 0.5
@@ -22,11 +18,12 @@ MAKE_ARGS= X11BASE="${LOCALBASE}" X11PREFIX="${PREFIX}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
-OPTIONS= GUI "Install Tk GUI" off
+OPTIONS_DEFINE= GUI
+GUI_DESC= Install Tk GUI
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GUI)
+.if ${PORT_OPTIONS:MGUI}
RUN_DEPENDS+= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk
PLIST_SUB= GUI=""
MAKE_ARGS+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
@@ -38,4 +35,4 @@ MAKE_ARGS+= INSTALL_SCRIPT=:
post-build:
@${REINPLACE_CMD} "s%#!/usr/bin/perl%#!${PERL}%" ${WRKSRC}/xkbset-gui
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>