Date: Thu, 22 Nov 2012 03:25:09 +0000 (UTC) From: Stephen Montgomery-Smith <stephen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307633 - head/x11/xkbset Message-ID: <201211220325.qAM3P9h2083514@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stephen Date: Thu Nov 22 03:25:08 2012 New Revision: 307633 URL: http://svnweb.freebsd.org/changeset/ports/307633 Log: - Use new options framework. Feature safe: yes Modified: head/x11/xkbset/Makefile Modified: head/x11/xkbset/Makefile ============================================================================== --- head/x11/xkbset/Makefile Thu Nov 22 02:13:14 2012 (r307632) +++ head/x11/xkbset/Makefile Thu Nov 22 03:25:08 2012 (r307633) @@ -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}" X11PRE 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211220325.qAM3P9h2083514>