aboutsummaryrefslogtreecommitdiff
path: root/russian/xruskb
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-07-20 22:10:31 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-07-20 22:10:31 +0000
commita9af8f7b5ba5cf7d4f216b3281141c26908cd328 (patch)
tree26b443af6e4de1f6f83a4a7bf12c1c190de06f5f /russian/xruskb
parent6b4310d64f8c2dd0fef35297ba9b842889d453ac (diff)
downloadports-a9af8f7b5ba5cf7d4f216b3281141c26908cd328.tar.gz
ports-a9af8f7b5ba5cf7d4f216b3281141c26908cd328.zip
Notes
Diffstat (limited to 'russian/xruskb')
-rw-r--r--russian/xruskb/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/russian/xruskb/Makefile b/russian/xruskb/Makefile
index 0587cfb75916..1a78568512f5 100644
--- a/russian/xruskb/Makefile
+++ b/russian/xruskb/Makefile
@@ -22,11 +22,12 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/share
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