mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
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)
This commit is contained in:
parent
3b9e71f95e
commit
5717daedf4
@ -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 <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
12
lang/tcbasic/files/patch-CMakeLists.txt
Normal file
12
lang/tcbasic/files/patch-CMakeLists.txt
Normal file
@ -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()
|
Loading…
Reference in New Issue
Block a user