pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/guile30-slib devel/guile30-slib: import guile30-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2649709ad8cf
branches:  trunk
changeset: 375453:2649709ad8cf
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Mar 14 13:37:32 2022 +0000

description:
devel/guile30-slib: import guile30-slib-3.2.6

SLIB glue files for guile 3.0.

(untested but basically the same as the other two)

diffstat:

 devel/guile30-slib/DESCR    |   1 +
 devel/guile30-slib/Makefile |  39 +++++++++++++++++++++++++++++++++++++++
 devel/guile30-slib/PLIST    |   3 +++
 3 files changed, 43 insertions(+), 0 deletions(-)

diffs (55 lines):

diff -r 1584ca7ff833 -r 2649709ad8cf devel/guile30-slib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/guile30-slib/DESCR  Mon Mar 14 13:37:32 2022 +0000
@@ -0,0 +1,1 @@
+SLIB glue files for guile 3.0.
diff -r 1584ca7ff833 -r 2649709ad8cf devel/guile30-slib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/guile30-slib/Makefile       Mon Mar 14 13:37:32 2022 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2022/03/14 13:37:32 wiz Exp $
+
+SLIBVERSION=   3.2.6
+DISTNAME=      guile-slib-${SLIBVERSION}
+PKGNAME=       ${DISTNAME:S/guile/guile30/}
+CATEGORIES=    devel
+MASTER_SITES=  # empty
+DISTFILES=     # empty
+
+MAINTAINER=    gdt%NetBSD.org@localhost
+HOMEPAGE=      http://people.csail.mit.edu/jaffer/SLIB
+COMMENT=       SLIB glue files for guile
+
+GUILE_VERSION= guile30
+GUILE_DIR=     3.0
+PLIST_SUBST+=  GUILE_DIR=${GUILE_DIR}
+
+DEPENDS+=      slib>=${SLIBVERSION}:../../devel/slib
+
+NO_BUILD=      yes
+WRKSRC=                ${WRKDIR}
+
+# See ../guile-slib for comments explaining the choice of paths and
+# how this works.
+
+INSTALLATION_DIRS=     guile/${GUILE_DIR}/share/guile/site/${GUILE_DIR}
+
+do-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site/${GUILE_DIR}/slib
+       ${LN} -sf ${PREFIX}/share/slib \
+               ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site/${GUILE_DIR}/slib
+       ${RM} -f ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site/${GUILE_DIR}/slibcat
+       cd ${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site/${GUILE_DIR}/slib && \
+               GUILE_LOAD_PATH=${PREFIX}/share \
+               GUILE_IMPLEMENTATION_PATH=${DESTDIR}${PREFIX}/guile/${GUILE_DIR}/share/guile/site/${GUILE_DIR} \
+               ${PREFIX}/guile/${GUILE_DIR}/bin/guile -q -c "(begin (use-modules (ice-9 slib)) (require 'new-catalog))"
+
+.include "../../lang/${GUILE_VERSION}/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1584ca7ff833 -r 2649709ad8cf devel/guile30-slib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/guile30-slib/PLIST  Mon Mar 14 13:37:32 2022 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2022/03/14 13:37:32 wiz Exp $
+guile/${GUILE_DIR}/share/guile/site/${GUILE_DIR}/slib
+guile/${GUILE_DIR}/share/guile/site/${GUILE_DIR}/slibcat



Home | Main Index | Thread Index | Old Index