1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/mail/smtptrapd/Makefile
2021-04-06 16:31:07 +02:00

28 lines
610 B
Makefile

# Created by: Anders Nordby <anders@FreeBSD.org>
PORTNAME= smtptrapd
PORTVERSION= 1.6
PORTREVISION= 1
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
LICENSE= GPLv2
PLIST_FILES= bin/smtptrapd \
"@dir(,,0755) /var/run/smtptrapd-root"
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${CC} ${CFLAGS} -lpthread -o smtptrapd smtptrapd.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}/var/run/smtptrapd-root
.include <bsd.port.mk>