2005-04-14 12:43:19 +02:00
|
|
|
# New ports collection Makefile for: cl-uffi-sbcl
|
|
|
|
# Date created: 19 August 2004
|
|
|
|
# Whom: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= uffi
|
2006-04-09 14:02:52 +02:00
|
|
|
PORTVERSION= 1.5.9
|
2005-10-16 16:48:09 +02:00
|
|
|
CATEGORIES= devel lisp
|
2006-04-09 14:02:52 +02:00
|
|
|
MASTER_SITES= # use installed sources from CL_LIBDIR
|
2005-04-14 12:43:19 +02:00
|
|
|
PKGNAMEPREFIX= cl-
|
|
|
|
PKGNAMESUFFIX= -sbcl
|
|
|
|
DISTFILES= # use installed sources from CL_LIBDIR
|
|
|
|
EXTRACT_ONLY= # use installed sources from CL_LIBDIR
|
|
|
|
|
|
|
|
MAINTAINER= xenophon+fbsdports@irtnog.org
|
|
|
|
COMMENT= Universal Foreign Function Interface for Common Lisp (SBCL binaries)
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/common-lisp/uffi/uffi.asd:${PORTSDIR}/devel/cl-uffi \
|
|
|
|
${LOCALBASE}/lib/common-lisp/asdf/sbclfasl/asdf.fasl:${PORTSDIR}/devel/cl-asdf-sbcl \
|
|
|
|
sbcl:${PORTSDIR}/lang/sbcl
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/common-lisp/port/port.asd:${PORTSDIR}/devel/cl-port \
|
|
|
|
${LOCALBASE}/lib/common-lisp/asdf/sbclfasl/asdf.fasl:${PORTSDIR}/devel/cl-asdf-sbcl \
|
|
|
|
sbcl:${PORTSDIR}/lang/sbcl
|
|
|
|
|
2006-04-09 14:02:52 +02:00
|
|
|
CL_LIBDIR?= ${LOCALBASE}/lib/common-lisp
|
|
|
|
|
2005-04-14 12:43:19 +02:00
|
|
|
do-build:
|
|
|
|
WRKSRC=${WRKSRC}/ FBSD_ASDF_COMPILE_PORT=t\
|
2006-04-09 14:02:52 +02:00
|
|
|
sbcl --noinform --userinit /dev/null --disable-debugger \
|
2005-04-14 12:43:19 +02:00
|
|
|
--eval '#.(load "${LOCALBASE}/etc/asdf-init")' \
|
|
|
|
--eval "(asdf:oos 'asdf:compile-op :uffi)" \
|
|
|
|
--eval "(quit)"
|
|
|
|
|
|
|
|
do-install:
|
2006-04-09 14:02:52 +02:00
|
|
|
${MKDIR} ${CL_LIBDIR}/uffi/src/sbclfasl
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.fasl ${CL_LIBDIR}/uffi/src/sbclfasl/
|
2005-04-14 12:43:19 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|