Commit Graph

3 Commits

Author SHA1 Message Date
Peter Pentchev
2d54a0b8b1 Create the database directory during install and remove it, if empty,
on uninstall.
penv.conf.default/penv.conf handling a'la Apache.
Bump PORTREVISION.

Submitted by:	olgeni
2001-09-12 08:11:34 +00:00
Peter Pentchev
10f3eb1bc9 Update to 1.0, which adds the ability to only list the environment
changes without executing anything.  Also, the config file path,
the paths to envdir and printenv and the database dir path are now
dynamically adjusted in both the manual page and the sample config file.
2001-09-03 09:51:56 +00:00
Peter Pentchev
de8a30b7f5 Add penv-1.0pre2.
penv - 'program environment' or 'ports environment' - is a simple
utility that executes a given command after setting some environment
variables corresponding to the current directory.  This makes it
much easier to keep persistent environment settings for building
the same ports over and over again.

For example, the following series of commands:

$ echo cp1251 > /var/db/penv/databases/mysql323-server/WITH_CHARSET
$ echo all > /var/db/penv/databases/mysql323-server/WITH_XCHARSET

..allows a simple way to build the MySQL-3.23 server with the same
character set configuration every time by doing:

[root@ringworld:/usr/ports/databases/mysql323-server]# penv make

For more information, see the penv.1 manual page and the sample
configuration file in the penv distribution.
2001-08-27 17:17:17 +00:00