aboutsummaryrefslogtreecommitdiff
path: root/lang/slib
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-07-31 09:34:28 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-07-31 09:34:28 +0000
commite24321dd1c3044f3f54561434b0c5a7788c87f79 (patch)
tree82ff292f016af38f6265be2839ccd851429a08fb /lang/slib
parentec6f87332249d306e75408acf828aaa1ba1260ad (diff)
downloadports-e24321dd1c3044f3f54561434b0c5a7788c87f79.tar.gz
ports-e24321dd1c3044f3f54561434b0c5a7788c87f79.zip
Notes
Diffstat (limited to 'lang/slib')
-rw-r--r--lang/slib/Makefile4
-rw-r--r--lang/slib/pkg-plist4
2 files changed, 8 insertions, 0 deletions
diff --git a/lang/slib/Makefile b/lang/slib/Makefile
index d1e84c687814..f7e3a47d44d1 100644
--- a/lang/slib/Makefile
+++ b/lang/slib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= slib
PORTVERSION= 2d1
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
DISTNAME= slib2d1
@@ -21,5 +22,8 @@ NO_BUILD= yes
do-install:
${MKDIR} ${PREFIX}/share/slib
${INSTALL_DATA} ${WRKSRC}/*.scm ${PREFIX}/share/slib
+ ${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/pkg-plist b/lang/slib/pkg-plist
index 4a04bbffce9a..0fd2900df127 100644
--- a/lang/slib/pkg-plist
+++ b/lang/slib/pkg-plist
@@ -120,4 +120,8 @@ share/slib/withfile.scm
share/slib/wttest.scm
share/slib/wttree.scm
share/slib/yasyn.scm
+@exec ln -shf %D/share/slib %%LOCALBASE%%/share/guile/slib
+@exec %%LOCALBASE%%/bin/guile -c "(use-modules (slib)) (require 'new-catalog)"
+@unexec rm -f %%LOCALBASE%%/share/guile/slib
+@unexec rm -f %%LOCALBASE%%/share/guile/slibcat
@dirrm share/slib