www portfiles - inconsistent settings

Jeremy Lavergne jeremy at lavergne.gotdns.org
Wed May 30 08:44:53 PDT 2012


> some we've got the following inconsistensies:
> 1) docroot / docpath
>   which one do we use ???

> set docroot ${destroot}${prefix}/www/${name}
> set docpath ${destroot}${prefix}/www/${name}

They're the same; the variable name is simply a different name.

> 2) defining doc-root/-path in-/out-side destroot
>   should they be defined inside or outside ???
>   I'm tending to outside because of what happens in phpmyadmin

Everything used for installing files should be inside the ${destroot}. If it's a variable for setting the contents of the file then it likely should NOT reference ${destroot}.

> 3) we've got:
>       /www/${name}
>       /www/${name}/html
>       /www/data/${name}
>       /www/${name}/htdocs
>   these ought to brought in line.
>   My suggestion is : /www/${name}/html

Sounds good to me: all ports' files are contained in their own directories, making it easy to alias them into Apache (or nginx or what have you).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120530/93862f6f/attachment-0001.bin>


More information about the macports-dev mailing list