mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
- Add NO_ARCH
- Simplify and accelerate plist generation
This commit is contained in:
parent
a5e8f18a58
commit
6d91505b36
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408480
@ -11,16 +11,16 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= HTML Documentation for Root framework
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
WRKSRC= ${WRKDIR}/htmldoc
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
|
||||
pre-install:
|
||||
cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -exec ${ECHO_CMD} \
|
||||
"%%DOCSDIR%%/{}" \; > ${PLIST}.tmp
|
||||
${SED} -e "s/\/\.\//\//" ${PLIST}.tmp > ${PLIST}
|
||||
@cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -print | \
|
||||
${SED} -e 's|^\.|%%DOCSDIR%%|' > ${PLIST}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user