diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-18 22:47:16 +0800 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-18 22:47:16 +0800 |
commit | b76f430612cd5d5f4edb09773b9a472e95551edd (patch) | |
tree | 627e1167053f61ee831ebc1323c7ed57892707ed /x11 | |
parent | ec82c8fa13a6d4923a735b7b0e3d81caf75c2b5f (diff) | |
download | freebsd-ports-gnome-b76f430612cd5d5f4edb09773b9a472e95551edd.tar.gz freebsd-ports-gnome-b76f430612cd5d5f4edb09773b9a472e95551edd.tar.zst freebsd-ports-gnome-b76f430612cd5d5f4edb09773b9a472e95551edd.zip |
- Add missing USES=pkgconfig, fix build with LIBRSVG2
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xxkb/Makefile | 16 |
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> |