diff options
author | demon <demon@FreeBSD.org> | 2004-01-01 21:19:32 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2004-01-01 21:19:32 +0000 |
commit | 1fe429a1faacb41b242d349ccfb4f5aa3c9eb712 (patch) | |
tree | 42184ea55e11785799c1b16f372392f447adc1cd /net-im/jabberd | |
parent | b39a70d46cb0a5a4decbe31fe9466a21cc9b8b7a (diff) | |
download | FreeBSD-ports-1fe429a1faacb41b242d349ccfb4f5aa3c9eb712.zip FreeBSD-ports-1fe429a1faacb41b242d349ccfb4f5aa3c9eb712.tar.gz |
Install scripts for DB creation for MySQL and PostgreSQL.
Diffstat (limited to 'net-im/jabberd')
-rw-r--r-- | net-im/jabberd/Makefile | 3 | ||||
-rw-r--r-- | net-im/jabberd/pkg-plist | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net-im/jabberd/Makefile b/net-im/jabberd/Makefile index 8d62392..4fc2f94 100644 --- a/net-im/jabberd/Makefile +++ b/net-im/jabberd/Makefile @@ -80,5 +80,8 @@ post-install: @${CHOWN} -R jabber:jabber ${PREFIX}/etc/jabberd @${FIND} ${PREFIX}/etc/jabberd -type d | ${XARGS} ${CHMOD} 750 @${FIND} ${PREFIX}/etc/jabberd -type f | ${XARGS} ${CHMOD} 660 + @${MKDIR} ${PREFIX}/share/jabberd + @${INSTALL_DATA} ${WRKSRC}/tools/db-setup.mysql ${PREFIX}/share/jabberd + @${INSTALL_DATA} ${WRKSRC}/tools/db-setup.pgsql ${PREFIX}/share/jabberd .include <bsd.port.mk> diff --git a/net-im/jabberd/pkg-plist b/net-im/jabberd/pkg-plist index c8d4cce..17c5e6b 100644 --- a/net-im/jabberd/pkg-plist +++ b/net-im/jabberd/pkg-plist @@ -22,5 +22,8 @@ etc/jabberd/sm.xml.dist etc/jabberd/templates/roster.xml.dist @unexec if cmp -s %D/etc/rc.d/jabberd.sh %D/etc/rc.d/jabberd.sh-dist; then rm -f %D/etc/rc.d/jabberd.sh; fi etc/rc.d/jabberd.sh-dist +share/jabberd/db-setup.mysql +share/jabberd/db-setup.pgsql +@dirrm share/jabberd @dirrm etc/jabberd/templates @dirrm etc/jabberd |