pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/guile30-slib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Mar 14 13:37:32 UTC 2022

Added Files:
        pkgsrc/devel/guile30-slib: DESCR Makefile PLIST

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/guile30-slib/DESCR \
    pkgsrc/devel/guile30-slib/Makefile pkgsrc/devel/guile30-slib/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/guile30-slib/DESCR
diff -u /dev/null pkgsrc/devel/guile30-slib/DESCR:1.1
--- /dev/null   Mon Mar 14 13:37:32 2022
+++ pkgsrc/devel/guile30-slib/DESCR     Mon Mar 14 13:37:32 2022
@@ -0,0 +1 @@
+SLIB glue files for guile 3.0.
Index: pkgsrc/devel/guile30-slib/Makefile
diff -u /dev/null pkgsrc/devel/guile30-slib/Makefile:1.1
--- /dev/null   Mon Mar 14 13:37:32 2022
+++ pkgsrc/devel/guile30-slib/Makefile  Mon Mar 14 13:37:32 2022
@@ -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"
Index: pkgsrc/devel/guile30-slib/PLIST
diff -u /dev/null pkgsrc/devel/guile30-slib/PLIST:1.1
--- /dev/null   Mon Mar 14 13:37:32 2022
+++ pkgsrc/devel/guile30-slib/PLIST     Mon Mar 14 13:37:32 2022
@@ -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