openbsd-ports/mail/mailgraph/Makefile

36 lines
774 B
Makefile

# $OpenBSD: Makefile,v 1.4 2005/10/18 15:31:55 saad Exp $
COMMENT= "a RRDtool frontend for Postfix statistics"
VERSION= 1.12
DISTNAME= mailgraph-${VERSION}
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE}/pub/ \
${HOMEPAGE}/pub/old/
HOMEPAGE= http://people.ee.ethz.ch/~dws/software/mailgraph/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::net/rrdtool \
::devel/p5-File-Tail
NO_REGRESS= Yes
NO_BUILD= Yes
LIBDIR= lib/mailgraph
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${PREFIX}/bin/mailgraph
${INSTALL_DATA_DIR} ${PREFIX}/${LIBDIR}
${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${PREFIX}/lib/mailgraph
.include <bsd.port.mk>