svn commit: r301255 - head/russian/xruskb
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jul 20 22:10:32 UTC 2012
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
More information about the svn-ports-head
mailing list