aboutsummaryrefslogtreecommitdiff
path: root/russian/xruskb
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2011-04-09 06:01:21 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2011-04-09 06:01:21 +0000
commitd8ba1229208838a129ea2fa84e3e36538932bf81 (patch)
treee74b1ce03ee273511fcfed71692b0a7113e132b9 /russian/xruskb
parentf5130838c8d17f56e5f42a6ea3d99276230a8ddb (diff)
downloadports-d8ba1229208838a129ea2fa84e3e36538932bf81.tar.gz
ports-d8ba1229208838a129ea2fa84e3e36538932bf81.zip
Notes
Diffstat (limited to 'russian/xruskb')
-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