sometimes the build would fail because of "missing" packages that weren't actually missing (this only happened in ports that aren't committed yet). Rewrite the FASL placement code using the asdf-binary-locations extension, which is already included in the cl-asdf port but needs to be installed from ports when building for SBCL (which has its own ASDF code). The binary-locations code generates paths unsuitable for PLISTs, therefore it has been overridden with lisp-specific-fasl-subdir. Because of the new code, PLIST generation for cl-*-sbcl and cl-*-clisp ports is now entirely automated. All dependent cl-* ports are upgraded (obsolete code removed, PORTREVISION bumped).
25 lines
687 B
Makefile
25 lines
687 B
Makefile
# New ports collection Makefile for: cl-uffi-sbcl
|
|
# Date created: 19 August 2004
|
|
# Whom: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= uffi
|
|
PORTVERSION= 1.6.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel lisp
|
|
PKGNAMEPREFIX= cl-
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Universal Foreign Function Interface for Common Lisp (SBCL binaries)
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/${CL_LIBDIR_REL}/uffi/uffi.asd:${PORTSDIR}/devel/cl-uffi
|
|
RUN_DEPENDS= ${LOCALBASE}/${CL_LIBDIR_REL}/uffi/uffi.asd:${PORTSDIR}/devel/cl-uffi
|
|
|
|
USE_ASDF_FASL= yes
|
|
FASL_TARGET= sbcl
|
|
FASL_BUILD= yes
|
|
|
|
.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
|
|
.include <bsd.port.mk>
|