blob: 881b4fb6171b2c340e24585eac95dd13976a1ada (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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= ports@FreeBSd.org
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>
|