mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
db5e2bc177
Approved by: portmgr@ (implicit)
52 lines
912 B
Makefile
52 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>
|