ports/devel/cl-split-sequence/Makefile
Joseph Mingrone 4c954c1522
Infrastructure for Common Lisp Ports: Overhaul
- Decouple ASDF initialization from devel/cl-asdf by creating a
  dedicated port: devel/freebsd-cl-asdf-init.
- Convert devel/cl-asdf/bsd.cl-asdf.mk to USES=cl.
- Add devel/cl-asdf-sbcl
- Update ASDF configuration:
   - Prefer newer ASDF versions, but only if the fasl is available.
   - Replace license text with an SPDX license identifier.
   - Simplify and clarify documentation.
   - Remove the assumption that ${PREFIX} is /usr/local.
   - Use uiop:getenv instead of a custom getenv function.
   - Remove asdf:output-files customization to resolve output
     translation issues.
   - Improve output translations:
     - Prevent writing fasls to ${PREFIX}/lib/common-lisp/ when the
       corresponding fasl port is not installed.
     - Fall back to ASDF's default caching mechanism of writing fasl to
       a cache under ${HOME} when users install a Common Lisp port
       without its fasl port.
   - Improve interoperability with Common Lisp code from sources outside
     of ports, such as Quicklisp.
   - Add support for Clozure Common Lisp (CCL)

Approved by:	olgeni (implicit)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D47983
2024-12-19 22:31:48 -04:00

26 lines
814 B
Makefile

PORTNAME= split-sequence
PORTVERSION= 20011114.1
PORTREVISION= 3
CATEGORIES= devel lisp
MASTER_SITES= ftp://ftp.linux.org.uk/pub/lisp/experimental/cclan/ \
ftp://ftp.ntnu.no/pub/lisp/cclan/ \
http://www-jcsu.jesus.cam.ac.uk/ftp/pub/cclan/
PKGNAMEPREFIX= cl-
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Partitioning Common Lisp sequences
WWW= https://www.cliki.net/SPLIT-SEQUENCE
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
USES= cl
do-install:
@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME} ${STAGEDIR}${ASDF_REGISTRY}
@${INSTALL_DATA} ${WRKSRC}/split-sequence.lisp ${STAGEDIR}${ASDF_PATHNAME}
@${INSTALL_DATA} ${WRKSRC}/split-sequence.asd ${STAGEDIR}${ASDF_PATHNAME}
@${RLN} ${STAGEDIR}${ASDF_PATHNAME}/split-sequence.asd ${STAGEDIR}${ASDF_REGISTRY}
.include <bsd.port.mk>