1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/devel/cl-uffi-sbcl/Makefile

38 lines
1.3 KiB
Makefile
Raw Normal View History

# 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.4.37
CATEGORIES= devel
MASTER_SITES= http://files.b9.com/uffi/
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
do-build:
WRKSRC=${WRKSRC}/ FBSD_ASDF_COMPILE_PORT=t\
sbcl --noinform --userinit /dev/null \
--eval '#.(load "${LOCALBASE}/etc/asdf-init")' \
--eval "(asdf:oos 'asdf:compile-op :uffi)" \
--eval "(quit)"
do-install:
${MKDIR} ${PREFIX}/lib/common-lisp/uffi/src/sbclfasl
${INSTALL_DATA} ${WRKSRC}/*.fasl ${PREFIX}/lib/common-lisp/uffi/src/sbclfasl/
.include <bsd.port.mk>