summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-12 23:25:17 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-12 23:25:17 +0800
commitf4aa4880091fbb962fc25c06f96980565facf576 (patch)
tree52184f9c827a20ae80dca2768f13c4a7193467d0
parentbb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31 (diff)
downloadmarcuscom-ports-f4aa4880091fbb962fc25c06f96980565facf576.tar
marcuscom-ports-f4aa4880091fbb962fc25c06f96980565facf576.tar.gz
marcuscom-ports-f4aa4880091fbb962fc25c06f96980565facf576.tar.bz2
marcuscom-ports-f4aa4880091fbb962fc25c06f96980565facf576.tar.lz
marcuscom-ports-f4aa4880091fbb962fc25c06f96980565facf576.tar.xz
marcuscom-ports-f4aa4880091fbb962fc25c06f96980565facf576.tar.zst
marcuscom-ports-f4aa4880091fbb962fc25c06f96980565facf576.zip
- Update for latest guile
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7288 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--lang/slib-guile/Makefile31
-rw-r--r--lang/slib-guile/pkg-descr4
-rw-r--r--lang/slib-guile/pkg-plist4
3 files changed, 39 insertions, 0 deletions
diff --git a/lang/slib-guile/Makefile b/lang/slib-guile/Makefile
new file mode 100644
index 000000000..9555e6272
--- /dev/null
+++ b/lang/slib-guile/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: SLIB for Guile
+# Date created: 3 November 2003
+# Whom: Kimura Fuyuki <fuyuki@nigredo.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= slib
+PORTVERSION= 3a3 # Keep this in sync with lang/slib
+PORTREVISION= 1
+CATEGORIES= lang scheme
+MASTER_SITES= # empty
+PKGNAMESUFFIX= -guile
+DISTFILES= # empty
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= SLIB installation for Guile
+
+BUILD_DEPENDS= ${LOCALBASE}/share/slib/require.scm:${PORTSDIR}/lang/slib \
+ guile:${PORTSDIR}/lang/guile
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+NO_BUILD= yes
+
+do-install:
+ ${LN} -shf ${PREFIX}/share/slib ${LOCALBASE}/share/guile/1.6/slib
+ cd ${PREFIX}/share/guile/1.6/slib && \
+ ${LOCALBASE}/bin/guile -q -l guile.init -c \
+ "(require 'new-catalog)"
+
+.include <bsd.port.mk>
diff --git a/lang/slib-guile/pkg-descr b/lang/slib-guile/pkg-descr
new file mode 100644
index 000000000..38f64caad
--- /dev/null
+++ b/lang/slib-guile/pkg-descr
@@ -0,0 +1,4 @@
+To use the features offered by the SLIB library, add the following
+construct to your programs:
+
+ (use-modules (ice-9 slib))
diff --git a/lang/slib-guile/pkg-plist b/lang/slib-guile/pkg-plist
new file mode 100644
index 000000000..7126a4fb3
--- /dev/null
+++ b/lang/slib-guile/pkg-plist
@@ -0,0 +1,4 @@
+@exec ln -shf %D/share/slib %D/share/guile/1.6slib
+@exec %D/bin/guile -q -l guile.init -c "(require 'new-catalog)
+@unexec rm -f %D/share/guile/1.6/slib
+@unexec rm -f %D/share/guile/1.6/slibcat