2001-05-04 03:28:14 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2001/05/04 01:28:14 jlam Exp $
|
1997-10-06 16:06:09 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.1 1996/11/16 01:51:25 jdp Exp
|
|
|
|
#
|
|
|
|
|
2000-11-16 12:16:02 +01:00
|
|
|
DISTNAME= gc5.3
|
|
|
|
PKGNAME= boehm-gc-5.3
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= devel
|
2000-06-20 23:47:20 +02:00
|
|
|
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
|
1997-10-06 16:06:09 +02:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
2000-06-20 23:47:20 +02:00
|
|
|
HOMEPAGE= http://www.hpl.hp.com/personal/Hans_Boehm/gc/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Garbage collection and memory leak detection for C and C++
|
2000-06-20 23:47:20 +02:00
|
|
|
|
|
|
|
USE_GMAKE= # defined
|
1998-11-13 00:03:39 +01:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
WRKSRC= ${WRKDIR}/gc
|
2001-05-04 03:28:14 +02:00
|
|
|
MAKE_ENV+= COPTS="${CFLAGS}"
|
2000-06-20 23:47:20 +02:00
|
|
|
|
|
|
|
ALL_TARGET= BSD-pkg-all
|
|
|
|
INSTALL_TARGET= BSD-pkg-install
|
1997-10-06 16:06:09 +02:00
|
|
|
|
2000-03-16 12:59:16 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2001-05-04 03:28:14 +02:00
|
|
|
|
2000-03-16 12:59:16 +01:00
|
|
|
.if defined(EXTRACT_USING_PAX)
|
|
|
|
EXTRACT_ELEMENTS= -u
|
|
|
|
.endif
|
|
|
|
|
2000-07-25 02:46:58 +02:00
|
|
|
.if ${MACHINE_ARCH} == "mipsel"
|
|
|
|
CFLAGS+= -D__MIPSEL__
|
|
|
|
.endif
|
|
|
|
|
1999-09-24 18:42:05 +02:00
|
|
|
post-extract:
|
|
|
|
${MV} ${WRKSRC}/gc.man ${WRKSRC}/gc.man.in
|
|
|
|
|
|
|
|
pre-build:
|
2001-05-04 03:28:14 +02:00
|
|
|
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
|
|
|
|
${WRKSRC}/gc.man.in > ${WRKSRC}/gc.man
|
1999-09-24 18:42:05 +02:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|