Re: My interactive version of pkg_add - finished!

2008-10-04 Thread Romain Tartière
Hello On Fri, Oct 03, 2008 at 10:24:37PM +0300, Marin Atanasov wrote: I was wondering how to create a man page for my program. groff_mdoc(7) is probably what you are looking for... Having a look to existing man pages is also really useful for seeing how things are done. With kind regards,

Re: My interactive version of pkg_add - finished!

2008-10-04 Thread Marin Atanasov
This time I need your help to help create my Makefile. To be honest this will be my first Makefile and I'm not very sure that it is correctly written although it builds fine. PROG=pkg_add_it SRCS=fnode.c explode.c scan_directory.c scan_index_file.c pkg_add_it.c OBJS=fnode.o explode.o

Re: My interactive version of pkg_add - finished!

2008-10-04 Thread Michel Talon
Marin Atanasov wrote: Should I add something else to it or modify something? You should remove a lot, because many implicit rules are already defined in /usr/share/mk/sys.mk which is sourced by make automatically. See for example /usr/src/usr.sbin/pkg_install/add/Makefile to discover how

Re: My interactive version of pkg_add - finished!

2008-10-04 Thread Marin Atanasov
Michel Talon wrote: Marin Atanasov wrote: Should I add something else to it or modify something? You should remove a lot, because many implicit rules are already defined in /usr/share/mk/sys.mk which is sourced by make automatically. See for example

Re: My interactive version of pkg_add - finished!

2008-10-04 Thread Marin Atanasov
Marin Atanasov wrote: Thanks, I've read it and now my Makefile is as follows: PROG= pkg_add_it SRCS= fnode.c explode.c scan_directory.c scan_index_file.c pkg_add_it.c .include bsd.port.subdir.mk .include bsd.prog.mk It builds, installs, cleans, etc.. but when I `make install' it finishes

Re: My interactive version of pkg_add - finished!

2008-10-03 Thread Marin Atanasov
Hi, list - it's me again :) I was wondering how to create a man page for my program. I was looking over the web, and found similar questions already posted, but they all suggest that you take an existing copy of a man page and edit it for your needs. Isn't there a guide or something on how to

Re: My interactive version of pkg_add - finished!

2008-10-03 Thread Lowell Gilbert
Marin Atanasov [EMAIL PROTECTED] writes: I was wondering how to create a man page for my program. I was looking over the web, and found similar questions already posted, but they all suggest that you take an existing copy of a man page and edit it for your needs. Isn't there a guide or

My interactive version of pkg_add - finished!

2008-10-01 Thread Marin Atanasov
Hi, again! :) I've finished the new version of the program. I decided to name it `sit' - Simple Interactive Tool `sit' now supports the following: -- improved code for dynamic memory allocation -- local package pattern search -- remote (ftp) package pattern search -- command line arguments to

Re: My interactive version of pkg_add - finished!

2008-10-01 Thread Miroslav Lachman
Marin Atanasov wrote: Hi, again! :) I've finished the new version of the program. I decided to name it `sit' - Simple Interactive Tool `sit' now supports the following: -- improved code for dynamic memory allocation -- local package pattern search -- remote (ftp) package pattern search --

Re: My interactive version of pkg_add - finished!

2008-10-01 Thread Marin Atanasov
Miroslav Lachman wrote: It seems useful. I have one suggestion - make it as port and submit PR for adding it in to ports tree, so it will get wider audience :) Miroslav Lachman Will do that :) Maybe tomorrow I'll start making the port, because right now I have to study for my exams. It

Re: My interactive version of pkg_add - finished!

2008-10-01 Thread Hans F. Nordhaug
* Marin Atanasov [EMAIL PROTECTED] [2008-10-01]: Hi, again! :) I've finished the new version of the program. I decided to name it `sit' - Simple Interactive Tool [cut] Hm, isn't this a little too generic name? If this is an interactive version of pkg_add maybe use name that makes that

Re: My interactive version of pkg_add - finished!

2008-10-01 Thread Marin Atanasov
Hans F. Nordhaug wrote: Hm, isn't this a little too generic name? If this is an interactive version of pkg_add maybe use name that makes that clear? Hans Disclaimer: I haven't tried your program/sit. ___ freebsd-ports@freebsd.org mailing list

Re: My interactive version of pkg_add - finished!

2008-10-01 Thread Alexander Churanov
Marin, Let me suggest some names: 1) pkg_search 2) pkg_find 3) pkg_install 4) package-finder 5) package-installer 6) find-package 7) install-package 8) easy-install 9) interactive-install Alexander Churanov ___ freebsd-ports@freebsd.org

Re: My interactive version of pkg_add - finished!

2008-10-01 Thread Marin Atanasov
Alexander Churanov wrote: Marin, Let me suggest some names: 1) pkg_search 2) pkg_find 3) pkg_install 4) package-finder 5) package-installer 6) find-package 7) install-package 8) easy-install 9) interactive-install Alexander Churanov Thank you for your support, folks! By tomorrow

Re: My interactive version of pkg_add - finished!

2008-10-01 Thread Garrett Cooper
On Wed, Oct 1, 2008 at 3:18 PM, Marin Atanasov [EMAIL PROTECTED] wrote: Alexander Churanov wrote: Marin, Let me suggest some names: 1) pkg_search 2) pkg_find 3) pkg_install 4) package-finder 5) package-installer 6) find-package 7) install-package 8) easy-install 9)

Re: My interactive version of pkg_add - finished!

2008-10-01 Thread Garrett Cooper
On Wed, Oct 1, 2008 at 8:47 PM, Garrett Cooper [EMAIL PROTECTED] wrote: On Wed, Oct 1, 2008 at 3:18 PM, Marin Atanasov [EMAIL PROTECTED] wrote: Alexander Churanov wrote: Marin, Let me suggest some names: 1) pkg_search 2) pkg_find 3) pkg_install 4) package-finder 5)