aboutsummaryrefslogtreecommitdiff
path: root/lang/slib-guile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-12-14 20:18:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-12-14 20:18:35 +0000
commit06a67d3ffffe87aff1163d4197bdbae7019fe2d5 (patch)
treedea909f6e093a94421a03a050d10ff5a73038f95 /lang/slib-guile
parent7c5679b61514a3e199d744b795e71876773658d7 (diff)
downloadports-06a67d3ffffe87aff1163d4197bdbae7019fe2d5.tar.gz
ports-06a67d3ffffe87aff1163d4197bdbae7019fe2d5.zip
Notes
Diffstat (limited to 'lang/slib-guile')
-rw-r--r--lang/slib-guile/Makefile29
-rw-r--r--lang/slib-guile/pkg-descr4
-rw-r--r--lang/slib-guile/pkg-plist4
3 files changed, 37 insertions, 0 deletions
diff --git a/lang/slib-guile/Makefile b/lang/slib-guile/Makefile
new file mode 100644
index 000000000000..5f7ac3bec9b9
--- /dev/null
+++ b/lang/slib-guile/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: SLIB for Guile
+# Date created: 3 November 2003
+# Whom: Kimura Fuyuki <fuyuki@nigredo.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= slib
+PORTVERSION= 3a1 # Keep this in sync with lang/slib
+CATEGORIES= lang scheme
+MASTER_SITES= # empty
+PKGNAMESUFFIX= -guile
+DISTFILES= # empty
+
+MAINTAINER= fuyuki@nigredo.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/slib
+ ${LOCALBASE}/bin/guile -c \
+ "(use-modules (ice-9 slib)) (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 000000000000..38f64caad716
--- /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 000000000000..7cac1ba99c30
--- /dev/null
+++ b/lang/slib-guile/pkg-plist
@@ -0,0 +1,4 @@
+@exec ln -shf %D/share/slib %D/share/guile/slib
+@exec %D/bin/guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
+@unexec rm -f %D/share/guile/slib
+@unexec rm -f %D/share/guile/slibcat