Tcllib is a collection of utility modules for Tcl. The intent is to
collect commonly used function into a single library, which users can
rely on to be available and stable.
There are too many modules now to list here. Browse the on-line
documentation at
http://tcllib.sourceforge.net/doc/
to get the idea.
This port installs pure-Tcl versions of the modules only.
C-implementations -- for some of the modules -- can be added by
installing devel/tcllibc port.
===> The following configuration options are available for tcllib-2.0:
DOCS=on: Build and/or install documentation
MANPAGES=off: Build and/or install manual pages
===> Use 'make config' to modify these settings
*/*: Use C.UTF-8 locale
Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
*/*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems
Approved by: portmgr (blanket)
PR: 274888
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
Never set WRKSRC when using USE_GITHUB.
If you want to set WRKSRC, set GH_PROJECT instead.
- The GitHub URLs are case insensitive, but the distribution files you
get out of them are not.
- If the repository was renamed, the old URL will still work, but the
distribution name will be ith the new name.
Sponsored by: Absolight
Rephrase the conditionals to avoid claims of malformity, that were reported
by FreshPorts sanity checking. (I can not reproduce the problem here.)
Notified by: dvl
Minor follow-ups on the last commit separating pure-Tcl and compiled
pieces of tcllib:
* make the compiled child-port RUN_DEPEND on the master --
it is not useful without it.
* disable OPTIONS, when building the child-port -- they
aren't meaningful there
Pointed out by: gahr
Use a syntax accepted by both bmake (freebsd 10+) and fmake (8-9)
For $unknown reason fmake does not like testing the content of a variable and
call the defined function on the same .if
Split the compiled pieces out of tcllib into a slave port of its own to avoid
a circular dependency: compiling C-files of tcllib requires critcl, but critcl
requires the cmdline (pure-Tcl) component of tcllib.
PR: 195863, 200612
Approved by: gahr (blanket)
Upstream is having difficulties connecting their Fossil-repository
to GitHub and the version currently offered by GH for download is
missing a lot of files, which were included before.
Go back to the distfile used 4 days ago -- hosted privately for the
time being. The filename is deliberately preserved so people and
mirrors, which already have the correct version, would not have to
re-download.
Use native (written in C) implementations, where available. This
speeds up some operations -- like JSON-parsing, for example --
by a lot.
Pick a few other nits and bump PORTREVISION.
PR: 195863
Submitted by: mi
Approved by: maintainer timeout
Sponsored by: http://sybpipe.com/
- Add DOCS and MANPAGES options
- Install man pages with a .tcllib suffix to avoid conflicts with other
ports such as devel/tcl-trf.
- Bump PORTREVISION
- Do not install the try.n manpage when using Tcl 8.6, cause try/catch/finally
are part of Tcl 8.6 core and the relevant manpage is installed by lang/tcl86
http://www.tcl.tk/cgi-bin/tct/tip/329.html
- import a patch from upstreams CVS to fix the expected result of a test
Reported by: Mikhail Teterin <mi+thun@aldan.algebra.com>
Thanks to: Andreas Kupries <andreask@activestate.com>
Install into unversioned ${PREFIX}/lib/tcllib instead of
${PREFIX}/lib/tcllibX.Y. This will prevent future upgrades from
breaking ports depending on tcllib.
Respect the NO_INSTALL_MANPAGES knob.
Make all installed utilities contain proper name of tclsh-executable.
Tcl 8.2 or higher is sufficient.
Bump PORTREVISION.
PR: 116549
Submitted by: Martin Matuska
- remove BUILD_DEPENDS line (replaced by USE_TCL_*)
- add patch to support tcl 8.5
PR: ports/109716
Submitted by: mm
Approved by: mi (maintainer), garga (mentor)
Add a patch from the vendor's CVS, which solves the problem of short
textual messages not being transfered to the SMTP server properly when
NOT using TLS. Bump PORTREVISION.
Remove the BROKEN tag. The self-tests are still run post-build, but
their failures (which occur in a tinderbox, but not in a regular
install) are no longer fatal...
Hopefully, the vendor will address this bogus failures in the next
release.
PR: ports/107887
Submitted by: Ying-Chieh Chen
Several tests fail, when run as root. Arrange to run them as `nobody', when
detecting a root-build.
Also, parse the created testlog to output only the failures (if any) to ease
the resolution of problem reports.
Reported by: Paul Schmehl, Sean McNeil
Approved by: portmgr (erwin)
Add the three missing executables installed by tcllib into bin/. They
were left out during my pkg-plist re-generation :-(
PR: 104226
Submitted by: Paul Schmehl
Depend on tclsh${TCL_VER} instead of tclsh, which is (or used to be?) a
script advising the user to select a version tclsh executable.
Submitted by: Denis Shaposhnikov
PR: not yet known
Oops, bump port revision to reflect the changes in the previous commit
and acknowledge poinyhat and the Ports Janitor, who called my attention
to the problem with pkg-plist.
For some reason, the mime::-module hardcodes the list of recognized encodings,
instead of relying on TCL core. Add the missing KOI8-U to the hardcoded list,
while I'm investigating. Bump portrevision.
Hardcode ``/usr/bin/fetch -q -o -'' instead of the bogus ``/usr/bin/wget -q -O
-''. The major bogosity is in the fact, that TCL and tcllib have pretty
functional http and ftp fetchers already.
Upgrade from 0.8 to 1.2. Use the included tests once at build time
instead of installing them. Use the included installation routine (which does
not install documentation other than the man-pages).