openbsd-ports/mail/mailgraph/Makefile
2007-05-22 17:23:53 +00:00

37 lines
796 B
Makefile

# $OpenBSD: Makefile,v 1.5 2007/05/22 17:23:53 naddy Exp $
COMMENT= "RRDtool frontend for Postfix statistics"
VERSION= 1.12
DISTNAME= mailgraph-${VERSION}
PKGNAME= ${DISTNAME}p0
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>