From f4aa4880091fbb962fc25c06f96980565facf576 Mon Sep 17 00:00:00 2001 From: ahze Date: Tue, 12 Sep 2006 15:25:17 +0000 Subject: - Update for latest guile git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7288 df743ca5-7f9a-e211-a948-0013205c9059 --- lang/slib-guile/Makefile | 31 +++++++++++++++++++++++++++++++ lang/slib-guile/pkg-descr | 4 ++++ lang/slib-guile/pkg-plist | 4 ++++ 3 files changed, 39 insertions(+) create mode 100644 lang/slib-guile/Makefile create mode 100644 lang/slib-guile/pkg-descr create mode 100644 lang/slib-guile/pkg-plist 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 +# +# $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 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 -- cgit v1.2.3