Hi folks.
I've built a FreeBSD port, and I was hoping to get some feedback that it does in fact build/install/deinstall properly on a variety of FreeBSD systems (I've tested this very thing on 3 other systems several times as per the porter's handbook without any issues).
If approved, it ought to be listed under textproc/topic. This utility features an extremely simple markup language for parsing plain-text databases using topic markup. Its only dependency is glibc, and builds/installs a single binary, and a single man page, nothing more.
Here's a description:
'TOPIC markup provides a minimal context for plain text databases that can be read/modified by most text editors, and easily parsed as well.
Uses include: knowledge-bases, glossaries, apropos, notes... Portable C sources will compile under virtually any environment.'
To test the port, you'll first need to download the port distribution tarball (contains: Makfile/distinfo/pkg-descr/pkg-plist) located at:
www.topcat.hypermart.net/code/topic-port-make.tar.gz [718 bytes]
Then unpack the archive to /usr/ports/textproc/topic
To compile/install topic, as root invoke:
The port should now be installed. Depending on your shell, you may also need to type:
To self-test topic type:
Its output should exactly match the following:
To read more about topic, simply read its man page:
To study and better understand the topic markup specification, please view this document (it explains all you'll need to know about creating your own topic database, and no worries its super easy).
To deinstall (remove) topic, as root from the /usr/ports/textproc/topic directory type:
Thanks for any feedback, I appreciate it.
I've built a FreeBSD port, and I was hoping to get some feedback that it does in fact build/install/deinstall properly on a variety of FreeBSD systems (I've tested this very thing on 3 other systems several times as per the porter's handbook without any issues).
If approved, it ought to be listed under textproc/topic. This utility features an extremely simple markup language for parsing plain-text databases using topic markup. Its only dependency is glibc, and builds/installs a single binary, and a single man page, nothing more.
Here's a description:
'TOPIC markup provides a minimal context for plain text databases that can be read/modified by most text editors, and easily parsed as well.
Uses include: knowledge-bases, glossaries, apropos, notes... Portable C sources will compile under virtually any environment.'
To test the port, you'll first need to download the port distribution tarball (contains: Makfile/distinfo/pkg-descr/pkg-plist) located at:
www.topcat.hypermart.net/code/topic-port-make.tar.gz [718 bytes]
Then unpack the archive to /usr/ports/textproc/topic
To compile/install topic, as root invoke:
Code:
# cd /usr/ports/textproc/topic && make install clean
The port should now be installed. Depending on your shell, you may also need to type:
Code:
# rehash
To self-test topic type:
Code:
# topic -m | topic -i
Its output should exactly match the following:
Code:
TAG: 1, SYNOPSIS
TAG: 2, KEY CONCEPTS
TAG: 3, TAGS
TAG: 4, BLOCKS
TAG: 5, LINES
TAG: 6, ASSOCIATIONS
TAG: 7, Apples, Fruit
TAG: 8, Oranges, Fruit
TAG: 9, PARSING
TAG: 10, GLOSSARY, i, ii, iii, iv, v, vi
TAG: 11, HEX TABLE
TAG: 12, LEGALESE
TAG: 13, COLOPHON
To read more about topic, simply read its man page:
Code:
man topic
To study and better understand the topic markup specification, please view this document (it explains all you'll need to know about creating your own topic database, and no worries its super easy).
To deinstall (remove) topic, as root from the /usr/ports/textproc/topic directory type:
Code:
# make deinstall
Thanks for any feedback, I appreciate it.