解説
一行ずつ解説していきます。
name tx
パッケージの名前を指定します。
version 0.12
ソフトウェアのバージョンです。なおダウンロードしてくるソースファイルは
name-version.tar.gz
です。autotoolsを使っているのならmake dist で作成されます。
revision 1
Portfile自体のバージョンです。同じバージョンのソフトウェアに対して修正等を行った時にはrevisionを
上げておくとアップデートされます。
description Library for a compact trie data structure.
port search の検索の時に表示される説明文。端的に書きましょう。
long_description Tx is a library for a compact trie data structure. \ Tx requires 1/4 - 1/10 of the memory usage compared to the previous implementations, \ and can therefore handle quite a large number of keys (e.g. 1 billion) efficiently. \ A trie data structure supports exact matching and common prefix matching, \ which are used for natural language processing etc. \ Tx uses Level-Order Unary Degree Sequence (LOUDS) for trie representation.
port info で詳細に表示した時に現れる長い説明文です。
categories devel
ソフトウェアの種類を表す。/opt/local/var/macports/sources/rsync.macports.org/release/ports/ を見るとどんなカテゴリがあるか分かると思います。ライブラリはdevelのようです。
platforms darwin
動作する環境(OS)を指定します。MacportsはMac以外にもFreeBSDやLinuxでも動作するのでOSの指定がある場合はここで指定します。といってもほとんどのものはdarwinしか指定していないみたいです。
homepage http://www-tsujii.is.s.u-tokyo.ac.jp/~hillbig/tx.htm
プロジェクト本家等、情報が載っているホームページのアドレスです。
master_sites http://www-tsujii.is.s.u-tokyo.ac.jp/~hillbig/software/
ソフトウェアの存在しているURLです。Macportsは内部的に以下のコマンドでソースファイルを取得します。
$ wget master_sites/name-version.tar.gz
最後に
checksums md5 9e381d2c6c6f0fed7371e9a2f5f64d98