summaryrefslogtreecommitdiff
path: root/mail/qmail-notify/Makefile
blob: 15cbe01906a6f4474ee08cd31f237ad41d77559e (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
# New ports collection makefile for:	qmail-notify
# Date created:		24 Aug 2002
# Whom:			Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

PORTNAME=	qmail-notify
PORTVERSION=	0.93
CATEGORIES=	mail
MASTER_SITES=	http://untroubled.org/qmail-notify/

MAINTAINER=	sergei@FreeBSD.org
COMMENT=	Delayed delivery notification for qmail

EXAMPLES=	cron.hourly message.txt
DOCS=		ANNOUNCEMENT NEWS README TODO

pre-build:
	${ECHO_CMD} ${PREFIX}/bin   > ${WRKSRC}/conf-bin
	${ECHO_CMD} ${CC} ${CFLAGS} -DHAVE_SRANDOM > ${WRKSRC}/conf-cc

do-install:
	cd ${WRKSRC} && ./installer
	@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>