mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Stagify, and switch to use options helper.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
572e3ac60b
commit
e8561da75e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359393
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user