mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Add proper distinfo information
Support stage PR: 191686 Submitted by: A.J. "Fonz" van Werven (freebsd@skysmurf.nl)
This commit is contained in:
parent
c7b8a15f5b
commit
4d8a979989
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361047
@ -7,26 +7,23 @@ CATEGORIES= devel science math
|
||||
MASTER_SITES= ftp://root.cern.ch/root/
|
||||
DISTNAME= html${PORTVERSION:S/.//}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= HTML Documentation for Root framework
|
||||
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/htmldoc
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
BROKEN= no distinfo provided
|
||||
|
||||
.ifdef NOPORTDOCS
|
||||
IGNORE= This package contains only documentation
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-install:
|
||||
cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -exec ${ECHO_CMD} "%%DOCSDIR%%/{}" \; > ${PLIST}
|
||||
cd ${WRKSRC} && ${FIND} -d . -mindepth 1 -type d -exec ${ECHO_CMD} "@dirrm %%DOCSDIR%%/{}" \; >> ${PLIST}
|
||||
${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}
|
||||
cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -exec ${ECHO_CMD} \
|
||||
"%%DOCSDIR%%/{}" \; > ${PLIST}.tmp
|
||||
cd ${WRKSRC} && ${FIND} -d . -mindepth 1 -type d -exec ${ECHO_CMD} \
|
||||
"@dirrm %%DOCSDIR%%/{}" \; >> ${PLIST}.tmp
|
||||
${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}.tmp
|
||||
${SED} -e "s/\/\.\//\//" ${PLIST}.tmp > ${PLIST}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${FIND} . | ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1,2 @@
|
||||
SHA256 (html502.tar.gz) = IGNORE
|
||||
SHA256 (html502.tar.gz) = e92b1516d11a6d8f1255d23afb3ea2a5e7d0048f2c5ea40811cece6fba0cd18d
|
||||
SIZE (html502.tar.gz) = 24575958
|
||||
|
Loading…
Reference in New Issue
Block a user