opnsense-ports/math/bargraph/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

35 lines
885 B
Makefile

# Created by: Dereckson <dereckson@gmail.com>
# $FreeBSD$
PORTNAME= bargraph
PORTVERSION= 4.7
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://bargraphgen.googlecode.com/files/
DISTNAME= bargraphgen-${PORTVERSION}
MAINTAINER= dereckson@gmail.com
COMMENT= Scriptable bar graph generator
LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/bin/fig2dev:${PORTSDIR}/print/transfig \
${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
USES= perl5 shebangfix tar:tgz
NO_WRKSUBDIR= yes
NO_BUILD= yes
SHEBANG_FILES= bargraph.pl
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bargraph.pl ${STAGEDIR}${PREFIX}/bin/bargraph
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} ${WRKSRC}/samples/*.perf ${WRKSRC}/samples/*.png ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>