freebsd-ports/www/flot/Makefile
Jason Helfman 9de183786d add new port: www/flot
Flot is a pure Javascript plotting library for jQuery. It produces graphical
plots of arbitrary datasets on-the-fly client-side.  The focus is on simple
usage (all settings are optional), attractive looks and interactive features
like zooming and mouse tracking.

WWW: http://code.google.com/p/flot/
2012-06-07 17:40:54 +00:00

51 lines
912 B
Makefile

# New ports collection makefile for: flot
# Date created: 06 June 2012
# Whom: Jason Helfman <jgh@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= flot
PORTVERSION= 0.7
CATEGORIES= www devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= jgh@FreeBSD.org
COMMENT= Javascript plotting library for jQuery
LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}
USERS= www
GROUPS= www
NO_BUILD= YES
PORTDOCS= API.txt \
FAQ.txt \
NEWS.txt \
PLUGINS.txt \
README.txt
PORTEXAMPLES= *
do-install:
@${INSTALL} -d -g ${USERS} -o ${GROUPS} ${WWWDIR}
${INSTALL_DATA} -o www -g www ${WRKSRC}/*.js ${WWWDIR}
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>