diff options
author | stephen <stephen@FreeBSD.org> | 2012-11-22 11:25:08 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2012-11-22 11:25:08 +0800 |
commit | e50c3a0ce30f99863760d60af56e779e8f7de0a8 (patch) | |
tree | 7f13babf81366bfaa235a54e96f5d0a3b46f3b54 /x11 | |
parent | 61a8462371d619da4e9b2fc8db85e21dfac7fd78 (diff) | |
download | freebsd-ports-gnome-e50c3a0ce30f99863760d60af56e779e8f7de0a8.tar.gz freebsd-ports-gnome-e50c3a0ce30f99863760d60af56e779e8f7de0a8.tar.zst freebsd-ports-gnome-e50c3a0ce30f99863760d60af56e779e8f7de0a8.zip |
- Use new options framework.
Feature safe: yes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xkbset/Makefile | 15 |
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> |