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