e2777df239
This tarball has been re-rolled several times after the initial commit: - r131 (bis) on Jul 30, 2021 - r131 (bis) (bis) on Aug 3, 2021 - r131 (bis) (bis) (bis) on Aug 4, 2021 Log at <https://github.com/mrdoob/three.js/commits/r131> PR: 257731 Reported by: Yasuhiro Kimura
40 lines
831 B
Makefile
40 lines
831 B
Makefile
# Created by: thierry@pompo.net
|
|
|
|
PORTNAME= three.js
|
|
PORTVERSION= 131
|
|
DISTVERSIONPREFIX= r
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= JavaScript 3D library
|
|
|
|
LICENSE= MIT
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
WWWDIR= ${PREFIX}/www/${PORTNAME:C/\.//}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mrdoob
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
do-test:
|
|
@${ECHO_CMD} "Tests skipped: they require npm and too many node packages."
|
|
|
|
.include <bsd.port.mk>
|