summaryrefslogtreecommitdiff
path: root/devel/cl-asdf-cmucl/Makefile
blob: 2bdb91db9af8c2e28c4406a5d6c30daf606a3934 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection Makefile for:	cl-asdf-cmucl
# Date created:				10 May 2003
# Whom:					Henrik Motakef <henrik.motakef@web.de>
#
# $FreeBSD$

PORTNAME=	asdf
PORTVERSION=	2003.05.16
CATEGORIES=	devel
MASTER_SITES=	http://www.henrik-motakef.de/freebsd-distfiles/asdf/
PKGNAMEPREFIX=	cl-
PKGNAMESUFFIX=	-cmucl
DISTFILES=	# use installed sources from CL_LIBDIR
EXTRACT_ONLY=	# use installed sources from CL_LIBDIR

MAINTAINER=	henrik.motakef@web.de
COMMENT=	A system definition facility for Common Lisp

BUILD_DEPENDS=	${LOCALBASE}/lib/common-lisp/asdf/asdf.lisp:${PORTSDIR}/devel/cl-asdf \
		lisp:${PORTSDIR}/lang/cmucl
RUN_DEPENDS=	${LOCALBASE}/lib/common-lisp/asdf/asdf.lisp:${PORTSDIR}/devel/cl-asdf \
		lisp:${PORTSDIR}/lang/cmucl

post-extract:
	${MKDIR} ${WRKSRC}

do-build:
	lisp -noinit -nositeinit \
	     -eval '(compile-file "${PREFIX}/lib/common-lisp/asdf/asdf.lisp" \
				   :output-file "${WRKSRC}/asdf.fasl")' \
	     -eval '(compile-file "${PREFIX}/lib/common-lisp/asdf/wild-modules.lisp" \
				   :output-file "${WRKSRC}/wild-modules.fasl")' \
	     -eval '(quit)'

do-install:
	${MKDIR} ${PREFIX}/lib/common-lisp/asdf/cmuclfasl
	${INSTALL_DATA} ${WRKSRC}/*.fasl ${PREFIX}/lib/common-lisp/asdf/cmuclfasl

.include <bsd.port.mk>