I have tried to make some changes in portindex2json.tcl so that the value
of categories is outputted as a list and not just a string.

Can someone please review if it seems fine:
https://github.com/arjunsalyan/Test/blob/master/portindex2json.tcl

Sample Output (new):

{

    "variants"         : "universal",

    "portdir"          : "aqua\/AppKiDo",

    "description"      : "AppKiDo is an API documentation browser for Cocoa
programmers",

    "homepage"         : "http:\/\/appkido.com\/",

    "epoch"            : "0",

    "platforms"        : "darwin",

    "name"             : "AppKiDo",

    "license"          : "MIT",

    "maintainers"      : "nomaintainer",

    "long_description" : "AppKiDo is a free reference tool for Cocoa
Objective-C programmers. It parses the header files and HTML documentation
files provided by Developer Tools and presents the results in a powerful
interface.",

    "version"          : "0.997",

    "categories"       : [aqua,devel],

    "revision"         : "0"

},



Thank You

Reply via email to