1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stagify, and switch to use options helper.

Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-06-26 16:39:34 +00:00
parent 572e3ac60b
commit e8561da75e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359393

View File

@ -21,13 +21,15 @@ USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= farb
PYDISTUTILS_PKGVERSION= 0.1
NO_STAGE= yes
post-install:
${INSTALL_DATA} ${WRKSRC}/farbot.conf ${PREFIX}/etc/farbot.conf.sample
OPTIONS_DEFINE= DOCS
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/xhtml
${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${DOCSDIR}/xhtml
.include <bsd.port.options.mk>
post-install:
${INSTALL_DATA} ${WRKSRC}/farbot.conf ${STAGEDIR}${PREFIX}/etc/farbot.conf.sample
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/xhtml
${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${STAGEDIR}${DOCSDIR}/xhtml
.endif
.include <bsd.port.mk>