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 +# +# $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 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