aboutsummaryrefslogtreecommitdiffstats
path: root/mail/wbl/Makefile
blob: 6518a70d84ac1dd0a9f41197d400a991924efdfa (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
# New ports collection makefile for:    wbl
# Date created:     2006-07-15
# Whom:         Renato Botelho <garga@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   wbl
PORTVERSION=    1.1
CATEGORIES= mail
MASTER_SITES=   http://www.technocage.com/~caskey/wbl/download/

MAINTAINER= garga@FreeBSD.org
COMMENT=    Simple tool to manage white/black list on qmail

USE_BZIP2=  yes
USE_PERL5_RUN=  yes
USE_QMAIL_RUN=  yes
NO_BUILD=   yes
MAKE_JOBS_SAFE= yes

PORTDOCS=   CHANGELOG COPYING README
PLIST_FILES=    bin/wbl

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' \
              -e 's,/var/qmail,${QMAIL_PREFIX},g' \
              -e 's,/bin/cat,${CAT},g' \
        ${WRKSRC}/wbl

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/wbl ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
.endif

.include <bsd.port.mk>