Changeset View
Changeset View
Standalone View
Standalone View
x11/xxkb/Makefile
Show All 14 Lines | |||||
USES= iconv imake pkgconfig | USES= iconv imake pkgconfig | ||||
USE_XORG= xext xpm xt | USE_XORG= xext xpm xt | ||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | ||||
PORTDOCS= README CHANGES.ru README.ru | PORTDOCS= README CHANGES.ru README.ru | ||||
OPTIONS_DEFINE= LIBRSVG2 DOCS | OPTIONS_DEFINE= LIBRSVG2 DOCS | ||||
LIBRSVG2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 | LIBRSVG2_USES= gnome | ||||
LIBRSVG2_USE= GNOME=librsvg2 | |||||
LIBRSVG2_VARS= XMKMF_ARGS=-DWITH_SVG_SUPPORT | LIBRSVG2_VARS= XMKMF_ARGS=-DWITH_SVG_SUPPORT | ||||
post-build: | post-build: | ||||
# Convert Russian language docs from archaic KOI8-R to modern UTF-8 | # Convert Russian language docs from archaic KOI8-R to modern UTF-8 | ||||
.for f in CHANGES README | .for f in CHANGES README | ||||
iconv -f koi8-r -t utf-8 ${WRKSRC}/${f}.koi8 > ${WRKSRC}/${f}.ru | iconv -f koi8-r -t utf-8 ${WRKSRC}/${f}.koi8 > ${WRKSRC}/${f}.ru | ||||
.endfor | .endfor | ||||
post-install-DOCS-on: | post-install-DOCS-on: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |