2003-09-28 20:36:34 +00:00
|
|
|
# New ports collection makefile for: mailmgr
|
|
|
|
# Date created: 14 August 2003
|
2004-02-18 09:17:04 +00:00
|
|
|
# Whom: Hsin-Hsiung Chang
|
2003-09-28 20:36:34 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mailmgr
|
|
|
|
PORTVERSION= 1.2.3
|
|
|
|
CATEGORIES= mail
|
2004-06-30 07:53:42 +00:00
|
|
|
MASTER_SITES= http://sarg.sourceforge.net/
|
2003-09-28 20:36:34 +00:00
|
|
|
|
|
|
|
MAINTAINER= sexbear@tmu.edu.tw
|
2004-06-30 07:53:42 +00:00
|
|
|
COMMENT= Sendmail Analysis Report Generator
|
2003-09-28 20:36:34 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2004-06-30 07:53:42 +00:00
|
|
|
MSG_FILE= ${PKGDIR}/pkg-message
|
|
|
|
PKGMESSAGE= ${WRKSRC}/pkg-message
|
|
|
|
|
2004-02-10 20:51:56 +00:00
|
|
|
do-install:
|
2004-02-18 09:17:04 +00:00
|
|
|
${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
|
2004-06-30 07:53:42 +00:00
|
|
|
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-02-10 20:51:56 +00:00
|
|
|
|
2003-09-28 20:36:34 +00:00
|
|
|
.include <bsd.port.mk>
|