aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail-notify/Makefile
blob: 4ce82c89247cee1c38a3ccefab702f550cb64ee0 (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
# 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
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://untroubled.org/${PORTNAME}/

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

CFLAGS+=    -DHAVE_SRANDOM
LDFLAGS?=   -s

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

do-configure:
    ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
    ${ECHO_CMD} "${CC} ${CFLAGS}"   > ${WRKSRC}/conf-cc
    ${ECHO_CMD} "${CC} ${LDFLAGS}"  > ${WRKSRC}/conf-ld

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

.include <bsd.port.mk>