1 # $NetBSD: Makefile,v 1.42 2010/03/24 19:43:23 asau Exp $
3 DISTNAME= guile-slib-3.2.2
9 MAINTAINER= gdt@NetBSD.org
10 HOMEPAGE= http://swissnet.ai.mit.edu/~jaffer/SLIB.html
11 COMMENT= SLIB glue files for guile 1.8
13 # This does not quite work. The problem is that new-catalog writes
14 # the catalog in /usr/pkg/share/guile/site, rarther than the proper
15 # place in the destdir.
16 #PKG_DESTDIR_SUPPORT= user-destdir
18 DEPENDS+= slib>=3.2.2:../../devel/slib
23 INSTALLATION_DIRS= share/guile share/guile/site
26 ${LN} -sf ${PREFIX}/share/slib \
27 ${DESTDIR}${PREFIX}/share/guile/site/slib
28 ${RM} -f ${DESTDIR}${PREFIX}/share/guile/slibcat
29 cd ${DESTDIR}${PREFIX}/share/guile/site/slib && \
30 GUILE_LOAD_PATH=${PREFIX}/share \
31 guile -q -c "(begin (use-modules (ice-9 slib)) (require 'new-catalog))"
33 # Our 1.8.2 package applies a necessary patch.
34 BUILDLINK_API_DEPENDS.guile+= guile>=1.8.2
35 .include "../../lang/guile/buildlink3.mk"
36 .include "../../mk/bsd.pkg.mk"