svn commit: r396225 - head/x11-fonts/fontconfig
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 6 15:42:39 UTC 2015
Author: amdmi3
Date: Sun Sep 6 15:42:38 2015
New Revision: 396225
URL: https://svnweb.freebsd.org/changeset/ports/396225
Log:
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/x11-fonts/fontconfig/Makefile
Modified: head/x11-fonts/fontconfig/Makefile
==============================================================================
--- head/x11-fonts/fontconfig/Makefile Sun Sep 6 15:42:35 2015 (r396224)
+++ head/x11-fonts/fontconfig/Makefile Sun Sep 6 15:42:38 2015 (r396225)
@@ -42,13 +42,7 @@ PORTDOCS= fontconfig-user.html fontconfi
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
More information about the svn-ports-all
mailing list