# Ports collection makefile for:	smtptrapd
# Date created:				19 March 2005
# Whom:					Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD: ports/mail/smtptrapd/Makefile,v 1.7 2007/04/20 23:09:30 gabor Exp $
#

PORTNAME=	smtptrapd
PORTVERSION=	1.3
CATEGORIES=	mail
MASTER_SITES=	http://smtptrapd.inodes.org/

MAINTAINER=	ports@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>


syntax highlighted by Code2HTML, v. 0.9.1