summaryrefslogtreecommitdiffstats
path: root/russian/xruskb/Makefile
blob: 7406ebae0bda7ec485db518d4bbfd51ae585e450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:	xruskb
# Date created:		14 Jan 1998
# Whom:			Igor Vinokurov <igor@zynaps.ru>
#
# $FreeBSD$
#

PORTNAME=	xruskb
PORTVERSION=	1.15.3
PORTREVISION=	1
CATEGORIES=	russian x11
MASTER_SITES=	ftp://ftp.yars.free.net/pub/software/unix/X11/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A keyboard layout switcher and indicator

USE_X_PREFIX=	YES
USE_BZIP2=	YES
GNU_CONFIGURE=	YES
CONFIGURE_ARGS=	--datadir=${PREFIX}/share
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}

.if defined(WITH_MOTIF)
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)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud