aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-06 23:42:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-06 23:42:38 +0800
commit23dbe1e1d9b8fdf5249e5eaa3ef77a7aab7c8ce0 (patch)
tree409ce03aabeb55234e61695fab50e5d00d3e9c32 /x11-fonts
parent30ac24835e4129b7eca1a3af090216cda401283b (diff)
downloadfreebsd-ports-gnome-23dbe1e1d9b8fdf5249e5eaa3ef77a7aab7c8ce0.tar.gz
freebsd-ports-gnome-23dbe1e1d9b8fdf5249e5eaa3ef77a7aab7c8ce0.tar.zst
freebsd-ports-gnome-23dbe1e1d9b8fdf5249e5eaa3ef77a7aab7c8ce0.zip
- Switch to options helpers
Approved by: portmgr blanket
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