lang/gauche: update to 0.9.10
- Port changes default TLS library to external mbedTLS Changelog: https://practical-scheme.net/gauche/gmemo/?Release%200.9.10 PR: 252060 Submitted by: Lassi Kortela <lassi+freebsd@lassi.io> (new maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D27746
This commit is contained in:
parent
4328d31f8d
commit
f8a7c1d4bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559258
@ -2,12 +2,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gauche
|
||||
PORTVERSION= 0.9.9
|
||||
PORTVERSION= 0.9.10
|
||||
CATEGORIES= lang scheme
|
||||
MASTER_SITES= SF/${PORTNAME}/Gauche
|
||||
MASTER_SITES= https://github.com/shirok/Gauche/releases/download/release0_9_10/
|
||||
DISTNAME= Gauche-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= lassi+freebsd@lassi.io
|
||||
COMMENT= Scheme script interpreter with multibyte character handling
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
@ -21,24 +21,26 @@ USES= compiler:c11 gmake iconv makeinfo tar:tgz
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-local=${LOCALBASE} ${ICONV_CONFIGURE_BASE:S/lib//}
|
||||
USE_LDCONFIG= yes
|
||||
MAKE_JOBS_UNSAFE=yes
|
||||
TEST_TARGET= check
|
||||
ABI_VERSION= 0.97
|
||||
|
||||
PLIST_SUB= VERSION="${PORTVERSION}" \
|
||||
PLIST_SUB= ABI_VERSION="${ABI_VERSION}" \
|
||||
VERSION="${PORTVERSION}" \
|
||||
TARGET="${CONFIGURE_TARGET}"
|
||||
|
||||
# avoids a problem with with ccache's pre-processor optimization
|
||||
# avoids a problem with ccache's pre-processor optimization
|
||||
MAKE_ENV+= CCACHE_CPP2=1
|
||||
TEST_ENV= # must be empty, otherwise cf-check-lib test fails
|
||||
|
||||
INFO= gauche-refe gauche-refj
|
||||
|
||||
OPTIONS_DEFINE= GDBM THREADS SLIB
|
||||
OPTIONS_DEFINE= GDBM THREADS SLIB MANPAGES
|
||||
OPTIONS_RADIO= MULTIBYTE TLS
|
||||
OPTIONS_RADIO_MULTIBYTE= EUCJP SJIS UTF8
|
||||
OPTIONS_RADIO_TLS= AXTLS MBEDTLS
|
||||
OPTIONS_DEFAULT= AXTLS THREADS UTF8
|
||||
OPTIONS_DEFAULT= MBEDTLS THREADS UTF8 MANPAGES
|
||||
OPTIONS_SUB= yes
|
||||
NO_OPTIONS_SORT= yes
|
||||
|
||||
AXTLS_DESC= Cameron Rich's axTLS implementation (bundled)
|
||||
AXTLS_CONFIGURE_ON= --with-tls=axtls
|
||||
@ -47,8 +49,9 @@ EUCJP_CONFIGURE_ON= --enable-multibyte=euc-jp
|
||||
GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm
|
||||
GDBM_CONFIGURE_ON= --with-dbm=gdbm,ndbm
|
||||
GDBM_CONFIGURE_OFF= --with-dbm=ndbm
|
||||
MBEDTLS_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls
|
||||
MBEDTLS_CONFIGURE_ON= --with-tls=mbedtls
|
||||
MBEDTLS_CONFIGURE_ON= --with-tls=mbedtls --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
|
||||
SLIB_DESC= Create catalogue for SLIB port
|
||||
# Gauche's slib module to use Aubrey Jaffer's SLIB
|
||||
SLIB_BUILD_DEPENDS= ${LOCALBASE}/share/slib/require.scm:lang/slib
|
||||
@ -71,7 +74,6 @@ CONFIGURE_ARGS+= --with-tls=none
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/bash,/sh,' ${WRKSRC}/src/gen-features.sh
|
||||
# required for sparc64, no-op elsewhere
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^VPATH = /s,$$,/src,' ${WRKSRC}/gc/Makefile.in
|
||||
@ -81,13 +83,13 @@ post-patch:
|
||||
's,darwin,&|${OPSYS:tl},' ${WRKSRC}/test/scripts.scm
|
||||
|
||||
post-install:
|
||||
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/gauche-0.97/site/${CONFIGURE_TARGET}/.keepme
|
||||
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/gauche-${ABI_VERSION}/site/${CONFIGURE_TARGET}/.keepme
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib/.packages
|
||||
@${TOUCH} ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib/.packages/.keepme
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/site/lib/.packages
|
||||
@${TOUCH} ${STAGEDIR}${DATADIR}/site/lib/.packages/.keepme
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/gauche-0.97/site/lib/.packages
|
||||
@${TOUCH} ${STAGEDIR}${PREFIX}/share/gauche-0.97/site/lib/.packages/.keepme
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/gauche-${ABI_VERSION}/site/lib/.packages
|
||||
@${TOUCH} ${STAGEDIR}${PREFIX}/share/gauche-${ABI_VERSION}/site/lib/.packages/.keepme
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${TOUCH} ${STAGEDIR}${DOCSDIR}/.keepme
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@ -97,11 +99,11 @@ post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i}
|
||||
@${CHMOD} u-w ${STAGEDIR}${PREFIX}/bin/${i}
|
||||
.endfor
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgauche-0.97.so.[0-9].*
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgauche-${ABI_VERSION}.so.[0-9].*
|
||||
.for i in gauche-config gosh *.so
|
||||
@${CHMOD} u+w ${STAGEDIR}${PREFIX}/lib/gauche-0.97/${PORTVERSION}/${CONFIGURE_TARGET}/${i}
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gauche-0.97/${PORTVERSION}/${CONFIGURE_TARGET}/${i}
|
||||
@${CHMOD} u-w ${STAGEDIR}${PREFIX}/lib/gauche-0.97/${PORTVERSION}/${CONFIGURE_TARGET}/${i}
|
||||
@${CHMOD} u+w ${STAGEDIR}${PREFIX}/lib/gauche-${ABI_VERSION}/${PORTVERSION}/${CONFIGURE_TARGET}/${i}
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gauche-${ABI_VERSION}/${PORTVERSION}/${CONFIGURE_TARGET}/${i}
|
||||
@${CHMOD} u-w ${STAGEDIR}${PREFIX}/lib/gauche-${ABI_VERSION}/${PORTVERSION}/${CONFIGURE_TARGET}/${i}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1576440314
|
||||
SHA256 (Gauche-0.9.9.tgz) = 4ca9325322a7efadb9680d156eb7b53521321c9ca4955c4cbe738bc2e1d7f7fb
|
||||
SIZE (Gauche-0.9.9.tgz) = 7244347
|
||||
TIMESTAMP = 1608077286
|
||||
SHA256 (Gauche-0.9.10.tgz) = 0f39df1daec56680b542211b085179cb22e8220405dae15d9d745c56a63a2532
|
||||
SIZE (Gauche-0.9.10.tgz) = 7701616
|
||||
|
@ -1,6 +1,10 @@
|
||||
Gauche is a Scheme interpreter conforming Revised^5 Report on
|
||||
Algorithmic Language Scheme. It is designed for rapid development of
|
||||
daily tools like system management and text processing. It can handle
|
||||
multibyte character strings natively.
|
||||
Gauche is a fast, portable Scheme interpreter with "batteries
|
||||
included". It conforms to the R5RS and R7RS language standards,
|
||||
supports lots of SRFI out of the box, adds its own object-oriented
|
||||
programming framework, and supports the R7RS library system as well as
|
||||
its own pre-R7RS module system. Gauche is designed for the rapid
|
||||
development of scipts to assist daily work in system administration,
|
||||
text processing, and other fields. It can handle UTF-8, EUC-JP, and
|
||||
Shift JIS character strings natively.
|
||||
|
||||
WWW: http://practical-scheme.net/gauche/
|
||||
WWW: https://practical-scheme.net/gauche/
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user