summaryrefslogtreecommitdiff
path: root/devel/ElectricFence/Makefile
blob: 152cbab74ec2a5c4eaffd2b3045b40cee14687ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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=	ports@FreeBSD.org

PORTCOMMENT=	Debugging malloc() that uses the VM hardware to detect buffer overruns

INSTALLS_SHLIB=
CFLAGS+=	-D__USE_BSD
MAN3=		efence.3

do-install:
	${INSTALL_DATA} ${WRKSRC}/libefence.a ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/libefence.so.0.0 ${PREFIX}/lib/libefence.so.0
	${INSTALL_SCRIPT} ${WRKSRC}/ef.sh ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/efence.3 ${PREFIX}/man/man3

.include <bsd.port.mk>