aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smtptrapd/Makefile
blob: 4615c8a68b9d11f8af3077d30e6d605b03e80972 (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
# Ports collection makefile for:    smtptrapd
# Date created:             19 March 2005
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   smtptrapd
PORTVERSION=    1.6
CATEGORIES= mail
MASTER_SITES=   SF

MAINTAINER= glarkin@FreeBSD.org
COMMENT=    RFC 2821 compliant SMTP service that always returns a 4xx soft error

CFLAGS+=    ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}

USE_RC_SUBR=    smtptrapd.sh

PLIST_FILES=    bin/smtptrapd

do-build:
    @cd ${WRKSRC} && ${CC} ${CFLAGS} -o smtptrapd smtptrapd.c

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${PREFIX}/bin/
    @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>