1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/protovis/Makefile
Sunpoet Po-Chuan Hsieh 57937d1f72 - Convert to new options framework
- Use tar to extract zipball
- Use PORTDOCS and PORTEXAMPLES
- Support STAGEDIR
2014-02-16 17:09:46 +00:00

31 lines
709 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= protovis
PORTVERSION= 3.2
CATEGORIES= www
MASTER_SITES= GOOGLE_CODE
EXTRACT_SUFX= .zip
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= JavaScript graphical toolkit for data visualization
LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= DOCS EXAMPLES
NO_BUILD= yes
PORTDOCS= *
PORTEXAMPLES= *
PROJECTHOST= ${PORTNAME}-js
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/ ${STAGEDIR}${WWWDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} *.js ${STAGEDIR}${WWWDIR}/
cd ${WRKSRC}/jsdoc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>