pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mailgraph package
Hi Kimmo,
I have an old PR (pkg/51573) about mail/mailgraph. It is not really
serious but I would close it.
Mailgraph did not work for me, the css file was missing ... I now add
some cosmetics and I make pkglint happy.
Do you agree with this modified Makefile? If it is ok for you, I will
commit.
------------------------8<------------------------8<--------------------------
# $NetBSD: Makefile,v 1.25 2019/08/11 13:21:29 wiz Exp $
DISTNAME= mailgraph-1.14
PKGREVISION= 6
CATEGORIES= mail
MASTER_SITES= http://mailgraph.schweikert.ch/pub/
MASTER_SITES+= http://mailgraph.schweikert.ch/pub/old
MAINTAINER= kim%tac.nyc.ny.us@localhost
HOMEPAGE= http://mailgraph.schweikert.ch/
COMMENT= RRDtool frontend for mail statistics
LICENSE= gnu-gpl-v2
DEPENDS+= rrdtool>=1:../../databases/rrdtool
DEPENDS+= p5-File-Tail-[0-9]*:../../misc/p5-File-Tail
USE_TOOLS+= perl:run
NO_BUILD= yes
REPLACE_PERL+= mailgraph.cgi mailgraph.pl
BUILD_DEFS+= VARBASE
OWN_DIRS+= ${VARBASE}/db/mailgraph
RCD_SCRIPTS= mailgraph
SUBST_CLASSES+= var
SUBST_STAGE.var= pre-configure
SUBST_FILES.var= mailgraph.cgi mailgraph.pl
SUBST_VARS.var= VARBASE
SUBST_MESSAGE.var= Fixing hardcoded /var.
AUTO_MKDIRS= yes
INSTALLATION_DIRS+= libexec/cgi-bin
INSTALLATION_DIRS+= sbin
INSTALLATION_DIRS+= share/doc/mailgraph
INSTALLATION_DIRS+= share/mailgraph
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi \
${DESTDIR}${PREFIX}/libexec/cgi-bin/mailgraph.cgi
${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl \
${DESTDIR}${PREFIX}/sbin/mailgraph
${INSTALL_DATA} ${WRKSRC}/mailgraph.css \
${DESTDIR}${PREFIX}/share/mailgraph/mailgraph.css
${INSTALL_DATA} ${WRKSRC}/CHANGES \
${DESTDIR}${PREFIX}/share/doc/mailgraph/CHANGES
${INSTALL_DATA} ${WRKSRC}/COPYING \
${DESTDIR}${PREFIX}/share/doc/mailgraph/COPYING
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/mailgraph/README
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index