diff --git a/devel/libgcroots/DESCR b/devel/libgcroots/DESCR new file mode 100644 index 000000000000..d73ce2eb4ba7 --- /dev/null +++ b/devel/libgcroots/DESCR @@ -0,0 +1,7 @@ +This library abstracts architecture-dependent part of garbage collector +roots acquisition such as register windows of SPARC and register stack +backing store of IA-64. Main part of the code is based on Boehm GC 7.0. + +With this library, you can easily write your own garbage collector such as +for small footprint, some application-specific optimizations, just learning +or to test experimental ideas. diff --git a/devel/libgcroots/Makefile b/devel/libgcroots/Makefile new file mode 100644 index 000000000000..c12909060133 --- /dev/null +++ b/devel/libgcroots/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/02/29 13:06:36 obache Exp $ +# + +DISTNAME= libgcroots-0.2.1 +CATEGORIES= devel +MASTER_SITES= http://sigscheme.googlecode.com/files/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://code.google.com/p/sigscheme/wiki/libgcroots +COMMENT= Garbage collector supporting library + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= gcroots.pc.in + +# This directory is used for c++ interface, but not build by default. +post-install: + rmdir ${DESTDIR}${PREFIX}/include/libgcroots + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libgcroots/PLIST b/devel/libgcroots/PLIST new file mode 100644 index 000000000000..61260dd1f37c --- /dev/null +++ b/devel/libgcroots/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/29 13:06:36 obache Exp $ +include/gcroots.h +lib/libgcroots.la +lib/pkgconfig/gcroots.pc diff --git a/devel/libgcroots/buildlink3.mk b/devel/libgcroots/buildlink3.mk new file mode 100644 index 000000000000..5c6fe276845e --- /dev/null +++ b/devel/libgcroots/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/29 13:06:36 obache Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBGCROOTS_BUILDLINK3_MK:= ${LIBGCROOTS_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= libgcroots +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgcroots} +BUILDLINK_PACKAGES+= libgcroots +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgcroots + +.if ${LIBGCROOTS_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.libgcroots+= libgcroots>=0.2.1 +BUILDLINK_PKGSRCDIR.libgcroots?= ../../devel/libgcroots +.endif # LIBGCROOTS_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/libgcroots/distinfo b/devel/libgcroots/distinfo new file mode 100644 index 000000000000..9bb25b70173f --- /dev/null +++ b/devel/libgcroots/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/02/29 13:06:36 obache Exp $ + +SHA1 (libgcroots-0.2.1.tar.gz) = 28c11ced03a5c8a6cd1c753cd59c3d8c03f93d7f +RMD160 (libgcroots-0.2.1.tar.gz) = 83f61c9564829942165588c6bdb1a2457170f34d +Size (libgcroots-0.2.1.tar.gz) = 409928 bytes