aboutsummaryrefslogtreecommitdiff
path: root/russian/xruskb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'russian/xruskb/Makefile')
-rw-r--r--russian/xruskb/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/russian/xruskb/Makefile b/russian/xruskb/Makefile
index 9cf1b6343f09..0587cfb75916 100644
--- a/russian/xruskb/Makefile
+++ b/russian/xruskb/Makefile
@@ -19,21 +19,20 @@ USE_BZIP2= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --datadir=${PREFIX}/share
+MAN1= xrus.1
+DOCS= FAQ NEWS README* TODO xrus.doc-*
+
+OPTIONS= MOTIF "Support for pixmaps in indicator icon" off
+
+.include <bsd.port.options.mk>
+
.if defined(WITH_MOTIF)
+USE_MOTIF= yes
CONFIGURE_ARGS+= --with-toolkit=motif
-LIB_DEPENDS= Xm.3:${PORTSDIR}/x11-toolkits/open-motif
.else
CONFIGURE_ARGS+= --with-toolkit=none
-
-pre-configure:
- @${ECHO_MSG} "*"
- @${ECHO_MSG} "* Use WITH_MOTIF=yes to enable using pixmaps in indicator icon"
- @${ECHO_MSG} "*"
.endif
-MAN1= xrus.1
-DOCS= FAQ NEWS README* TODO xrus.doc-*
-
post-install:
${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${PREFIX}/lib/X11/app-defaults/Xrus
.if !defined(NOPORTDOCS)