mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
bfdca524e7
Release notes at <https://github.com/mrdoob/three.js/releases/tag/r125>.
41 lines
827 B
Makefile
41 lines
827 B
Makefile
# Created by: thierry@pompo.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= three.js
|
|
PORTVERSION= 125
|
|
DISTVERSIONPREFIX= r
|
|
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>
|