mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
9e0e8d17a4
- switch to the more modern version of librsvg2 on architectures supporting rust - this will fix some graphical issues on these architectures PR: 250276 Exp-run by: antoine Submitted by: tobik Differential Revision: https://reviews.freebsd.org/D18878
39 lines
911 B
Makefile
39 lines
911 B
Makefile
# Created by: Alexander Matey <matey@cis.ohio-state.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xxkb
|
|
PORTVERSION= 1.11.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
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 xorg
|
|
USE_XORG= xext xpm xt
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PORTDOCS= README CHANGES.ru README.ru
|
|
|
|
OPTIONS_DEFINE= LIBRSVG2 DOCS
|
|
|
|
LIBRSVG2_USES= gnome
|
|
LIBRSVG2_USE= GNOME=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>
|