Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 22:10:31 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301255 - head/russian/xruskb
Message-ID:  <201207202210.q6KMAVfQ043849@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
 
-.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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207202210.q6KMAVfQ043849>