aboutsummaryrefslogtreecommitdiff
path: root/x11/xxkb
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-18 14:47:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-18 14:47:16 +0000
commitb76f430612cd5d5f4edb09773b9a472e95551edd (patch)
tree627e1167053f61ee831ebc1323c7ed57892707ed /x11/xxkb
parentec82c8fa13a6d4923a735b7b0e3d81caf75c2b5f (diff)
downloadports-b76f430612cd5d5f4edb09773b9a472e95551edd.tar.gz
ports-b76f430612cd5d5f4edb09773b9a472e95551edd.zip
Notes
Diffstat (limited to 'x11/xxkb')
-rw-r--r--x11/xxkb/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/x11/xxkb/Makefile b/x11/xxkb/Makefile
index 921eb2705a39..f4bfd2eeb7a2 100644
--- a/x11/xxkb/Makefile
+++ b/x11/xxkb/Makefile
@@ -13,7 +13,7 @@ COMMENT= XKB keyboard layout indicator and switcher
LICENSE= ART10
-USES= iconv imake
+USES= iconv imake pkgconfig
USE_XORG= xpm
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -21,12 +21,8 @@ PORTDOCS= README CHANGES.ru README.ru
OPTIONS_DEFINE= LIBRSVG2 DOCS
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MLIBRSVG2}
-LIB_DEPENDS+= librsvg-2.so:${PORTSDIR}/graphics/librsvg2
-XMKMF_ARGS= -DWITH_SVG_SUPPORT
-.endif
+LIBRSVG2_LIB_DEPENDS= librsvg-2.so:${PORTSDIR}/graphics/librsvg2
+LIBRSVG2_VARS= XMKMF_ARGS=-DWITH_SVG_SUPPORT
post-build:
# Convert Russian language docs from archaic KOI8-R to modern UTF-8
@@ -34,10 +30,8 @@ post-build:
iconv -f koi8-r -t utf-8 ${WRKSRC}/${f}.koi8 > ${WRKSRC}/${f}.ru
.endfor
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>