1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/mail/mailmgr/Makefile
Volker Stolz 901a10ae9b - Chase distfile
- Fix packaging

PR:		ports/66865
Submitted by:	Rong-En Fan
Approved by:	maintainer timeout
2004-06-30 07:53:42 +00:00

31 lines
768 B
Makefile

# New ports collection makefile for: mailmgr
# Date created: 14 August 2003
# Whom: Hsin-Hsiung Chang
#
# $FreeBSD$
#
PORTNAME= mailmgr
PORTVERSION= 1.2.3
CATEGORIES= mail
MASTER_SITES= http://sarg.sourceforge.net/
MAINTAINER= sexbear@tmu.edu.tw
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} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>