aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cmucl/Makefile
blob: 12b7cdbe7a2381cabdfbdb916f0491c93fb27569 (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
45
# 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} && ${FIND} lib | \
        ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX})
    -${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>