1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/devel/root-doc/Makefile
Pav Lucistnik 5c171e70d1 - Update to 4.02
PR:		ports/78042
Submitted by:	Alexander S. Usov <usov@KVI.nl>
2005-03-02 22:28:07 +00:00

36 lines
913 B
Makefile

# New ports collection makefile for: root-doc
# Date created: 23 Apr 2004
# Whom: Radim Kolar
#
# $FreeBSD$
#
PORTNAME= root-doc
PORTVERSION= 4.02
CATEGORIES= devel science math
MASTER_SITES= ftp://root.cern.ch/root/
DISTNAME= html${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= HTML Documentation for Root framework
NO_BUILD= yes
WRKSRC= ${WRKDIR}/htmldoc
PLIST= ${WRKDIR}/pkg-plist
IGNOREFILES= ${DISTFILES}
.ifdef NOPORTDOCS
IGNORE= This package contains only documentation
.endif
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}
do-install:
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${FIND} . | ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.include <bsd.port.mk>