1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

lang/sbcl: Reformat Makefile

This commit is contained in:
Kirill Ponomarev 2021-04-09 09:39:56 +02:00
parent e1ed8df3c5
commit 5ca6d1d1c0

View File

@ -14,7 +14,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= krion@FreeBSD.org
COMMENT= Common Lisp development system derived from the CMU CL system
LICENSE= PD BSD2CLAUSE
LICENSE= BSD2CLAUSE PD
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/COPYING
@ -27,19 +27,17 @@ RUN_DEPENDS= cl-asdf>=0:devel/cl-asdf
USES= gmake makeinfo tar:bzip2
BOOTVERSION= 1.2.7
SBCL_BOOT_LIST= ${BOOTVERSION}-x86-64-freebsd \
${BOOTVERSION}-x86-freebsd \
SBCL_BOOT_LIST= ${BOOTVERSION}-x86-64-freebsd ${BOOTVERSION}-x86-freebsd \
${BOOTVERSION}-x86-64-dragonfly
CONMODULES= asdf sb-aclrepl sb-bsd-sockets sb-cltl2 sb-concurrency \
sb-cover sb-executable sb-gmp sb-grovel sb-introspect \
sb-md5 sb-mpfr sb-posix sb-queue sb-rotate-byte sb-rt \
sb-simple-streams sb-sprof
CONMODULES= asdf sb-aclrepl sb-bsd-sockets sb-cltl2 sb-concurrency sb-cover \
sb-executable sb-gmp sb-grovel sb-introspect sb-md5 sb-mpfr \
sb-posix sb-queue sb-rotate-byte sb-rt sb-simple-streams \
sb-sprof
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_SH_ARGS?= --prefix="${PREFIX}" \
--xc-host="${XC_HOST}"
MAKE_SH_ARGS?= --prefix="${PREFIX}" --xc-host="${XC_HOST}"
# You can use the DYNAMIC_SPACE_SIZE knob to change the size of SBCL dynamically-allocated memory.
# Default for arch: i386 = 512Mb, amd64 = 1Gb.
@ -50,7 +48,7 @@ MAKE_SH_ARGS+= --dynamic-space-size=${DYNAMIC_SPACE_SIZE}
SUB_FILES= pkg-message sbclrc
# All options explained into file: ${WRKSRC}/base-target-features.lisp-expr
OPTIONS_DEFINE= DOCS QSHOW RENAME SAFEPOINT THREADS UNICODE XREF ZLIB
OPTIONS_DEFINE= DOCS QSHOW RENAME SAFEPOINT THREADS UNICODE XREF ZLIB
OPTIONS_DEFAULT= RENAME SBCL THREADS UNICODE
QSHOW_DESC= C runtime with low-level debugging output
@ -58,7 +56,7 @@ RENAME_DESC= Rename suffix .core to _core
SAFEPOINT_DESC= Using safepoints instead of signals
XREF_DESC= XREF data for SBCL internals
OPTIONS_SINGLE= BOOTSTRAP
OPTIONS_SINGLE= BOOTSTRAP
OPTIONS_SINGLE_BOOTSTRAP= ABCL CCL CMUCL SBCL
ABCL_DESC= Armed Bear Common Lisp
@ -80,10 +78,10 @@ CCL_BUILD_DEPENDS= ccl:lang/ccl
CMUCL_VARS= XC_HOST="lisp -nositeinit -noinit -batch -quiet"
CMUCL_BUILD_DEPENDS= lisp:lang/cmucl
DOCS_VARS= INFO="asdf sbcl"
DOCS_VARS= INFO="asdf sbcl"
QSHOW_VARS= MAKE_SH_ARGS+="--with-sb-qshow"
QSHOW_VARS_OFF= MAKE_SH_ARGS+="--without-sb-qshow"
QSHOW_VARS= MAKE_SH_ARGS+="--with-sb-qshow"
QSHOW_VARS_OFF= MAKE_SH_ARGS+="--without-sb-qshow"
RENAME_PLIST_SUB= CORE_SUFFIX="_core"
RENAME_PLIST_SUB_OFF= CORE_SUFFIX=".core"
@ -92,8 +90,8 @@ SAFEPOINT_VARS= MAKE_SH_ARGS+="--with-sb-safepoint --with-sb-thruption --with-s
SAFEPOINT_VARS_OFF= MAKE_SH_ARGS+="--without-sb-safepoint --without-sb-thruption --without-sb-wtimer"
SAFEPOINT_IMPLIES= THREADS
SBCL_VARS= XC_HOST="${BOOT_WRKSRC}/src/runtime/sbcl --core ${BOOT_WRKSRC}/output/${CORE} --noinform --disable-debugger --no-sysinit --no-userinit"
SBCL_DISTFILES= ${PORTNAME}-${SBCL_BOOT_LIST:M${ARCHOS_PATTERN}}-binary${EXTRACT_SUFX}:binaries
SBCL_VARS= XC_HOST="${BOOT_WRKSRC}/src/runtime/sbcl --core ${BOOT_WRKSRC}/output/${CORE} --noinform --disable-debugger --no-sysinit --no-userinit"
SBCL_DISTFILES= ${PORTNAME}-${SBCL_BOOT_LIST:M${ARCHOS_PATTERN}}-binary${EXTRACT_SUFX}:binaries
THREADS_VARS= MAKE_SH_ARGS+="--with-sb-thread"
THREADS_VARS_OFF= MAKE_SH_ARGS+="--without-sb-thread"
@ -101,11 +99,11 @@ THREADS_VARS_OFF= MAKE_SH_ARGS+="--without-sb-thread"
UNICODE_VARS= MAKE_SH_ARGS+="--with-sb-unicode"
UNICODE_VARS_OFF= MAKE_SH_ARGS+="--without-sb-unicode"
XREF_VARS= MAKE_SH_ARGS+="--with-sb-xref-for-internals"
XREF_VARS_OFF= MAKE_SH_ARGS+="--without-sb-xref-for-internals"
XREF_VARS= MAKE_SH_ARGS+="--with-sb-xref-for-internals"
XREF_VARS_OFF= MAKE_SH_ARGS+="--without-sb-xref-for-internals"
ZLIB_VARS= MAKE_SH_ARGS+="--with-sb-core-compression"
ZLIB_VARS_OFF= MAKE_SH_ARGS+="--without-sb-core-compression"
ZLIB_VARS= MAKE_SH_ARGS+="--with-sb-core-compression"
ZLIB_VARS_OFF= MAKE_SH_ARGS+="--without-sb-core-compression"
PORTDOCS= *
@ -118,16 +116,17 @@ BOOT_WRKSRC= ${WRKDIR}/${PORTNAME}-${SBCL_BOOT_LIST:M${ARCHOS_PATTERN}}
.if defined (PLUS_BOOTSTRAPS)
. for B in ${SBCL_BOOT_LIST}
. if ! ${DISTFILES:Msbcl-${B}-*}
DISTFILES:= ${DISTFILES} ${PORTNAME}-${B}-binary${EXTRACT_SUFX}:binaries
DISTFILES:= ${DISTFILES} \
${PORTNAME}-${B}-binary${EXTRACT_SUFX}:binaries
. endif
. endfor
.endif
# Old FreeBSD bootstraps feature the older core name for SBCL bootstrap
.if ${OPSYS} == FreeBSD
CORE= sbcl.core
CORE= sbcl.core
.else
CORE= sbcl_core
CORE= sbcl_core
.endif
post-patch-RENAME-on: