Port details |
- p5-HTML-Truncate Truncate HTML by character count while preserving well-formedness
- 0.20_1 textproc
=2 0.20_1Version of this port present on the latest quarterly branch. - Maintainer: perl@FreeBSD.org
 - Port Added: 2005-12-23 13:05:02
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5 www
- License: not specified in port
- WWW:
- https://metacpan.org/release/HTML-Truncate
- Description:
- When working with text it is convenient and common to want to truncate
strings to make them fit a desired context. E.g., you might have a menu
that is only 100px wide and prefer text doesn't wrap so you'd truncate
it around 15-30 characters, depending on preference and typeface size.
This is trivial with plain text and substr but with HTML it is somewhat
difficult because whitespace has fluid significance and open tags that
are not properly closed destroy well-formedness and can wreck an entire
layout.
HTML::Truncate attempts to account for those two problems by padding
truncation for spacing and entities and closing any tags that remain
open at the point of truncation.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-HTML-Truncate>0:textproc/p5-HTML-Truncate
- To install the port:
- cd /usr/ports/textproc/p5-HTML-Truncate/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/p5-HTML-Truncate
- pkg install p5-HTML-Truncate
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-HTML-Truncate
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (HTML-Truncate-0.20.tar.gz) = db5dd82b1a371a9df0e16bc8cdcaf28c44c9f5ab01ead0f9cdeed60291d3e8c5
SIZE (HTML-Truncate-0.20.tar.gz) = 36450
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-HTML-Parser>=2 : www/p5-HTML-Parser
- p5-HTML-Tagset>=3 : www/p5-HTML-Tagset
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-HTML-Parser>=2 : www/p5-HTML-Parser
- p5-HTML-Tagset>=3 : www/p5-HTML-Tagset
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- textproc_p5-HTML-Truncate
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
0.20_1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.20_1 20 Jul 2022 14:23:14
    |
Tobias C. Berner (tcberner)  |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.20_1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.20_1 06 Oct 2018 13:06:45
  |
des  |
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw) |
0.20_1 27 May 2018 20:15:20
  |
sunpoet  |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
0.20_1 21 Oct 2016 12:51:41
  |
mat  |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
0.20_1 01 Apr 2016 14:25:18
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
0.20_1 26 Nov 2014 13:08:38
  |
mat  |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
0.20 07 Nov 2013 03:52:42
  |
vanilla  |
Support STAGEDIR. |
0.20 20 Sep 2013 23:17:32
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
0.20 02 Aug 2013 18:52:11
  |
mat  |
- Convert to new perl framework
- Trim Makefile header
- Remove MAKE_JOBS_SAFE=yes, it's the default. |
0.20 10 Jun 2012 18:42:48
 |
swills  |
- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
about for a while.
PR: ports/168208
Approved by: portmgr (miwi) |
0.20 17 Sep 2011 06:49:29
 |
sunpoet  |
- Change PERL_CONFIGURE to "yes" for all values less than or equal to 5.8.0+
With hat: perl |
0.20 17 May 2011 11:13:00
 |
jadawin  |
- Cleaning MD5 in perl@'s ports
Approved by: erwin@ (portmgr) |
0.20 15 Jul 2009 11:12:13
 |
tobez  |
Update to 1.20.
Changes: http://search.cpan.org/dist/HTML-Truncate/Changes |
0.19 13 May 2009 16:51:42
 |
leeym  |
- update to 0.19 |
0.18 11 May 2009 17:07:04
 |
leeym  |
- update to 0.18 |
0.17 11 May 2009 06:41:30
 |
leeym  |
- update to 0.17 |
0.16 03 Jun 2008 16:01:01
 |
mat  |
Update to 0.16 |
0.11 17 Apr 2008 14:30:31
 |
araujo  |
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav) |
0.11 08 Sep 2007 01:06:22
 |
linimon  |
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr |
0.11 07 Jul 2006 00:07:13
 |
leeym  |
- update to 0.11 |
0.10 27 Mar 2006 08:25:32
 |
tobez  |
Update to 0.10. |
0.06 22 Jan 2006 02:55:05
 |
edwin  |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related) |
0.06 05 Jan 2006 05:58:17
 |
tobez  |
Update to 0.06. |
0.05 29 Dec 2005 09:08:48
 |
tobez  |
Update to 0.05. |
0.04 25 Dec 2005 10:27:46
 |
tobez  |
Update to 0.04. |
0.03 23 Dec 2005 13:03:36
 |
tobez  |
Add textproc/p5-HTML-Truncate 0.03, a Perl module that truncates HTML by
character count while preserving well-formedness. |