pkgsrc/devel/p5-Tree-DAG_Node/Makefile

23 lines
651 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2015/06/12 10:49:54 wiz Exp $
Update 1.23 to 1.26 ------------------- 1.26 Sun Apr 12 13:37:00 2015 - Fix bug in string2hashref(), which failed on some strings, such as {a => 'b, c'}. string2hashref() is called by read_tree(). Escaped chars are still not handled. - Add t/string2hash.t to test new code. 1.25 Sun Mar 22 11:42:00 2015 - I've deleted the undocumented sub _dump_quote(), which butchered Unicode characters when it tried to convert ASCII control characters into printable strings (on the assumption all data is ASCII). Thanx to Dr. Petra Steiner (Germany) for discussion and some testing. I hope no-one was relying on this sub in output redirected to disk files, or otherwise saved for later comparisons. Methods which used to call _dump_quote() now just output the node's name by calling quote_name(), which is discussed next. Undefined names are output as the string 'undef'. - Add method quote_name(), which simply returns its input string surrounded by single-quotes. - Add method decode_lol(). This converts the output of tree_to_lol() and tree_to_simple_lol() into something which is easy to read. See scripts/read.tree.pl for sample usage. - Reorder a couple of methods called tree_*(), so that they are in alphabetical order. - Expand the docs for methods tree_to_*(), re undefined node names. - Add scripts/write.tree.pl, which creates the test input file t/tree.utf8.attributes.txt. Note: This latter file is now much more complex that in previous versions. - Add scripts/read.tree.pl, and it's output file scripts/read.tree.log. This program demonstrates the output produced by various methods. - Fix the faulty syntax I had used in Build.PL to identify the github repo. - Delete and re-create github repo after 'git push' failed to upload the new version. - Add LICENSE file to MANIFEST. 1.24 Sun Jan 25 14:17:00 2015 - Clean up discussion in docs of original author's reluctance to allow parameters to new(). - Rewrite bareword filehandles (INX) to use a variable (my $fh). - Rename github repo from Tree--DAG_Node to Tree-DAG_Node - My new standard. Update Build.PL and Makefile.PL to match. - Reformat the docs, and this file, slighty, to be <= 100 chars per line - My new standard. - Change horizontal indentation used by node2string() to add 1 space, so '|' lines up underneath the first char of the previous node's name. Use scripts/cut.and.paste.subtrees.pl to see the difference.
2015-05-23 03:22:43 +02:00
DISTNAME= Tree-DAG_Node-1.26
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tree/}
EXTRACT_SUFX= .tgz
MAINTAINER= dprice@cs.nmsu.edu
2005-02-19 18:41:32 +01:00
HOMEPAGE= http://search.cpan.org/dist/Tree-DAG_Node/
COMMENT= Class for representing nodes in a tree
2010-01-16 20:27:17 +01:00
LICENSE= ${PERL5_LICENSE}
DEPENDS+= {perl>=5.19.1,p5-File-Temp>=0.23.01}:../../devel/p5-File-Temp
DEPENDS+= p5-File-Slurp-Tiny>=0:../../devel/p5-File-Slurp-Tiny
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Tree/DAG_Node/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"