aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2010-01-17 23:48:42 +0800
committerolgeni <olgeni@FreeBSD.org>2010-01-17 23:48:42 +0800
commitda7b6957d04ff935dadb85823f99416f18b2db91 (patch)
treea771568997980617a05b12e90879ba6f0aac76e2
parent17cbdfdbfff1ac0a3fe2140afbeb78cba91963ba (diff)
downloadfreebsd-ports-gnome-da7b6957d04ff935dadb85823f99416f18b2db91.tar.gz
freebsd-ports-gnome-da7b6957d04ff935dadb85823f99416f18b2db91.tar.zst
freebsd-ports-gnome-da7b6957d04ff935dadb85823f99416f18b2db91.zip
Add cl-trivial-features, which ensures consistent *FEATURES* across multiple
Common Lisp implementations (CLISP binaries).
-rw-r--r--devel/Makefile1
-rw-r--r--devel/cl-trivial-features-clisp/Makefile28
-rw-r--r--devel/cl-trivial-features-clisp/pkg-descr12
-rw-r--r--devel/cl-trivial-features-clisp/pkg-plist2
4 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3ada1357f191..d30196afc7b8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -179,6 +179,7 @@
SUBDIR += cl-split-sequence-clisp
SUBDIR += cl-split-sequence-sbcl
SUBDIR += cl-trivial-features
+ SUBDIR += cl-trivial-features-clisp
SUBDIR += cl-trivial-features-sbcl
SUBDIR += cl-uffi
SUBDIR += cl-uffi-sbcl
diff --git a/devel/cl-trivial-features-clisp/Makefile b/devel/cl-trivial-features-clisp/Makefile
new file mode 100644
index 000000000000..ac8a7dae1a55
--- /dev/null
+++ b/devel/cl-trivial-features-clisp/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: cl-trivial-features-clisp
+# Date created: 16 January 2010
+# Whom: Jimmy Olgeni <olgeni@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= trivial-features
+PORTVERSION= 2010.01.16
+CATEGORIES= devel lisp
+PKGNAMEPREFIX= cl-
+DISTFILES= # none
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Ensures consistent *FEATURES* in Common Lisp
+
+BUILD_DEPENDS= ${LOCALBASE}/${CL_LIBDIR_REL}/trivial-features/trivial-features.asd:${PORTSDIR}/devel/cl-trivial-features
+RUN_DEPENDS= ${LOCALBASE}/${CL_LIBDIR_REL}/trivial-features/trivial-features.asd:${PORTSDIR}/devel/cl-trivial-features
+
+USE_ASDF_FASL= yes
+FASL_TARGET= clisp
+FASL_BUILD= yes
+
+do-install:
+ @${MKDIR} ${ASDF_PATHNAME}/src/${FASL_DIR_REL}
+ @${INSTALL_DATA} ${WRKSRC}/*.fasl ${ASDF_PATHNAME}/src/${FASL_DIR_REL}
+
+.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
+.include <bsd.port.mk>
diff --git a/devel/cl-trivial-features-clisp/pkg-descr b/devel/cl-trivial-features-clisp/pkg-descr
new file mode 100644
index 000000000000..72ee98fb52fa
--- /dev/null
+++ b/devel/cl-trivial-features-clisp/pkg-descr
@@ -0,0 +1,12 @@
+trivial-features ensures consistent *FEATURES* across multiple
+Common Lisp implementations.
+
+For example, on MacOS X platforms, while most Lisps push :DARWIN
+to *FEATURES*, CLISP and Allegro push :MACOS and :MACOSX instead,
+respectively. Some Lisps might not push any feature suggesting MacOS
+X at all. trivial-features will make sure all Lisps will have :DARWIN
+in the *FEATURES* list when running on MacOS X.
+
+This package is compiled with CLISP.
+
+WWW: http://www.cliki.net/trivial-features
diff --git a/devel/cl-trivial-features-clisp/pkg-plist b/devel/cl-trivial-features-clisp/pkg-plist
new file mode 100644
index 000000000000..4f5030cc164f
--- /dev/null
+++ b/devel/cl-trivial-features-clisp/pkg-plist
@@ -0,0 +1,2 @@
+%%LIB32DIR%%/common-lisp/trivial-features/src/clispfasl/tf-clisp.fasl
+@dirrm %%LIB32DIR%%/common-lisp/trivial-features/src/clispfasl