summaryrefslogtreecommitdiff
path: root/mail/qmail-lint/Makefile
blob: f1f622eaef1b4837a941c877291059d908755b3e (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
# $NetBSD: Makefile,v 1.3 2003/03/29 12:41:37 jmmv Exp $
#

DISTNAME=	qmail-lint-0.55
PKGREVISION=	1
WRKSRC=		${WRKDIR}
CATEGORIES=	mail
MASTER_SITES=	http://qmail.obeer.com/
EXTRACT_SUFX=	#

MAINTAINER=	zuntum@netbsd.org
HOMEPAGE=	http://www.qmail.org/
COMMENT=	examine the qmail configuration to see if any common errors exist

EXTRACT_CMD=	${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}

USE_PERL5=	yes
REPLACE_PERL=	${DISTNAME}
NO_BUILD=	yes

post-patch:
	${SED} "s,/var/qmail,${QMAILDIR}," ${WRKSRC}/${DISTNAME}	\
		> ${WRKSRC}/${DISTNAME}.done
	${MV} ${WRKSRC}/${DISTNAME}.done ${WRKSRC}/${DISTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/qmail-lint

.include "../../mk/bsd.pkg.mk"