# New ports collection makefile for:	msend
# Date created:				Apr 2, 2001
# Whom:					Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD: ports/net/msend/Makefile,v 1.7 2012/02/27 23:07:12 scheidell Exp $
#

PORTNAME=	msend
PORTVERSION=	3.0
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	markp

MAINTAINER=	gd@rambler-co.ru
COMMENT=	A client and server for the RFC1312 message protocol

USE_RC_SUBR=	mesgd
USE_AUTOTOOLS=	aclocal autoheader autoconf automake
AUTOMAKE_ARGS+=	--add-missing
GNU_CONFIGURE=	yes
CFLAGS+=	-DUSE_READLINE -DNO_GETDTABLESIZE -DNEW_HEADERS

MAN1=		msend.1
MAN8=		mesgd.8

PLIST_FILES=	bin/msend \
		sbin/mesgd

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
CFLAGS+=	-DUSE_UTMPX
.endif

.include <bsd.port.post.mk>
