aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-14 09:11:05 +0800
committerkris <kris@FreeBSD.org>2002-10-14 09:11:05 +0800
commit11ed67c81fdc09398dcfc2766ac337f416911d82 (patch)
treed1ddbc89d3ebc0b7ce59c10c9f415bd2ec39151e
parent03f19a1d1c73695625bdee489d51190410c7afb3 (diff)
downloadfreebsd-ports-gnome-11ed67c81fdc09398dcfc2766ac337f416911d82.tar.gz
freebsd-ports-gnome-11ed67c81fdc09398dcfc2766ac337f416911d82.tar.zst
freebsd-ports-gnome-11ed67c81fdc09398dcfc2766ac337f416911d82.zip
Fix build [1] and update to mailgraph-0.22 [2]
Submitted by: Olivier Tharan <olive@oban.frmug.org> [1] (based on), Gea-Suan Lin <gslin@Infomath.math.NCTU.edu.tw> (maintainer) PR: ports/43637 [1], ports/43350 [2]
-rw-r--r--mail/mailgraph/Makefile6
-rw-r--r--mail/mailgraph/distinfo2
-rw-r--r--mail/mailgraph/pkg-plist1
3 files changed, 4 insertions, 5 deletions
diff --git a/mail/mailgraph/Makefile b/mail/mailgraph/Makefile
index 3ae766d233c7..53e0ae693687 100644
--- a/mail/mailgraph/Makefile
+++ b/mail/mailgraph/Makefile
@@ -6,15 +6,12 @@
#
PORTNAME= mailgraph
-PORTVERSION= 0.21
-PORTREVISION= 0
+PORTVERSION= 0.22
CATEGORIES= mail
MASTER_SITES= http://people.ee.ethz.ch/~dws/software/mailgraph/pub/
MAINTAINER= gslin@ccca.nctu.edu.tw
-BROKEN= "Does not install"
-
RUN_DEPENDS= ${SITE_PERL}/RRDp.pm:${PORTSDIR}/net/rrdtool \
${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail
@@ -27,6 +24,7 @@ post-patch:
@${SED} -e "s,%%PREFIX%%,${PREFIX}," ${FILESDIR}/mailgraph.sh > ${WRKSRC}/${STARTUP_SCRIPT}
do-install:
+ ${MKDIR} ${PREFIX}/www/cgi-bin
.for FILE in mailgraph.cgi mailgraph.pl
@${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/www/cgi-bin/
.endfor
diff --git a/mail/mailgraph/distinfo b/mail/mailgraph/distinfo
index 6bac47e63abf..077f19937f15 100644
--- a/mail/mailgraph/distinfo
+++ b/mail/mailgraph/distinfo
@@ -1 +1 @@
-MD5 (mailgraph-0.21.tar.gz) = b3065fa70d334d76419da3ca2c035b29
+MD5 (mailgraph-0.22.tar.gz) = 0ca81cd15e64716baa41993d4413a6e3
diff --git a/mail/mailgraph/pkg-plist b/mail/mailgraph/pkg-plist
index 814b807c870f..1d34740a4e1f 100644
--- a/mail/mailgraph/pkg-plist
+++ b/mail/mailgraph/pkg-plist
@@ -1,3 +1,4 @@
etc/rc.d/mailgraph.sh.sample
www/cgi-bin/mailgraph.cgi
www/cgi-bin/mailgraph.pl
+@unexec rmdir %D/www/cgi-bin 2>/dev/null || true