From nobody Sun Apr 21 12:06:18 2024 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 4VMnCt25C6z5J5Ql; Sun, 21 Apr 2024 12:06:18 +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 4VMnCt1HHjz54VD; Sun, 21 Apr 2024 12:06:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713701178; 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=h9XFi1SkGSa9E9z2ngfNpVv6ZGPdmgyQO5wPkQtIJlI=; b=ycnADKJmWBzVg8zmQO0aEWq2ZjCiQWsZNDyL/8nxmU5Jd7nws4HT4yXpX8Eq3QzsHL2Dad sYcnpDFoVbkW6Ou28UDWeKvuvwQBEfa7DoAUO0TnLRYNu4NE3jQUr4AtzR5Z4ebzNLv42d 2nMX61LQB/zOtL1gnoP2ADDrOKg+1pFGsNhoTf0ikUajq5ryKpjI0YqYhQIEorTz/NL5wm mbXfuRO9jCxHSOQ1UwIXETJuJ6oYLpU5s61ThR/ggw6FXmUbizux567+MLYp2KwgOT+OAw kP2ihi+rMaqCmaDQFDeRcl0vm7DKmHuWjbu1YxrSM7nO8d94a+DvFRvur4pLUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713701178; a=rsa-sha256; cv=none; b=TMsXCHlmDmD+fNiJBblphbF+5wa47qGqmEmc++2IuBWtGBiuySYijQN2ivvC0Hev6eIvXR W2BZ5YajZ0aCkKoDBFwO7rSV/gJegNG7uGBSYNXRjQyzhz1n+q/9bsez6h+ZHF2/zPXitP Ws1642Z8c9QhVRtKRF4CSzjRYEr9ke199BNVlIPnCj3vq65X8qPumSGznKL/47CYpOQ5qq fsucEdAgl8SkJXoTsaszgcMvu7tjwle5nn6lL51675pUsm9mSsLaY6P3Jlw01or1fzZVNy /uCI2yKRHY6W+cGIGzel9oE9q/Ts0RqZ2NOsszQpwYkbTuYDw3CIPC33kNmznA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713701178; 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=h9XFi1SkGSa9E9z2ngfNpVv6ZGPdmgyQO5wPkQtIJlI=; b=EleEebHgLhi+8+l05+9s+ofv50heP4RDm8u1vd0c0XkHQEcdlnaxbi3ZzngRMEHmqJJ62x 4Xjg8VHUvEhGtXr0bsaO57tME25B9hL4VQiGuQosGDRw0aQGRjPlvrKsjy2wPFtInO0RNH f44aOqA9Da/Eh888OhtumJ6tJKVHOjJKqG7+aj0daZXcLHxzVwbiVoZuH3hQy72ECTgSGG bq+2WhCqEvLlh/t3QfF6cCU53vNQ1QvTSYxifyXX9VK3L6d+X/0IuWHz5hhdcWPWM5x5Vo /j0zj3DWR0sks4BP+5ZPeXoBOr5iu7ioN07ciNJxzk2+BxQYsf6rKPT/aNLR/Q== 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 4VMnCt0rrfz1K86; Sun, 21 Apr 2024 12:06:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43LC6I1n015944; Sun, 21 Apr 2024 12:06:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43LC6IC6015941; Sun, 21 Apr 2024 12:06:18 GMT (envelope-from git) Date: Sun, 21 Apr 2024 12:06:18 GMT Message-Id: <202404211206.43LC6IC6015941@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: 5717daedf4e3 - main - lang/tcbasic: Update to 2.3.0 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5717daedf4e3129dd46808b8367ef01adb67ac0f Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=5717daedf4e3129dd46808b8367ef01adb67ac0f commit 5717daedf4e3129dd46808b8367ef01adb67ac0f Author: mew14930xvi AuthorDate: 2024-04-20 17:16:11 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-04-21 12:06:05 +0000 lang/tcbasic: Update to 2.3.0 ChangeLog: https://github.com/tcort/tcbasic/releases/tag/v2.3.0 * Add FOR/NEXT loops * Add integer division operator (\) and exponentiation operator (^) * Add built-in functions: CLS, INT, SHELL, BEEP * Allow spaces between GO and TO as well as GO and SUB. * Allow mixed case keywords * Improved error checking and reporting * Switch from autotools build system to cmake build system * Increase randomness of RANDOMIZE * Documentation updates PR: 278067 Reported by: mew14930xvi@inbox.lv Approved by: linuxgeek@gmail.com (maintainer, timeout > 2 weeks) --- lang/tcbasic/Makefile | 16 +++++++++++----- lang/tcbasic/distinfo | 6 +++--- lang/tcbasic/files/patch-CMakeLists.txt | 12 ++++++++++++ 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/lang/tcbasic/Makefile b/lang/tcbasic/Makefile index 135150a17f6e..20970d039346 100644 --- a/lang/tcbasic/Makefile +++ b/lang/tcbasic/Makefile @@ -1,18 +1,24 @@ PORTNAME= tcbasic -PORTVERSION= 2.2.0 -PORTREVISION= 1 +DISTVERSION= 2.3.0 CATEGORIES= lang -MASTER_SITES= https://github.com/tcort/${PORTNAME}/releases/download/v${PORTVERSION}/ +MASTER_SITES= https://github.com/tcort/${PORTNAME}/archive/refs/tags/v${PORTVERSION}/ MAINTAINER= linuxgeek@gmail.com COMMENT= Small BASIC Interpreter written in C WWW= https://github.com/tcort/tcbasic LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share +USES= cmake PLIST_FILES= bin/tcbasic share/man/man1/tcbasic.1.gz +PORTEXAMPLES= * + +OPTIONS_DEFINE= EXAMPLES + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.bas ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/lang/tcbasic/distinfo b/lang/tcbasic/distinfo index f02a611fdb45..19dd3e488ade 100644 --- a/lang/tcbasic/distinfo +++ b/lang/tcbasic/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1505046706 -SHA256 (tcbasic-2.2.0.tar.gz) = 0fd87000f5c192ead1d02a2169e46eb6316660e89113ab3e901426e585a0054b -SIZE (tcbasic-2.2.0.tar.gz) = 135017 +TIMESTAMP = 1711889808 +SHA256 (tcbasic-2.3.0.tar.gz) = db95f8bcc7c11c1597e3ccaf695ab85221400f18c9f20fcc5a7d949a4d23b657 +SIZE (tcbasic-2.3.0.tar.gz) = 46450 diff --git a/lang/tcbasic/files/patch-CMakeLists.txt b/lang/tcbasic/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..d66aee48fa73 --- /dev/null +++ b/lang/tcbasic/files/patch-CMakeLists.txt @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2020-11-17 19:28:20 UTC ++++ CMakeLists.txt +@@ -38,8 +38,7 @@ install(TARGETS tcbasic DESTINATION bin) + add_executable(tcbasic ${SOURCES}) + target_link_libraries(tcbasic m) + install(TARGETS tcbasic DESTINATION bin) +-install(FILES ${PROJECT_BINARY_DIR}/man/tcbasic.1 DESTINATION man/man1) +-install(DIRECTORY ${PROJECT_SOURCE_DIR}/examples DESTINATION share/${PROJECT_NAME}) ++install(FILES ${PROJECT_BINARY_DIR}/man/tcbasic.1 DESTINATION share/man/man1) + + include(CTest) + enable_testing()