Date: Fri, 15 Jan 1999 18:34:02 -0600 From: "Scot W. Hetzel" <hetzels@westbend.net> To: <freebsd-ports@FreeBSD.ORG> Cc: <freebsd-isp@FreeBSD.ORG> Subject: Re: PATCH for Apache: Add FreeBSD Server Layout Message-ID: <009001be40e7$eaeee3a0$0dcb2e9c@westbend.net> References: <Pine.HPP.3.96.990114120001.7068B-100000@hp9000.chc-chimes.com> <Pine.BSF.4.02.9901150429220.23666-100000@leaf.lumiere.net> <19990115160923.A12095@net.ohio-state.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
This attached FreeBSD Layout patch uses the directory assignments as given
from the Apache* ports.
Now as to the individual that wants to install their port into a directory
other than ${PREFIX}, if you use:
./configure --with-layout=FreeBSD --prefix=/some/other/location
Your Apache port will be installed into "/some/other/location" instead of
"/usr/local". This can even be done when compiling the Apache* port by
setting ${PREFIX}. The values in the config.layout files are just default
values and can be overridden with the configure directives
(i.e. --prefix, --sysconfdir, --localstatedir).
Scot H.
[-- Attachment #2 --]
*** config.layout.orig Mon Jan 4 23:14:49 1999
--- config.layout Fri Jan 15 17:53:12 1999
***************
*** 60,62 ****
--- 60,83 ----
logfiledir: logs
proxycachedir: proxy
</Layout>
+
+ # FreeBSD Layout
+ <Layout FreeBSD>
+ prefix: /usr/local
+ exec_prefix: $prefix
+ bindir: $exec_prefix/bin
+ sbindir: $exec_prefix/sbin
+ libexecdir: $exec_prefix/libexec/apache
+ mandir: $exec_prefix/man
+ sysconfdir: $prefix/etc/apache
+ datadir: $prefix/www
+ docrootdir: $datadir/data
+ doc_dir: $prefix/share/doc/apache
+ iconsdir: $datadir/icons
+ cgidir: $datadir/cgi-bin
+ includedir: $prefix/include/apache
+ localstatedir: /var
+ runtimedir: $localstatedir/run
+ logfiledir: $localstatedir/log
+ proxycachedir: $datadir/proxy
+ </Layout>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009001be40e7$eaeee3a0$0dcb2e9c>
