mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
Support staging.
Sponsored by: Absolight
This commit is contained in:
parent
7187a4cec9
commit
d7dfdd3493
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344806
1 changed files with 4 additions and 7 deletions
|
@ -6,20 +6,17 @@ PORTVERSION= 2.0.17
|
|||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.docbook.org/tdg/en/
|
||||
DISTNAME= tdg-en-html-${PORTVERSION}
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Norman Walsh's book "DocBook: The Definitive Guide"
|
||||
|
||||
USE_ZIP= yes
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/tdg/en
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
.for D in html/figures/callouts html/figures/admon html/figures html
|
||||
${MKDIR} ${DOCSDIR}/${D}
|
||||
${INSTALL_DATA} ${WRKSRC}/${D}/*.* ${DOCSDIR}/${D}/
|
||||
.endfor
|
||||
${INSTALL_DATA} ${FILESDIR}/index.html ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/index.html ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue