Solved Does there exist an overview of make options for ports (like 'install', 'clean', ...)?

Right now I am really wondering whether there exists a list of common ports make options like 'install' and 'clean' that are mentioned in the handbook.
After some looking around I found there are some others like 'fetch', 'config', 'config-recursive'.

My problem now is that 'install' seems to comprise steps I'd call 'download', 'patch' [for FreeBSD], 'build' and finally 'install' (like installing kernel after build).

Does there exist any overview of all those options?

What I need to do is the following:
'download' and 'patch' apache24 using make
Modify suexec.c (to run my cgi script as root) and probably edit make.conf or something (for enabling suexec)
'build' and 'install'

What is the proper, recommended way to do this?

And, is it okay to add 'mod_perl2 via pkg install, for the sake of laziness, or are serious problems to be expected if I don't install them via ports?

Edit: Just in case anybody wonders why to run the cgi as root, it's a system administration script for my personal use, just to avoid console
 
Great! Thank you very much, lm!

After reading the manpage, my problem specifically is that I am not sure so I'd like to ask:

After making the fetch, extract, patch, config-recursive and build targets using separate make <something> calls, when I finally call the install target make install, it checks for the existence of the build files made in the previous make build step, and installs exactly these?
 
After making the fetch, extract, patch, config-recursive and build targets using separate make <something> calls, when I finally call the install target make install, it checks for the existence of the build files made in the previous make build step, and installs exactly these?
Yes.
 
Back
Top