freebsd-ports/mail/smtptrapd/Makefile

24 lines
502 B
Makefile
Raw Normal View History

# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$
PORTNAME= smtptrapd
PORTVERSION= 1.6
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= RFC 2821 compliant SMTP service that always returns a 4xx soft error
USE_RC_SUBR= smtptrapd
PLIST_FILES= bin/smtptrapd
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${CC} ${CFLAGS} -lpthread -o smtptrapd smtptrapd.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>