aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-06 15:42:38 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-06 15:42:38 +0000
commitaa3f2f4b516df3b1b5fb95e2bc75d90f799de0f2 (patch)
tree409ce03aabeb55234e61695fab50e5d00d3e9c32 /x11-fonts
parent692a05914f85aeb315c68a1f9540baaabdc53782 (diff)
downloadports-aa3f2f4b516df3b1b5fb95e2bc75d90f799de0f2.tar.gz
ports-aa3f2f4b516df3b1b5fb95e2bc75d90f799de0f2.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/fontconfig/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index 535d8f3dd6e8..84ba4a1b25ce 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -42,13 +42,7 @@ PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
-.endif
${INSTALL_MAN} ${MAN5PAGES:S|^|${WRKSRC}/doc/|} \
${STAGEDIR}${PREFIX}/man/man5
.for manpage in ${MAN1PAGES}
@@ -61,6 +55,10 @@ post-install:
s|%%LOCALBASE%%|${LOCALBASE}|' < ${FILESDIR}/pkg-install.in \
> ${PKGINSTALL}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
.endif