summaryrefslogtreecommitdiff
path: root/mail/autorespond/Makefile
blob: 5ce5a69eddc8c7c413d4c49eefc05a58f8a2cdbe (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.10 2007/03/24 06:28:22 schmonz Exp $
#

DISTNAME=	autorespond-2.0.5
CATEGORIES=	mail
MASTER_SITES=	${HOMEPAGE}

MAINTAINER=	schmonz@NetBSD.org
HOMEPAGE=	http://www.inter7.com/devel/
COMMENT=	Simple autoresponder add-on package for qmail

DEPENDS+=	qmail>=1.03:../../mail/qmail

SUBST_CLASSES+=		qmaildir
SUBST_STAGE.qmaildir=	do-configure
SUBST_FILES.qmaildir=	autorespond.c
SUBST_SED.qmaildir=	-e 's|/var/qmail|${QMAILDIR}|g'

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
BUILD_DEFS+=		QMAILDIR

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/autorespond.1 ${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/autorespond
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/autorespond
	${INSTALL_DATA} ${WRKSRC}/qmail-auto ${PREFIX}/share/doc/autorespond

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