aboutsummaryrefslogtreecommitdiffstats
path: root/mail/autorespond/Makefile
blob: 6095c0e6c280a993d9b6f71cd07c7683bc2f152c (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
# New ports collection makefile for: autorespond
# Date created:     24 Jan 2000
# Whom:         Neil Blakey-Milner <nbm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   autorespond
PORTVERSION=    2.0.2
CATEGORIES= mail
MASTER_SITES=   http://www.inter7.com/devel/

MAINTAINER= roam@FreeBSD.org

USE_REINPLACE=  yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 440003 || ${OSVERSION} >= 500000 && ${OSVERSION} < 500027
CFLAGS+=    -DNEED_STRCASESTR
.endif

post-patch:
    ${REINPLACE_CMD} -Ee "s|^(DEFS =.*)|\1 ${CFLAGS}|" ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin/

.include <bsd.port.post.mk>