diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-01-29 00:42:40 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-01-29 00:42:40 +0800 |
commit | 16a83e0b2fd2115dff77709c77eb1a0a93eb8577 (patch) | |
tree | 8ff67fc0a86cdd2b78ccc85decbbd5d5480c008b /net-mgmt/xymon-client | |
parent | f9ffe06920da63f42ffe4d1b61029b0d68f3beb2 (diff) | |
download | freebsd-ports-gnome-16a83e0b2fd2115dff77709c77eb1a0a93eb8577.tar.gz freebsd-ports-gnome-16a83e0b2fd2115dff77709c77eb1a0a93eb8577.tar.zst freebsd-ports-gnome-16a83e0b2fd2115dff77709c77eb1a0a93eb8577.zip |
- create default config when build by port
package not changed, it does create default config
Diffstat (limited to 'net-mgmt/xymon-client')
-rw-r--r-- | net-mgmt/xymon-client/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net-mgmt/xymon-client/Makefile b/net-mgmt/xymon-client/Makefile index 8432be3d2205..104b772864d2 100644 --- a/net-mgmt/xymon-client/Makefile +++ b/net-mgmt/xymon-client/Makefile @@ -25,6 +25,7 @@ MAKE_ENV+= BBUSER="${BBUSER}" MAKE_ENV+= BBHOSTIP="${BBHOSTIP}" USE_RC_SUBR= hobbit-client.sh PLIST_SUB+= BBUSER="${BBUSER}" +CONFIG_FILES= clientlaunch.cfg hobbitclient.cfg localclient.cfg # Configure script is interactive do-configure: @@ -35,4 +36,10 @@ pre-install: if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \ -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi +post-install: +.for i in ${CONFIG_FILES} + ${CP} -np ${WWWDIR}/client/etc/${i}-dist \ + ${WWWDIR}/client/etc/${i} +.endfor + .include <bsd.port.mk> |