diff options
Diffstat (limited to 'mail/mailmgr/Makefile')
-rw-r--r-- | mail/mailmgr/Makefile | 10 |
1 files changed, 7 insertions, 3 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> |