# ex:ts=8
# New ports collection makefile for: Electric Fence
# Date created: 	13 November 1997
# Whom:			jraynard
#
# $FreeBSD$
#

PORTNAME=	electricfence
PORTVERSION=	2.2.2
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.perens.com/pub/ElectricFence/Beta/  \
		ftp://ftp.netsw.org/netsw/System/Libs/Memory/Debug/  \
		ftp://ftp.sai.msu.su/pub/unix/debug/  \
		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	devel/lang/c
DISTNAME=	ElectricFence-${PORTVERSION}

MAINTAINER=	obrien@FreeBSD.org

CFLAGS+=	-D__USE_BSD
MAN3=		efence.3

do-install:
	${INSTALL_DATA} ${WRKSRC}/libefence.a ${PREFIX}/lib
	${INSTALL_MAN} ${WRKSRC}/efence.3 ${PREFIX}/man/man3

.include <bsd.port.mk>
