diff options
author | olgeni <olgeni@FreeBSD.org> | 2010-01-17 23:47:23 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2010-01-17 23:47:23 +0800 |
commit | ac4c61a2d26f5e59f9847b7e1eb62c7c9c925367 (patch) | |
tree | af1d07d74f2b176b2d4ffcd179a620e99ad655b0 | |
parent | ab64571cad4eec5ab5face1692b1d1c30d99da77 (diff) | |
download | freebsd-ports-gnome-ac4c61a2d26f5e59f9847b7e1eb62c7c9c925367.tar.gz freebsd-ports-gnome-ac4c61a2d26f5e59f9847b7e1eb62c7c9c925367.tar.zst freebsd-ports-gnome-ac4c61a2d26f5e59f9847b7e1eb62c7c9c925367.zip |
Add cl-trivial-features, which ensures consistent *FEATURES* across multiple
Common Lisp implementations - makes portability easier.
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/cl-trivial-features/Makefile | 40 | ||||
-rw-r--r-- | devel/cl-trivial-features/distinfo | 3 | ||||
-rw-r--r-- | devel/cl-trivial-features/pkg-descr | 10 | ||||
-rw-r--r-- | devel/cl-trivial-features/pkg-plist | 23 |
5 files changed, 77 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 3b261a3929af..903a26fa01eb 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -178,6 +178,7 @@ SUBDIR += cl-split-sequence SUBDIR += cl-split-sequence-clisp SUBDIR += cl-split-sequence-sbcl + SUBDIR += cl-trivial-features SUBDIR += cl-uffi SUBDIR += cl-uffi-sbcl SUBDIR += clang diff --git a/devel/cl-trivial-features/Makefile b/devel/cl-trivial-features/Makefile new file mode 100644 index 000000000000..affff7de719a --- /dev/null +++ b/devel/cl-trivial-features/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: cl-trivial-features +# Date created: 16 January 2010 +# Whom: Jimmy Olgeni <olgeni@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= trivial-features +PORTVERSION= 2010.01.16 +CATEGORIES= devel lisp +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= olgeni +PKGNAMEPREFIX= cl- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Ensures consistent *FEATURES* in Common Lisp + +NO_BUILD= yes + +USE_ASDF= yes + +do-install: + @${MKDIR} ${ASDF_PATHNAME} + @${MKDIR} ${ASDF_PATHNAME}/src + @${INSTALL_DATA} ${WRKSRC}/src/*.lisp ${ASDF_PATHNAME}/src + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.asd ${ASDF_PATHNAME} + @${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY} + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in README SPEC + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor +.endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/tests/* ${EXAMPLESDIR} +.endif + +.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk" +.include <bsd.port.mk> diff --git a/devel/cl-trivial-features/distinfo b/devel/cl-trivial-features/distinfo new file mode 100644 index 000000000000..142521886118 --- /dev/null +++ b/devel/cl-trivial-features/distinfo @@ -0,0 +1,3 @@ +MD5 (trivial-features-2010.01.16.tar.gz) = eada3759c36bfef9078707ff571817d6 +SHA256 (trivial-features-2010.01.16.tar.gz) = f46d6c51276473c2e9be7677c277c7d8ddfabc474b628dcf6d9163b2dc13bdb5 +SIZE (trivial-features-2010.01.16.tar.gz) = 7734 diff --git a/devel/cl-trivial-features/pkg-descr b/devel/cl-trivial-features/pkg-descr new file mode 100644 index 000000000000..efe1abe21479 --- /dev/null +++ b/devel/cl-trivial-features/pkg-descr @@ -0,0 +1,10 @@ +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. + +WWW: http://www.cliki.net/trivial-features diff --git a/devel/cl-trivial-features/pkg-plist b/devel/cl-trivial-features/pkg-plist new file mode 100644 index 000000000000..8ee3367e90ba --- /dev/null +++ b/devel/cl-trivial-features/pkg-plist @@ -0,0 +1,23 @@ +%%LIB32DIR%%/common-lisp/system-registry/trivial-features.asd +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-abcl.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-allegro.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-clisp.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-cmucl.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-corman.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-ecl.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-lispworks.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-openmcl.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-sbcl.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-scl.lisp +%%LIB32DIR%%/common-lisp/trivial-features/src/tf-xcl.lisp +%%LIB32DIR%%/common-lisp/trivial-features/trivial-features.asd +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/SPEC +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/package.lisp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sysinfo.lisp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests.lisp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/utsname.lisp +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% +@dirrm %%LIB32DIR%%/common-lisp/trivial-features/src +@dirrm %%LIB32DIR%%/common-lisp/trivial-features |