2005-03-20 21:35:13 +00:00
|
|
|
# Ports collection makefile for: smtptrapd
|
|
|
|
# Date created: 19 March 2005
|
|
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= smtptrapd
|
2010-12-09 23:45:08 +00:00
|
|
|
PORTVERSION= 1.6
|
2005-03-20 21:35:13 +00:00
|
|
|
CATEGORIES= mail
|
2008-06-20 12:48:05 +00:00
|
|
|
MASTER_SITES= SF
|
2005-03-20 21:35:13 +00:00
|
|
|
|
2008-07-18 21:05:20 +00:00
|
|
|
MAINTAINER= glarkin@FreeBSD.org
|
2005-03-20 21:35:13 +00:00
|
|
|
COMMENT= RFC 2821 compliant SMTP service that always returns a 4xx soft error
|
|
|
|
|
2007-04-20 23:09:30 +00:00
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}
|
|
|
|
|
2005-05-17 16:35:32 +00:00
|
|
|
USE_RC_SUBR= smtptrapd.sh
|
2005-03-20 21:35:13 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/smtptrapd
|
|
|
|
|
|
|
|
do-build:
|
2010-12-09 23:45:08 +00:00
|
|
|
@cd ${WRKSRC} && ${CC} ${CFLAGS} -o smtptrapd smtptrapd.c
|
2005-03-20 21:35:13 +00:00
|
|
|
|
|
|
|
do-install:
|
2010-12-09 23:45:08 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${PREFIX}/bin/
|
2005-03-20 21:35:13 +00:00
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
2007-04-18 11:46:10 +00:00
|
|
|
.include <bsd.port.mk>
|