aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cmucl/Makefile
blob: 6b97ef7bd675bc2097aef45e30ca3cde5934a255 (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
40
41
42
43
44
# New ports collection makefile for:    CMUCL
# Date created:         Jul, 15, 1997
# Whom:                 cracauer@cons.org "Martin Cracauer"
#
# $FreeBSD$
#
#

PORTNAME=   cmucl
PORTVERSION=    18e
CATEGORIES= lang
MASTER_SITES=   http://www.pmsf.de/pub/cmucl/release/18e/ \
        ftp://ftp.averillpark.net/cmucl/release/18e/ \
        ftp://ftp.linux.org.uk/pub/lisp/cmucl/release/18e/ \
        ftp://ftp.cn.freebsd.org/pub/cmucl/release/18e/
DISTNAME=   cmucl-18e-x86-freebsd

MAINTAINER= cracauer@cons.org
COMMENT=    The CMU implementation of Common Lisp

ONLY_FOR_ARCHS= i386
USE_BZIP2=  YES
NO_WRKSUBDIR=   yes
NO_BUILD=   yes
MAN1=       lisp.1 cmucl.1

.include <bsd.port.pre.mk>

# portlint wants this earlier but this doesn't work because weneed OSVERSION
.if ${OSVERSION} >= 500000
LIB_DEPENDS+=   c.4:${PORTSDIR}/misc/compat4x
.endif

do-install:
    ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/bin/lisp ${PREFIX}/bin
    (cd ${WRKDIR} && tar fc - lib ) | (cd ${PREFIX} && tar fx -)
    -${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKDIR}/doc/cmucl/* ${DOCSDIR}
    ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/man/man1/cmucl.1 \
        ${PREFIX}/man/man1
    ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/man/man1/lisp.1 \
        ${PREFIX}/man/man1

.include <bsd.port.post.mk>