mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
6d91505b36
- Simplify and accelerate plist generation
27 lines
594 B
Makefile
27 lines
594 B
Makefile
# Created by: Radim Kolar
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= root-doc
|
|
PORTVERSION= 5.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
|
|
NO_ARCH= yes
|
|
WRKSRC= ${WRKDIR}/htmldoc
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
pre-install:
|
|
@cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -print | \
|
|
${SED} -e 's|^\.|%%DOCSDIR%%|' > ${PLIST}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|