From owner-svn-ports-head@FreeBSD.ORG Fri Jul 20 22:10:31 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB4931065672; Fri, 20 Jul 2012 22:10:31 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D63478FC18; Fri, 20 Jul 2012 22:10:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6KMAV65043851; Fri, 20 Jul 2012 22:10:31 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6KMAVfQ043849; Fri, 20 Jul 2012 22:10:31 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201207202210.q6KMAVfQ043849@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 20 Jul 2012 22:10:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301255 - head/russian/xruskb X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 22:10:32 -0000 Author: bapt Date: Fri Jul 20 22:10:31 2012 New Revision: 301255 URL: http://svn.freebsd.org/changeset/ports/301255 Log: Convert to new options framework Modified: head/russian/xruskb/Makefile Modified: head/russian/xruskb/Makefile ============================================================================== --- head/russian/xruskb/Makefile Fri Jul 20 22:08:55 2012 (r301254) +++ head/russian/xruskb/Makefile Fri Jul 20 22:10:31 2012 (r301255) @@ -22,11 +22,12 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/shar MAN1= xrus.1 DOCS= FAQ NEWS README* TODO xrus.doc-* -OPTIONS= MOTIF "Support for pixmaps in indicator icon" off +OPTIONS_DEFINE= MOTIF DOCS +MOTIF_DESC= Support for pixmaps in indicator icon .include -.if defined(WITH_MOTIF) +.if ${PORT_OPTIONS:MMOTIF} USE_MOTIF= yes CONFIGURE_ARGS+= --with-toolkit=motif .else @@ -35,7 +36,7 @@ CONFIGURE_ARGS+= --with-toolkit=none post-install: ${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${PREFIX}/lib/X11/app-defaults/Xrus -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif