Changeset View
Changeset View
Standalone View
Standalone View
x11-fonts/fontconfig/Makefile
Show All 37 Lines | |||||
MAN1PAGES= fc-cache.1 fc-cat.1 fc-list.1 fc-match.1 fc-query.1 fc-scan.1 | MAN1PAGES= fc-cache.1 fc-cat.1 fc-list.1 fc-match.1 fc-query.1 fc-scan.1 | ||||
MAN5PAGES= fonts-conf.5 | MAN5PAGES= fonts-conf.5 | ||||
PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt | PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
# work around fc-cache crash on arm platform | |||||
.if ${ARCH} == arm || ${ARCH} == armv6 | |||||
USE_GCC= any | |||||
.endif | |||||
post-install: | post-install: | ||||
.if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} | ||||
.endif | .endif | ||||
${INSTALL_MAN} ${MAN5PAGES:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${PREFIX}/man/man5 | ${INSTALL_MAN} ${MAN5PAGES:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${PREFIX}/man/man5 | ||||
.for manpage in ${MAN1PAGES} | .for manpage in ${MAN1PAGES} | ||||
${INSTALL_MAN} ${FILESDIR}/${manpage} ${STAGEDIR}${PREFIX}/man/man1 | ${INSTALL_MAN} ${FILESDIR}/${manpage} ${STAGEDIR}${PREFIX}/man/man1 | ||||
Show All 11 Lines |