1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/www/flot/Makefile

48 lines
810 B
Makefile

# $FreeBSD$
PORTNAME= flot
PORTVERSION= 0.7
CATEGORIES= www devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@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= *
NO_STAGE= yes
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>