mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
- Simplify installation
- Switch to options helpers
This commit is contained in:
parent
4044371c4d
commit
e3ab1b4d3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453890
1 changed files with 7 additions and 12 deletions
|
@ -23,21 +23,16 @@ NO_BUILD= yes
|
|||
|
||||
USES= tar:bzip2
|
||||
|
||||
INSTDIR= ${PREFIX}/share/xsl/${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
INSTDIR= share/xsl/${PORTNAME}
|
||||
PINSTDIR= ${PREFIX}/${INSTDIR}
|
||||
COPYDIRS= browser graphics schema xsl
|
||||
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PINSTDIR}
|
||||
.for i in VERSION catalog
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${PINSTDIR})
|
||||
.endfor
|
||||
.for i in ${COPYDIRS}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${PINSTDIR})
|
||||
.endfor
|
||||
@${MKDIR} ${STAGEDIR}${INSTDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/VERSION ${WRKSRC}/catalog ${STAGEDIR}${INSTDIR}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "browser graphics schema xsl" ${STAGEDIR}${INSTDIR})
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue