FreeBSD で PT1/PT2(PTx) を入れて recpt1 と egpdump を使うところまでの手順をまとめてみました。
$ pkg install ptx-kmod ab25
$ vi /etc/rc.conf
ptx_enable="YES"
pcscd_enable="YES"
$ /usr/local/etc/rc.d/ptx start
$ /usr/local/etc/rc.d/pcscd start
$ pkg install gmake gcc autoconf automake pkgconf cmake
$ ln -s /usr/local/bin/gcc48 /usr/local/bin/gcc
$ ln -s /usr/local/bin/g++48 /usr/local/bin/g++
$ cd
$ git clone https://github.com/stz2012/libarib25.git
$ cd libarib25
$ gmake
$ gmake install
$ cd
$ fetch http://hgotoh.jp/wiki/lib/exe/fetch.php/documents/freebsd/freebsd-019-recpt1_20140521.tar.gz
$ tar zxvf freebsd-019-recpt1_20140521.tar.gz
$ cd recpt1
$ ./autogen.sh
$ gmake
$ gmake install
$ cd
$ git clone https://github.com/Piro77/epgdump.git
$ cd epgdump
$ cmake .
$ make
$ make install
make install などで権限がない場合は sudo なり、su するなりしてください。