aboutsummaryrefslogtreecommitdiffstats
path: root/russian/xruskb
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2011-04-09 14:01:21 +0800
committermakc <makc@FreeBSD.org>2011-04-09 14:01:21 +0800
commit5aa5c46e7eb7f111e19ea3ef22e21fcbe00e0fac (patch)
tree33871df17073e1ab59c2bb68e8ec1a6258c8e203 /russian/xruskb
parent95a0c04c77903c769c87a948aba2797e3031bff2 (diff)
downloadfreebsd-ports-gnome-5aa5c46e7eb7f111e19ea3ef22e21fcbe00e0fac.tar.gz
freebsd-ports-gnome-5aa5c46e7eb7f111e19ea3ef22e21fcbe00e0fac.tar.zst
freebsd-ports-gnome-5aa5c46e7eb7f111e19ea3ef22e21fcbe00e0fac.zip
Clean up in preparation for open-motif update (ports/154044):
- add MOTIF option - utilize USE_MOTIF - remove $FreeBSD$ tag from plist
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