aboutsummaryrefslogtreecommitdiff
path: root/mail/mailmgr
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-06-30 07:53:42 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-06-30 07:53:42 +0000
commit901a10ae9b37081561f38f86257780440a61df2c (patch)
tree79d84ae196da22f6596dc99b2ce4c883f26e3efa /mail/mailmgr
parent18b9aabaf30955d29f76622d5685881745871c53 (diff)
downloadports-901a10ae9b37081561f38f86257780440a61df2c.tar.gz
ports-901a10ae9b37081561f38f86257780440a61df2c.zip
Notes
Diffstat (limited to 'mail/mailmgr')
-rw-r--r--mail/mailmgr/Makefile10
-rw-r--r--mail/mailmgr/pkg-descr2
-rw-r--r--mail/mailmgr/pkg-message4
3 files changed, 10 insertions, 6 deletions
diff --git a/mail/mailmgr/Makefile b/mail/mailmgr/Makefile
index ac87f20bb154..4dc9ef83a9a7 100644
--- a/mail/mailmgr/Makefile
+++ b/mail/mailmgr/Makefile
@@ -8,19 +8,23 @@
PORTNAME= mailmgr
PORTVERSION= 1.2.3
CATEGORIES= mail
-MASTER_SITES= http://web.onda.com.br/orso/
+MASTER_SITES= http://sarg.sourceforge.net/
MAINTAINER= sexbear@tmu.edu.tw
-COMMENT= Sendmail Analisys Report Generator
+COMMENT= Sendmail Analysis Report Generator
GNU_CONFIGURE= yes
+MSG_FILE= ${PKGDIR}/pkg-message
+PKGMESSAGE= ${WRKSRC}/pkg-message
+
do-install:
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf ${PREFIX}/etc/mailmgr.conf.default
.if !exists(${PREFIX}/etc/mailmgr.conf)
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf ${PREFIX}/etc/mailmgr.conf
.endif
${INSTALL_PROGRAM} ${WRKSRC}/mailmgr ${PREFIX}/bin
- @${SED} -e 's,PREFIX,${PREFIX},g' ${PKGMESSAGE}
+ @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/mail/mailmgr/pkg-descr b/mail/mailmgr/pkg-descr
index 18f1b6517ec1..cdec6c0e03a5 100644
--- a/mail/mailmgr/pkg-descr
+++ b/mail/mailmgr/pkg-descr
@@ -9,4 +9,4 @@ The html reports contain the following informations:
Messages from with date, time and bytes per user
Messages to with date, time and bytes per user
-WWW: http://web.onda.com.br/orso
+WWW: http://sarg.sourceforge.net/mailmgr.php
diff --git a/mail/mailmgr/pkg-message b/mail/mailmgr/pkg-message
index 48970144b22f..636ec82ac55d 100644
--- a/mail/mailmgr/pkg-message
+++ b/mail/mailmgr/pkg-message
@@ -1,4 +1,4 @@
---------------------------------------------------------------
-You need to configure the PREFIX/etc/mailmgr.conf before using it.
-See http://web.onda.com.br/orso/mailmgr.README.txt
+You need to configure the %%PREFIX%%/etc/mailmgr.conf before using it.
+See http://sarg.sourceforge.net/mailmgr.README.txt
---------------------------------------------------------------