mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
21f7f3bd24
From now on, asdf-binary-translations is no longer supported upstream. Therefore, we use the new asdf:initialize-output-translations function with the same logic as before. SBCL 1.0.49 already has a bundled ASDF 2, which caused all cl-*-sbcl ports to fail. The upcoming Clozure CL 1.7 will also need ASDF 2 support.
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# New ports collection Makefile for: cl-asdf
|
|
# Date created: 10 May 2003
|
|
# Whom: Henrik Motakef <henrik.motakef@web.de>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
# The source tarball was obtained from the project's GIT repository:
|
|
# wget -O asdf-2.017.tar.gz "http://common-lisp.net/gitweb?p=projects/asdf/asdf.git;a=snapshot;h=db16d0cc1a15697f831bcacc9429cc578304b6cb;sf=tgz"
|
|
|
|
PORTNAME= asdf
|
|
PORTVERSION= 2.017
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel lisp
|
|
PKGNAMEPREFIX= cl-
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= olgeni
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= A system definition facility for Common Lisp
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
do-install:
|
|
@${MKDIR} ${ASDF_PATHNAME}
|
|
@${MKDIR} ${ASDF_REGISTRY}
|
|
@${INSTALL_DATA} ${WRKSRC}/*.lisp ${ASDF_PATHNAME}
|
|
@${INSTALL_DATA} ${WRKSRC}/*.asd ${ASDF_PATHNAME}
|
|
@${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY}
|
|
@${SED} -i '' -e 's|%%PREFIX%%|${PREFIX}|' ${ASDF_PATHNAME}/asdf.lisp
|
|
@${SED} -e 's|%%ASDF_PATHNAME%%|${ASDF_PATHNAME}/asdf|' \
|
|
-e 's|%%ASDF_REGISTRY%%|${ASDF_REGISTRY}|' \
|
|
-e 's|%%PREFIX%%|${PREFIX}|' \
|
|
${FILESDIR}/asdf-init.lisp > \
|
|
${PREFIX}/etc/asdf-init.lisp.default
|
|
@[ -f ${PREFIX}/etc/asdf-init.lisp ] || \
|
|
${CP} ${PREFIX}/etc/asdf-init.lisp.default \
|
|
${PREFIX}/etc/asdf-init.lisp
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.cl-asdf.mk>
|
|
.include <bsd.port.mk>
|