freebsd-ports/devel/boehm-gc/Makefile

55 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: boehm-gc
# Date created: 15 November 1996
# Whom: Mike McGaughey <mmcg@cs.monash.edu.au>
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
2000-04-11 23:30:15 +02:00
PORTNAME= boehm-gc
2009-12-15 06:53:43 +01:00
PORTVERSION= 7.1
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
2009-12-15 06:53:43 +01:00
DISTNAME= gc-${PORTVERSION:S/.a/alpha/}
MAINTAINER= stas@FreeBSD.org
2003-02-22 15:25:38 +01:00
COMMENT= Garbage collection and memory leak detection for C and C++
GNU_CONFIGURE= yes
USE_GNOME= gnomehack
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-cplusplus --disable-static --disable-threads
MAKE_JOBS_UNSAFE= yes
OPTIONS= FULLDEBUG "Debugging support (see documentation)" off
.include <bsd.port.pre.mk>
.if defined(WITH_FULLDEBUG)
2009-12-15 06:53:43 +01:00
CONFIGURE_ARGS+= --enable-gc-debug
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+fulldebug
.endif
MAN3= gc.3
2005-06-29 18:29:45 +02:00
.if ${ARCH} == "ia64"
BROKEN= Does not compile on ia64
.endif
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
2009-12-15 06:53:43 +01:00
#
# Get rid of .la and static library files
#
post-configure:
@${REINPLACE_CMD} -E -e \
'/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
test: build
cd ${WRKSRC} && ${MAKE} check
.include <bsd.port.post.mk>