You can look at some examples projects in the "examples" directory of UPasConf sources. You will see : fpc and lazarus projects, projects using different directory structures, a project with 2 binaries, how to install documentations files, ... In all those cases the program is less than 50 lines.
Simply enter in on example directory and do :
$ fpc pasconf
$ ./pasconf
$ make
You can also try "./pasconf -h" to see what can be configured by command line or "make help" to see all the make targets available.
For a more reallistic project you can look at
http://yann.merignac.free.fr/data2pas.html.