FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
p5-HTML-Truncate 0.20 textproc on this many watch lists=0 search for ports that depend on this port
Truncate HTML by character count while preserving well-formedness
Maintained by: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 23 Dec 2005 13:05:02
Also Listed In: www perl5
License: not specified in port


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.

WWW: http://search.cpan.org/dist/HTML-Truncate/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Required To Build:
  1. www/p5-HTML-Parser
  2. www/p5-HTML-Tagset
  3. lang/perl5.16
Required To Run:
  1. www/p5-HTML-Parser
  2. www/p5-HTML-Tagset
  3. lang/perl5.16
There are no ports dependent upon this port

To install the port: cd /usr/ports/textproc/p5-HTML-Truncate/ && make install clean
To add the package: pkg install textproc/p5-HTML-Truncate


Configuration Options
     No options to configure

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/HTML/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/HTML/
  4. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/HTML/
  5. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/HTML/
  6. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/HTML/
  7. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/HTML/
  8. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/HTML/
  9. http://at.cpan.org/modules/by-module/HTML/
  10. http://backpan.perl.org/modules/by-module/HTML/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/HTML/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/HTML/
  13. http://www.cpan.dk/modules/by-module/HTML/
  14. http://www.cpan.dk/modules/by-module/HTML/

Number of commits found: 20

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Nov 2013 03:52:42
Original commit files touched by this commit  0.20
Revision:333056
vanilla search for other commits by this committer
Support STAGEDIR.
20 Sep 2013 23:17:32
Original commit files touched by this commit  0.20
Revision:327773
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
02 Aug 2013 18:52:11
Original commit files touched by this commit  0.20
Revision:324174
mat search for other commits by this committer
- Convert to new perl framework
- Trim Makefile header
- Remove MAKE_JOBS_SAFE=yes, it's the default.
10 Jun 2012 18:42:48
Original commit files touched by this commit  0.20
swills search for other commits by this committer
- 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)
17 Sep 2011 06:49:29
Original commit files touched by this commit  0.20
sunpoet search for other commits by this committer
- Change PERL_CONFIGURE to "yes" for all values less than or equal to 5.8.0+

With hat:       perl
17 May 2011 11:13:00
Original commit files touched by this commit  0.20
jadawin search for other commits by this committer
- Cleaning MD5 in perl@'s ports

Approved by:    erwin@ (portmgr)
15 Jul 2009 11:12:13
Original commit files touched by this commit  0.20
tobez search for other commits by this committer
Update to 1.20.

Changes:        http://search.cpan.org/dist/HTML-Truncate/Changes
13 May 2009 16:51:42
Original commit files touched by this commit  0.19
leeym search for other commits by this committer
- update to 0.19
11 May 2009 17:07:04
Original commit files touched by this commit  0.18
leeym search for other commits by this committer
- update to 0.18
11 May 2009 06:41:30
Original commit files touched by this commit  0.17
leeym search for other commits by this committer
- update to 0.17
03 Jun 2008 16:01:01
Original commit files touched by this commit  0.16
mat search for other commits by this committer
Update to 0.16
17 Apr 2008 14:30:31
Original commit files touched by this commit  0.11
araujo search for other commits by this committer
- 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)
08 Sep 2007 01:06:22
Original commit files touched by this commit  0.11
linimon search for other commits by this committer
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
07 Jul 2006 00:07:13
Original commit files touched by this commit  0.11
leeym search for other commits by this committer
- update to 0.11
27 Mar 2006 08:25:32
Original commit files touched by this commit  0.10
tobez search for other commits by this committer
Update to 0.10.
22 Jan 2006 02:55:05
Original commit files touched by this commit  0.06
edwin search for other commits by this committer
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
05 Jan 2006 05:58:17
Original commit files touched by this commit  0.06
tobez search for other commits by this committer
Update to 0.06.
29 Dec 2005 09:08:48
Original commit files touched by this commit  0.05
tobez search for other commits by this committer
Update to 0.05.
25 Dec 2005 10:27:46
Original commit files touched by this commit  0.04
tobez search for other commits by this committer
Update to 0.04.
23 Dec 2005 13:03:36
Original commit files touched by this commit  0.03
tobez search for other commits by this committer
Add textproc/p5-HTML-Truncate 0.03, a Perl module that truncates HTML by
character count while preserving well-formedness.

Number of commits found: 20

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk11Nov 21
asterisk11Nov 21
phpmyadminNov 21
kde4-runtimeNov 20
kwebkitpartNov 20
yiiNov 19
chromiumNov 18
kde4-workspaceNov 17
dbusNov 11
wgetNov 08
konversation-kde4Nov 05
jenkinsOct 31
jenkins-ltsOct 31
twikiOct 31
libsshOct 29

8 vulnerabilities affecting 10 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24410
Broken 102
Deprecated 39
Ignore 359
Forbidden 1
Restricted 206
No CDROM 93
Vulnerable 18
Expired 0
Set to expire 35
Interactive 0
new 24 hours 1
new 48 hours6
new 7 days135
new fortnight147
new month203

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.