blob: 590a5de2fbe1e55f08385576bbf89f5a963d398a (
plain) (
blame)
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
|
# Created by: Alexander Matey <matey@cis.ohio-state.edu>
# $FreeBSD$
PORTNAME= xxkb
PORTVERSION= 1.11.1
CATEGORIES= x11
MASTER_SITES= SF
MASTER_SITES= SF/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= alexander.pohoyda@gmx.net
COMMENT= XKB keyboard layout indicator and switcher
LICENSE= ART10
USES= iconv imake pkgconfig
USE_XORG= xext xpm xt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= README CHANGES.ru README.ru
OPTIONS_DEFINE= LIBRSVG2 DOCS
LIBRSVG2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2
LIBRSVG2_VARS= XMKMF_ARGS=-DWITH_SVG_SUPPORT
post-build:
# Convert Russian language docs from archaic KOI8-R to modern UTF-8
.for f in CHANGES README
iconv -f koi8-r -t utf-8 ${WRKSRC}/${f}.koi8 > ${WRKSRC}/${f}.ru
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|