summaryrefslogtreecommitdiffstats
path: root/devel/ElectricFence/Makefile
blob: 2b2422583d1369a06a714609ed39d431b69f9f1a (plain)
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
# Created by: jraynard
# $FreeBSD$

PORTNAME=	electricfence
PORTVERSION=	2.2.2
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR=	UNIX/misc
DISTNAME=	ElectricFence-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Debugging malloc() that uses the VM hardware to detect buffer overruns

USE_LDCONFIG=	yes
CFLAGS+=	-D__USE_BSD

MAKE_ARGS=	CC="${CC}"
PLIST_FILES=	bin/ef.sh lib/libefence.a lib/libefence.so.0 man/man3/efence.3.gz

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud