summaryrefslogtreecommitdiff
path: root/mail/qmail-auditor/Makefile
blob: 9c5aee3f8e823e0291d03f924441c0fcc6f30aac (plain)
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
# Created by: Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
# $FreeBSD$

PORTNAME=	qmail-auditor
PORTVERSION=	0.47
PORTREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	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}

USES=		qmail:run
GNU_CONFIGURE=	yes

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>