diff options
author | olgeni <olgeni@FreeBSD.org> | 2010-01-17 23:48:11 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2010-01-17 23:48:11 +0800 |
commit | 17cbdfdbfff1ac0a3fe2140afbeb78cba91963ba (patch) | |
tree | d5934b07c15d3f9b47db97e9c2baf68d0146fc48 | |
parent | ac4c61a2d26f5e59f9847b7e1eb62c7c9c925367 (diff) | |
download | freebsd-ports-gnome-17cbdfdbfff1ac0a3fe2140afbeb78cba91963ba.tar.gz freebsd-ports-gnome-17cbdfdbfff1ac0a3fe2140afbeb78cba91963ba.tar.zst freebsd-ports-gnome-17cbdfdbfff1ac0a3fe2140afbeb78cba91963ba.zip |
Add cl-trivial-features, which ensures consistent *FEATURES* across multiple
Common Lisp implementations (SBCL binaries).
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/cl-trivial-features-sbcl/Makefile | 28 | ||||
-rw-r--r-- | devel/cl-trivial-features-sbcl/pkg-descr | 12 | ||||
-rw-r--r-- | devel/cl-trivial-features-sbcl/pkg-plist | 2 |
4 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 903a26fa01eb..3ada1357f191 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-sbcl SUBDIR += cl-uffi SUBDIR += cl-uffi-sbcl SUBDIR += clang diff --git a/devel/cl-trivial-features-sbcl/Makefile b/devel/cl-trivial-features-sbcl/Makefile new file mode 100644 index 000000000000..0563dc783a37 --- /dev/null +++ b/devel/cl-trivial-features-sbcl/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: cl-trivial-features-sbcl +# 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= sbcl +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-sbcl/pkg-descr b/devel/cl-trivial-features-sbcl/pkg-descr new file mode 100644 index 000000000000..f34b2dd52f12 --- /dev/null +++ b/devel/cl-trivial-features-sbcl/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 SBCL. + +WWW: http://www.cliki.net/trivial-features diff --git a/devel/cl-trivial-features-sbcl/pkg-plist b/devel/cl-trivial-features-sbcl/pkg-plist new file mode 100644 index 000000000000..c4acd855a8b5 --- /dev/null +++ b/devel/cl-trivial-features-sbcl/pkg-plist @@ -0,0 +1,2 @@ +%%LIB32DIR%%/common-lisp/trivial-features/src/sbclfasl/tf-sbcl.fasl +@dirrm %%LIB32DIR%%/common-lisp/trivial-features/src/sbclfasl |