mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- add stage support
- use EXTRACT_AFTER_ARGS so we have a dedicated WRKSRC directory and can use COPYTREE_SHARE instead ugly `find ...
This commit is contained in:
parent
3a22921826
commit
2ae76e59f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356000
@ -21,10 +21,10 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Extensive German HTML reference
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
NO_BUILD= yes
|
||||
USES= dos2unix zip
|
||||
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
||||
DOS2UNIX_REGEX= .*\.(css|dhtml|diverses|editorial|grafik|helferlein|htm|inter|intro|javascript|layouts|navigation|perl|php|projekt|quellen|servercgi|src|xml|xls|dtd)$$
|
||||
|
||||
PORTDOCS= \
|
||||
@ -49,13 +49,8 @@ PORTDOCS= \
|
||||
src \
|
||||
xml
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
# line taken from textproc/xerces-j maintained by hq@FreeBSD.org
|
||||
# recursively create dirs and install docs
|
||||
@cd ${WRKSRC} && \
|
||||
${FIND} ${PORTDOCS} -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
|
||||
${FIND} ${PORTDOCS} -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user