summaryrefslogtreecommitdiff
path: root/devel/dmalloc/Makefile
blob: cae5e2938bd80b06b125ca4b6c46fb52a2c8f988 (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
# $NetBSD: Makefile,v 1.14 2005/04/11 21:45:20 tv Exp $

DISTNAME=		dmalloc-5.3.0
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=dmalloc/}
EXTRACT_SUFX=		.tgz

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.dmalloc.com/
COMMENT=		Run-time configurable debugging malloc library

USE_LANGUAGES=		c c++
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--enable-shlib
CFLAGS+=		-fPIC -DPIC
CONFIGURE_ARGS+=	--enable-threads
INSTALLATION_DIRS=	${INFO_DIR}

# XXX the "installinfo" target is broken
#INSTALL_TARGET=	install installinfo
post-install:
	${INSTALL_DATA} ${WRKSRC}/docs/dmalloc.info ${PREFIX}/${INFO_DIR}/

INFO_FILES=		dmalloc.info

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"