aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-auditor/Makefile
blob: 790a61b00cb5f5a23a26aa8225f4171fdf9672f0 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:	qmail-auditor
# Date created:		2007-02-08
# Whom:			Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
#
# $FreeBSD$
#

PORTNAME=	qmail-auditor
PORTVERSION=	0.47
PORTREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	SF http://www6.freebsdbrasil.com.br/~eksffa/l/qmail-auditor/

MAINTAINER=	eksffa@freebsdbrasil.com.br
COMMENT=	Selective e-mail auditing for qmail by means of qmail-queue wrapping

WRKSRC=		${WRKDIR}/${PORTNAME:R}

USE_QMAIL_RUN=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

SUB_FILES=	pkg-message
SUB_LIST=	QMAIL_PREFIX=${QMAIL_PREFIX}

PLIST_FILES=	bin/qmail-auditor

PORTDOCS=	README

INSTALL_TARGET=	perm

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|@prefix@|g' \
	${WRKSRC}/src/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>