ab348058e8
has turned off show hosts. It's nice not to have to load 190+ images just so I can select a host from the dropdown. Do some general cleanup of the port infrastructure. - Install into a staging directory in the build target and install that. - Add a target to generate the plist from the staging directory rather than doing it by hand. - Use a pkg-install script to copy conf.php.sample to conf.php as needed instead of some bits in the make file and different ones in the plist. - Use SUB_FILES to handle pkg-message rather than hand-rolled sed.
10 lines
196 B
Bash
10 lines
196 B
Bash
#!/bin/sh
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
if [ ! -f %%PREFIX%%/%%WEBFRONTDIR%%/conf.php ]; then
|
|
cp %%PREFIX%%/%%WEBFRONTDIR%%/conf.php.sample \
|
|
%%PREFIX%%/%%WEBFRONTDIR%%/conf.php
|
|
fi
|
|
;;
|
|
esac
|