# $Id: Portfile,v 1.3 2005/06/23 08:23:57 olegb Exp $

PortSystem 1.0
name		slib-guile
version		1.0
categories	devel
maintainers	darwinports@opendarwin.org
platforms	darwin
description	Wrapper port to properly set up slib and guile together
long_description	${description}
depends_lib	lib:slib:slib lib:guile:guile
distfiles

configure {}
build {}
destroot {
	system "mkdir -p ${workpath}/destroot/${prefix}/share/guile"
	file link -s ${workpath}/destroot/${prefix}/share/guile/slib ${prefix}/lib/slib
}
post-activate {
	system "${prefix}/bin/guile -c \"(use-modules (ice-9 slib)) (require 'new-catalog)\""
}
