From nobody Thu Sep 08 13:13:24 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MNfh46Gk4z4c5CP; Thu, 8 Sep 2022 13:13:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MNfh45gVFz3CnG; Thu, 8 Sep 2022 13:13:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662642804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=99iuEu/dVhsoM60QVkzAuLwo6rm8aEnxy45QatOaPCA=; b=FbKV3FvIaNrSdCHtCjxGv5TP6NH+xbZcX3T28HCaWpH/ZukDMMJwyXlbEIjkhPKHXXLjFZ 5JtfrWELYRzQD0yo0YrrJ2GJ95A1hJDmzG3EVnfp3yV9T/L7aFhUVVHKn9WoYnw0tnedo7 08ujjRGOXapOoWcQccLwGi0erhmyOM7mdETM50pFNmFpVSLjDq0E6DPYFGlUNk4Hjsxc1b 6DXJmaEf9yx6TX952/eIpvWNQh4g5pdzjY5IH+ERNTXRGWEp92+p/djWAoTerioeRDzyPd hmgLQ+g0W6zjv+SqpnE+ZAYq8A4NUn10JrkSvTNEBnu+2v2OG1tKnscvDI0Qqg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MNfh44k4qztFG; Thu, 8 Sep 2022 13:13:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 288DDOoU049714; Thu, 8 Sep 2022 13:13:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 288DDONH049713; Thu, 8 Sep 2022 13:13:24 GMT (envelope-from git) Date: Thu, 8 Sep 2022 13:13:24 GMT Message-Id: <202209081313.288DDONH049713@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Pietro Cerutti Subject: git: 17e9c85e7038 - main - lang/chicken: restore unsuffixed chicken port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gahr X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 17e9c85e7038cd627570ba122bf020ef3812a39b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662642804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=99iuEu/dVhsoM60QVkzAuLwo6rm8aEnxy45QatOaPCA=; b=G0BuHDix/FAghZMAHDwSAA/8VqzXWDwOAhESycWkVjBzmXshvBxR1h2Tyd9mSV3U6+02LK yr7860FH0vFmZnAAVUjAEQpURp+S9JBpjpGNUJ6h2zHKpCE8Mm5yWm8x/K4eh5b89ZgRKY RF49e9HGMy3PG8yGOpT4UPO+XcI8FswWkHSisKLxCVtMP2ZweK9dF3Ly4/SQ+hS9oZHBX2 sGesaGDZYXr1C/jtcpPv7BzeRZo+5SBrBYNMldRFj1c6MGUpEfBvX1r9k9p5+JZE1hfRHE jTXE6h5r5/tXdy6vxYM4ToK+sL0XKZVg+wA+y9oqTJLJYFbKdlB7El83QhHv+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662642804; a=rsa-sha256; cv=none; b=OnZZBBQSMX7Eyqv/x4lfN5V1qXD03N8FctJGZDa9+dqHf/bVVAInzsR9QunkXTSoktkKAv NYvUH4sJBuLeEd/8opb4h3HUggd3x1kcm61z4jgllxBWJGItMDskUzrQMiltUZfXHX+S+F ZzMJ//VUz9eSnMffvUEJ5RE8JtACXGZIZ7PqDWdZfCP65QyqkHD3bxT/E/UOu9K1soTFbi Y/wc7CwS7l04nVuqWd+3PClmtF5TwyWJxMcRitGnhmBC+eLYXX9+cHMa5Ygsmvm9NlBkMC adKBRhdEsz2j32hVXbKrEZnyqJyuezNM9RaKcMU9CDmcX/xpxulwK37HGHO+3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gahr: URL: https://cgit.FreeBSD.org/ports/commit/?id=17e9c85e7038cd627570ba122bf020ef3812a39b commit 17e9c85e7038cd627570ba122bf020ef3812a39b Author: Pietro Cerutti AuthorDate: 2022-09-08 13:08:19 +0000 Commit: Pietro Cerutti CommitDate: 2022-09-08 13:08:19 +0000 lang/chicken: restore unsuffixed chicken port The lang/chicken5 port was introduced to help migrating from v4 in lang/chicken. The latter is not long gone, and we're left with a '5' suffix everywhere. Let's put a copy of chicken v5 in lang/chicken, with a plan to remove lang/chicken5 in two months. The use of PORTEPOCH is necessary because it was there in chicken v4. --- lang/Makefile | 1 + lang/chicken/Makefile | 56 ++++++++++++++++++ lang/chicken/distinfo | 3 + lang/chicken/pkg-descr | 4 ++ lang/chicken/pkg-message | 7 +++ lang/chicken/pkg-plist | 148 +++++++++++++++++++++++++++++++++++++++++++++++ lang/chicken5/Makefile | 3 + 7 files changed, 222 insertions(+) diff --git a/lang/Makefile b/lang/Makefile index bd4332c3c307..178e246fbb47 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -21,6 +21,7 @@ SUBDIR += chaiscript SUBDIR += chez-scheme SUBDIR += chibi-scheme + SUBDIR += chicken SUBDIR += chicken5 SUBDIR += cim SUBDIR += cjs diff --git a/lang/chicken/Makefile b/lang/chicken/Makefile new file mode 100644 index 000000000000..989aae528407 --- /dev/null +++ b/lang/chicken/Makefile @@ -0,0 +1,56 @@ +PORTNAME= chicken +DISTVERSION= 5.3.0 +PORTEPOCH= 1 +CATEGORIES= lang scheme +MASTER_SITES= https://code.call-cc.org/releases/${DISTVERSION}/ + +MAINTAINER= gahr@FreeBSD.org +COMMENT= Scheme-to-C compiler +WWW= https://www.call-cc.org/ + +LICENSE= BSD3CLAUSE PD +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cpe gmake +CPE_VENDOR= call-cc +USE_LDCONFIG= yes + +MAKEFILE= GNUmakefile +MAKE_ARGS= C_COMPILER="${CC}" \ + C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ + CXX_COMPILER="${CXX}" \ + DOCDIR="${DOCSDIR}" \ + LIBDIR="${PREFIX}/lib" \ + LIBRARIAN="${AR}" \ + LINKER_OPTIONS="${LDFLAGS}" \ + MANDIR=${PREFIX}/man \ + PREFIX=${PREFIX} +# parallel build not supported +MAKE_JOBS_UNSAFE= yes +TEST_TARGET= check + +DATADIR= ${PREFIX}/share/chicken +DOCSDIR= ${PREFIX}/share/doc/chicken + +PLIST_SUB= BINARYVERSION=${_CHICKEN_BINARYVERSION} + +OPTIONS_DEFINE= DOCS FEATHERS +OPTIONS_SUB= yes + +# XXX: This should be a subpackage and on by default +FEATHERS_DESC= Install the Feathers debugger (requires Tcl/Tk) + +FEATHERS_USES= tk:wrapper,run + +_CHICKEN_BINARYVERSION= 11 + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/c* \ + ${STAGEDIR}${PREFIX}/lib/chicken/${_CHICKEN_BINARYVERSION}/*.so \ + ${STAGEDIR}${PREFIX}/lib/libchicken.so + +post-install-DOCS-on: + ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} + +.include diff --git a/lang/chicken/distinfo b/lang/chicken/distinfo new file mode 100644 index 000000000000..fff5f495bc54 --- /dev/null +++ b/lang/chicken/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1637825548 +SHA256 (chicken-5.3.0.tar.gz) = c3ad99d8f9e17ed810912ef981ac3b0c2e2f46fb0ecc033b5c3b6dca1bdb0d76 +SIZE (chicken-5.3.0.tar.gz) = 4069549 diff --git a/lang/chicken/pkg-descr b/lang/chicken/pkg-descr new file mode 100644 index 000000000000..3490c323a9c2 --- /dev/null +++ b/lang/chicken/pkg-descr @@ -0,0 +1,4 @@ +CHICKEN is a compiler for the Scheme programming language. CHICKEN +produces portable, efficient C, supports almost all of the R5RS +Scheme language standard, and includes many enhancements and +extensions. diff --git a/lang/chicken/pkg-message b/lang/chicken/pkg-message new file mode 100644 index 000000000000..a12ee8a409e1 --- /dev/null +++ b/lang/chicken/pkg-message @@ -0,0 +1,7 @@ +[ +{ message: <