Add proper distinfo information

Support stage

PR:		191686
Submitted by:	 A.J. "Fonz" van Werven (freebsd@skysmurf.nl)
This commit is contained in:
Baptiste Daroussin 2014-07-07 10:24:03 +00:00
parent c7b8a15f5b
commit 4d8a979989
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361047
2 changed files with 11 additions and 13 deletions

View file

@ -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>

View file

@ -1 +1,2 @@
SHA256 (html502.tar.gz) = IGNORE
SHA256 (html502.tar.gz) = e92b1516d11a6d8f1255d23afb3ea2a5e7d0048f2c5ea40811cece6fba0cd18d
SIZE (html502.tar.gz) = 24575958