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

PORTNAME=   cl-ppcre
PORTVERSION=    0.5.4
CATEGORIES= textproc lisp
MASTER_SITES=   http://weitz.de/files/
PKGNAMESUFFIX=  -sbcl
DISTFILES=      # use installed sources from CL_LIBDIR
EXTRACT_ONLY=       # use installed sources from CL_LIBDIR

MAINTAINER= ports@FreeBSD.org
COMMENT=    Portable Perl-Compatible Regular Expression for Common Lisp

BUILD_DEPENDS=  ${LOCALBASE}/lib/common-lisp/cl-ppcre/cl-ppcre.asd:${PORTSDIR}/textproc/cl-ppcre \
        ${LOCALBASE}/lib/common-lisp/asdf/sbclfasl/asdf.fasl:${PORTSDIR}/devel/cl-asdf-sbcl \
        sbcl:${PORTSDIR}/lang/sbcl
RUN_DEPENDS=    ${LOCALBASE}/lib/common-lisp/cl-ppcre/cl-ppcre.asd:${PORTSDIR}/textproc/cl-ppcre \
        ${LOCALBASE}/lib/common-lisp/asdf/sbclfasl/asdf.fasl:${PORTSDIR}/devel/cl-asdf-sbcl \
        sbcl:${PORTSDIR}/lang/sbcl

do-build:
    FBSD_ASDF_COMPILE_PORT=t WRKSRC=${WRKSRC}/ \
    sbcl    --noinform --userinit /dev/null \
        --eval '#.(load "${LOCALBASE}/etc/asdf-init")' \
        --eval "(asdf:oos 'asdf:compile-op :cl-ppcre)" \
        --eval "(quit)"

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

.include <bsd.port.mk>