mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
Stagify.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
de8645c23b
commit
1f11b850f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359092
1 changed files with 2 additions and 9 deletions
|
@ -23,8 +23,6 @@ USE_PYDISTUTILS=yes
|
|||
USES= twisted:run,web
|
||||
PORTDOCS= CHANGELOG CREDITS README
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
@ -37,15 +35,10 @@ RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
|
|||
.endif
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/hellanzb.conf ]; then \
|
||||
${ECHO} "Installing default configuration file."; \
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/hellanzb.conf.sample ${PREFIX}/etc/hellanzb.conf; \
|
||||
fi
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue