aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-01-17 06:27:51 +0800
committerclement <clement@FreeBSD.org>2004-01-17 06:27:51 +0800
commit123489d8f2da2878dbbffb2fe10a16efd69f2b8a (patch)
treefb3056256a7a7e6000b24d004db99a4caf2cd173
parent01743f78f386de01ac15ef2e12711c072b703d9c (diff)
downloadfreebsd-ports-gnome-123489d8f2da2878dbbffb2fe10a16efd69f2b8a.tar.gz
freebsd-ports-gnome-123489d8f2da2878dbbffb2fe10a16efd69f2b8a.tar.zst
freebsd-ports-gnome-123489d8f2da2878dbbffb2fe10a16efd69f2b8a.zip
Add gauche-readline 0.1, a pure gauche/scheme implementation of the
Readline library. Written in Scheme only, this adds input line editing feature to Gauche. Assumes VT100 compatible terminal capability. WWW: http://www.shiro.dreamhost.com/scheme/gauche/packages.html Author: Julian Fondren PR: 61389 Submitted by: Erik Greenwald <erik@smluc.org> Approved by: erwin (mentor) (implicitly)
-rw-r--r--devel/Makefile1
-rw-r--r--devel/gauche-readline/Makefile30
-rw-r--r--devel/gauche-readline/distinfo1
-rw-r--r--devel/gauche-readline/pkg-descr5
-rw-r--r--devel/gauche-readline/pkg-plist5
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 935b69c7bc0d..6e402f91a523 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -236,6 +236,7 @@
SUBDIR += g-wrap
SUBDIR += g2c
SUBDIR += gaa
+ SUBDIR += gauche-readline
SUBDIR += gaul
SUBDIR += gccxml
SUBDIR += gconf
diff --git a/devel/gauche-readline/Makefile b/devel/gauche-readline/Makefile
new file mode 100644
index 000000000000..19ee95b2a590
--- /dev/null
+++ b/devel/gauche-readline/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: Gauche Readline
+# Date created: 15 Jan 2004
+# Whom: Erik Greenwald <erik@smluc.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= readline
+PORTVERSION= 0.1
+CATEGORIES= devel scheme
+MASTER_SITES= http://www.shiro.dreamhost.com/scheme/vault/
+PKGNAMEPREFIX= gauche-
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= gauche
+
+MAINTAINER= erik@smluc.org
+COMMENT= A pure gauche/scheme implementation of the Readline library
+
+RUN_DEPENDS= gosh:${PORTSDIR}/lang/gauche
+BUILD_DEPENDS= gauche-config:${PORTSDIR}/lang/gauche
+
+.include <bsd.port.pre.mk>
+GAUCHE_CONFIG= ${LOCALBASE}/bin/gauche-config
+GAUCHE_LIBDIR= ${GAUCHE_CONFIG} --sitelibdir
+PLIST_SUB+= GAUCHE_LIBDIR=${GAUCHE_LIBDIR:S/${LOCALBASE}\///}
+
+do-install:
+ @${CP} -r ${WRKSRC}/readline* ${GAUCHE_LIBDIR}
+
+.include <bsd.port.post.mk>
diff --git a/devel/gauche-readline/distinfo b/devel/gauche-readline/distinfo
new file mode 100644
index 000000000000..43ef2acad127
--- /dev/null
+++ b/devel/gauche-readline/distinfo
@@ -0,0 +1 @@
+MD5 (gauche/readline-0.1.tgz) = 64a9dd9fffe4f2785b703a1a88f2bb38
diff --git a/devel/gauche-readline/pkg-descr b/devel/gauche-readline/pkg-descr
new file mode 100644
index 000000000000..3b7b66964285
--- /dev/null
+++ b/devel/gauche-readline/pkg-descr
@@ -0,0 +1,5 @@
+Written in Scheme only, this adds input line editing feature to
+Gauche. Assumes VT100 compatible terminal capability.
+
+WWW: http://www.shiro.dreamhost.com/scheme/gauche/packages.html
+Author: Julian Fondren
diff --git a/devel/gauche-readline/pkg-plist b/devel/gauche-readline/pkg-plist
new file mode 100644
index 000000000000..a703de795e8e
--- /dev/null
+++ b/devel/gauche-readline/pkg-plist
@@ -0,0 +1,5 @@
+%%GAUCHE_LIBDIR%%/readline.scm
+%%GAUCHE_LIBDIR%%/readline/history.scm
+%%GAUCHE_LIBDIR%%/readline/keymap.scm
+%%GAUCHE_LIBDIR%%/readline/term-util.scm
+@dirrm %%GAUCHE_LIBDIR%%/readline