blob: b5c6c503c933a014f4fdcc9dd74b9d9eea7f70b6 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# New ports collection makefile for: sbcl
# Date created: 2002-11-26
# Whom: des
#
# $FreeBSD$
#
PORTNAME= sbcl
PORTVERSION= 0.9.5
CATEGORIES= lang lisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sbcl
DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX}
.if !defined(NOPORTDOCS)
DISTFILES+= ${DISTNAME}-html${EXTRACT_SUFX}
.endif
MAINTAINER= aeacides@gmail.com
COMMENT= A Common Lisp development system derived from the CMU CL system
# If you have a previous version of SBCL installed, you can use it
# instead of CMUCL to build the port, then deinstall it before
# installing the new version.
.if defined(WITH_SBCL)
LISP_CMD= ""
.else
BUILD_DEPENDS= lisp:${PORTSDIR}/lang/cmucl
LISP_CMD= "lisp -noinit -batch"
.endif
USE_BZIP2= yes
USE_GMAKE= yes
# Can currently only bootstrap using cmucl, which is i386-only
ONLY_FOR_ARCHS= i386
MAN1= sbcl.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502124
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-contrib_asdf-install_installer.lisp
.endif
.if ${OSVERSION} >= 600022
BUILD_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
.endif
post-extract:
(${FIND} ${WRKSRC} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -rf)
do-build:
(cd ${WRKSRC} && ${SH} make.sh ${LISP_CMD})
do-install:
(cd ${WRKSRC} && ${SETENV} INSTALL_ROOT=${PREFIX} \
MAN_DIR=${PREFIX}/man DOC_DIR=${DOCSDIR} \
INFO_DIR=${DOCSDIR}/info NO_DOCS=${NO_DOCS} \
${SH} install.sh)
# sbcl creates these directories even when they're not needed
.if defined(NOPORTDOCS)
${RMDIR} ${DOCSDIR}/html
.endif
# we do not build the documentation
# perhaps this should be configurable
${RMDIR} ${DOCSDIR}/info
test:
(cd ${WRKSRC}/tests && ${SH} run-tests.sh)
post-patch:
${FIND} ${WRKSRC} -name '*.orig' -delete
.include <bsd.port.post.mk>
|