aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cmucl/Makefile
blob: f2ea9fb76766b83d096a2e1eb63c7fbbe6c891b7 (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=    19c
CATEGORIES= lang lisp
MASTER_SITES=   ftp://ftp.common-lisp.net/pub/project/cmucl/release/${PORTVERSION}/ \
        http://www.pmsf.de/pub/cmucl/release/${PORTVERSION}/ \
        ftp://ftp.averillpark.net/cmucl/release/${PORTVERSION}/ \
        ftp://ftp.linux.org.uk/pub/lisp/cmucl/release/${PORTVERSION}/ \
        ftp://ftp.tepus.com/pub/project/cmucl/release/${PORTVERSION}/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-x86-FreeBSD

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

LIB_DEPENDS=    c.4:${PORTSDIR}/misc/compat4x

# To make available on other archs, has to be cross-compiled (there is a
# script for this, but a configuration file has to be written).
IA32_BINARY_PORT=   yes
USE_BZIP2=  yes
NO_WRKSUBDIR=   yes
NO_BUILD=   yes
MAN1=       lisp.1 cmucl.1

PLIST_SUB=  VER=${PORTVERSION}

do-install:
    ${INSTALL_PROGRAM} ${WRKDIR}/bin/lisp ${PREFIX}/bin
    cd ${WRKDIR} && ${FIND} lib | \
        ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
    ${INSTALL_MAN} ${WRKDIR}/man/man1/cmucl.1 ${MANPREFIX}/man/man1
    ${INSTALL_MAN} ${WRKDIR}/man/man1/lisp.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKDIR}/doc/cmucl/* ${DOCSDIR}
.endif

.include <bsd.port.mk>