# $OpenBSD: Makefile,v 1.34 2007/07/14 22:16:16 kili Exp $ # $FreeBSD: Makefile,v 1.4 1999/01/10 20:12:06 steve Exp $ COMMENT= "garbage collection and memory leak detection for C and C++" VERSION= 7.0 DISTNAME= gc-${VERSION} PKGNAME= boehm-gc-${VERSION} SHARED_LIBS += gc 2.0 # .1.2 SHARED_LIBS += cord 1.3 # .1.3 CATEGORIES= devel MASTER_SITES= ${HOMEPAGE}gc_source/ HOMEPAGE= http://www.hpl.hp.com/personal/Hans_Boehm/gc/ MAINTAINER= Todd T. Fries NOT_FOR_ARCHS= hppa powerpc vax PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MAKE_ENV= CP="cp" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_MAN="${INSTALL_MAN}" USE_LIBTOOL= Yes CONFIGURE_STYLE=gnu CONFIGURE_ARGS= ${CONFIGURE_SHARED} #XXX: support not finished yet # --enable-threads=pthreads pre-configure: @mv ${WRKSRC}/doc/gc.man ${WRKSRC}/doc/gc.man.in @sed -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/doc/gc.man.in > \ ${WRKSRC}/doc/gc.man aliases= malloc malloc_atomic free realloc enable_incremental \ register_finalizer malloc_ignore_off_page \ malloc_atomic_ignore_off_page set_warn_proc post-install: ${INSTALL_DATA} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3 .for i in ${aliases} ln -s gc.3 ${PREFIX}/man/man3/GC_$i.3 .endfor .include