a19a4eb0e7
Mirrors slib-3.2.5 update (no own files). Based on diff by gdt.
30 lines
900 B
Makefile
30 lines
900 B
Makefile
# $NetBSD: Makefile,v 1.45 2016/09/15 14:02:41 wiz Exp $
|
|
|
|
DISTNAME= guile-slib-3.2.5
|
|
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>=3.2.5nb1:../../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"
|