aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail-notify/Makefile
blob: 6d6b1740d8261f4a8230242a656d8f32071d6c06 (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
# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$

PORTNAME=   qmail-notify
PORTVERSION=    0.93
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://untroubled.org/${PORTNAME}/

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

CFLAGS+=    -DHAVE_SRANDOM

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

OPTIONS_DEFINE= DOCS EXAMPLES

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

do-install:
    (cd ${WRKSRC} && ./installer)
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>