summaryrefslogtreecommitdiff
path: root/mail/ifile-procmail/Makefile
blob: 4f44695613afeacd89912122ba59255fefa715c0 (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
# $NetBSD: Makefile,v 1.9 2008/04/07 17:21:39 joerg Exp $
#

DISTNAME=	ifile.procmail-0.3
PKGNAME=	${DISTNAME:S/./-/}
PKGREVISION=	2
CATEGORIES=	mail
MASTER_SITES=	http://Xtrmntr.org/ORBman/download/
EXTRACT_SUFX=	.tgz

MAINTAINER=	salo@NetBSD.org
HOMEPAGE=	http://Xtrmntr.org/ORBman/ifile.procmail.html
COMMENT=	Set of scripts for ifile used in procmail environment

DEPENDS+=	ifile>=1.2.1:../../mail/ifile
DEPENDS+=	procmail>=3.22:../../mail/procmail

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/${DISTNAME}

USE_TOOLS+=	ksh:run mktemp:run

REPLACE_KSH+=	bin/ifile.*

NO_BUILD=	YES

INSTALLATION_DIRS=	bin share/doc/ifile share/examples/ifile

do-install:
	for f in `${LS} ${WRKSRC}/bin` ; do \
		${INSTALL_SCRIPT} ${WRKSRC}/bin/$$f ${DESTDIR}${PREFIX}/bin ; \
	done
	${INSTALL_DATA} ${WRKSRC}/README.new \
		${DESTDIR}${PREFIX}/share/doc/ifile/README
	${INSTALL_DATA} ${WRKSRC}/sample.procmailrc \
		${DESTDIR}${PREFIX}/share/examples/ifile

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