Port details |
- p5-XML-XML2JSON Convert XML into JSON (and back again) using XML::LibXML
- 0.06_1 textproc
=2 0.06_1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2011-07-14 06:51:17
- 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
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/XML-XML2JSON
- Description:
- XML::XML2JSON is a Perl module to convert XML to JSON (and JSON to XML) using
the following rules from Google (http://code.google.com/apis/gdata/json.html):
Basic:
- The feed is represented as a JSON object; each nested element or attribute
is represented as a name/value property of the object.
- Attributes are converted to String properties.
- Child elements are converted to Object properties.
- Elements that may appear more than once are converted to Array properties.
- Text values of tags are converted to $t properties.
Namespace:
- If an element has a namespace alias, the alias and element are concatenated
using "$". For example, ns:element becomes ns$element.
XML:
- XML version and encoding attributes are converted to version and encoding
attributes of the root element, respectively.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-XML-XML2JSON>0:textproc/p5-XML-XML2JSON
- To install the port:
- cd /usr/ports/textproc/p5-XML-XML2JSON/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/p5-XML-XML2JSON
- pkg install p5-XML-XML2JSON
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-XML-XML2JSON
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (XML-XML2JSON-0.06.tar.gz) = a4d0d081387533d3b6dff15ee4aebe32534073ef61a6a1cf00f515e1baa3fc7a
SIZE (XML-XML2JSON-0.06.tar.gz) = 24504
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-XML-LibXML>=1.59 : textproc/p5-XML-LibXML
- p5-YAML-Syck>=0 : textproc/p5-YAML-Syck
- perl5>=5.32.r0<5.33 : lang/perl5.32
- p5-YAML-Syck>=0 : textproc/p5-YAML-Syck
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-XML-LibXML>=1.59 : textproc/p5-XML-LibXML
- p5-YAML-Syck>=0 : textproc/p5-YAML-Syck
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- biology/p5-Bio-Phylo
- for Run
-
- biology/p5-Bio-Phylo
Configuration Options:
- ===> The following configuration options are available for p5-XML-XML2JSON-0.06_1:
====> Options available for the multi JSON_BACKEND: you have to choose at least one of them
JSON_SYCK=on: Use JSON::Syck
JSON_XS=off: Use JSON::XS
JSON=off: Use JSON
JSON_DWIW=off: Use JSON::DWIW
===> Use 'make config' to modify these settings
- Options name:
- textproc_p5-XML-XML2JSON
- 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.06_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.06_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.06_1 25 Jun 2021 13:39:19
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/p5-XML-XML2JSON: Cosmetic change |
0.06_1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.06_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.06_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.06_1 15 Sep 2017 08:58:50
  |
mat  |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
0.06_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.06_1 06 Jul 2015 17:46:40
  |
sunpoet  |
- Use OPTIONS_MULTI instead of OPTIONS_DEFINE
- Add NO_ARCH
- Convert to new options helper |
0.06_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.06 30 Sep 2013 19:41:57
  |
sunpoet  |
- Support STAGEDIR |
0.06 20 Sep 2013 23:17:32
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
0.06 25 Aug 2013 16:14:58
  |
sunpoet  |
- Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo) |
0.06 21 Aug 2013 14:08:08
  |
sunpoet  |
- Convert to new perl framework |
0.06 07 Oct 2012 15:25:11
  |
sunpoet  |
- Add LICENSE
- Convert to new options framework
- Fix typo
- Cleanup Makefile header |
0.06 22 Jan 2012 16:44:05
 |
sunpoet  |
- Update to 0.06
- Add BUILD_DEPENDS
- Pet portlint
Changes: http://search.cpan.org/dist/XML-XML2JSON/Changes |
0.05 14 Jul 2011 06:50:52
 |
sunpoet  |
- Add p5-XML-XML2JSON 0.05
XML::XML2JSON is a Perl module to convert XML to JSON (and JSON to XML) using
the following rules from Google (http://code.google.com/apis/gdata/json.html):
Basic:
- The feed is represented as a JSON object; each nested element or attribute
is represented as a name/value property of the object.
- Attributes are converted to String properties.
- Child elements are converted to Object properties.
- Elements that may appear more than once are converted to Array properties.
- Text values of tags are converted to $t properties.
Namespace:
- If an element has a namespace alias, the alias and element are concatenated
using "$". For example, ns:element becomes ns$element.
XML:
- XML version and encoding attributes are converted to version and encoding
attributes of the root element, respectively.
WWW: http://search.cpan.org/dist/XML-XML2JSON/ |