pkgsrc/devel/guile-slib/Makefile
2021-12-08 16:01:42 +00:00

32 lines
950 B
Makefile

# $NetBSD: Makefile,v 1.48 2021/12/08 16:03:58 adam Exp $
SLIBVERSION= 3.2.6
DISTNAME= guile-slib-${SLIBVERSION}
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://swissnet.ai.mit.edu/~jaffer/SLIB.html
COMMENT= SLIB glue files for guile
DEPENDS+= slib>=${SLIBVERSION}:../../devel/slib
NO_BUILD= yes
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= share/guile share/guile/2.0 share/guile/site
do-install:
${RM} -f ${DESTDIR}${PREFIX}/share/guile/site/slib
${LN} -sf ${PREFIX}/share/slib \
${DESTDIR}${PREFIX}/share/guile/site/slib
${RM} -f ${DESTDIR}${PREFIX}/share/guile/slibcat
cd ${DESTDIR}${PREFIX}/share/guile/site/slib && \
GUILE_LOAD_PATH=${PREFIX}/share \
GUILE_IMPLEMENTATION_PATH=${DESTDIR}${PREFIX}/share/guile/2.0 \
guile -q -c "(begin (use-modules (ice-9 slib)) (require 'new-catalog))"
.include "../../lang/guile20/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"