aboutsummaryrefslogtreecommitdiffstats
path: root/mail/autorespond/Makefile
blob: a933c47662de78ebf81d88263ce9f9f5be906c07 (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
# Created by: Neil Blakey-Milner <nbm@FreeBSD.org>
# $FreeBSD$

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

PATCH_SITES=    http://people.FreeBSD.org/~roam/ports/patches/mail/
PATCHFILES= ${DISTNAME}-conf-strcasestr.patch

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple autoresponder for qmail

MAN1=       autorespond.1
PLIST_FILES=    bin/autorespond

.if defined(WITHOUT_MDOC_MANPAGE)
AR_MANPAGE= ${WRKSRC}/autorespond.1
.else
AR_MANPAGE= ${FILESDIR}/autorespond.1
.endif

NO_STAGE=   yes
post-patch:
    ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
    ${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
    ${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin/
    ${INSTALL_MAN} ${AR_MANPAGE} ${PREFIX}/man/man1/

.include <bsd.port.mk>