aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--russian/xruskb/Makefile17
-rw-r--r--russian/xruskb/pkg-plist1
2 files changed, 8 insertions, 10 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)
diff --git a/russian/xruskb/pkg-plist b/russian/xruskb/pkg-plist
index 36cc9bd6c6f2..c129ce0400e5 100644
--- a/russian/xruskb/pkg-plist
+++ b/russian/xruskb/pkg-plist
@@ -1,4 +1,3 @@
-@comment $FreeBSD$
bin/xrus
bin/xrusmodmap
lib/X11/app-defaults/Xrus