aboutsummaryrefslogtreecommitdiffstats
path: root/www/cl-lml-sbcl/Makefile
blob: 0a10d25e8d7bec5b78b5cfd8b9f826fef1c04a59 (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
# New ports collection Makefile for:    cl-lml-sbcl
# Date created:             18 May 2003
# Whom:                 Henrik Motakef <henrik.motakef@web.de>
#
# $FreeBSD$

PORTNAME=       lml
PORTVERSION=        2.3.4
CATEGORIES=     www textproc
MASTER_SITES=       http://files.b9.com/lml/
PKGNAMEPREFIX=      cl-
PKGNAMESUFFIX=      -sbcl
DISTFILES=      # use installed sources from CL_LIBDIR
EXTRACT_ONLY=       # use installed sources from CL_LIBDIR

MAINTAINER=     ports@FreeBSD.org
COMMENT=        Lisp Markup Language

BUILD_DEPENDS=      ${LOCALBASE}/lib/common-lisp/system-registry/lml.asd:${PORTSDIR}/www/cl-lml \
            ${LOCALBASE}/lib/common-lisp/asdf/sbclfasl/asdf.fasl:${PORTSDIR}/devel/cl-asdf-sbcl \
            sbcl:${PORTSDIR}/lang/sbcl
RUN_DEPENDS=        ${LOCALBASE}/lib/common-lisp/system-registry/lml.asd:${PORTSDIR}/www/cl-lml \
            ${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 :lml)" \
        --eval "(quit)"

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

.include <bsd.port.mk>