1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/hornetq/pkg-install
Martin Wilke ed9c37dec7 HornetQ is an open source project to build a multi-protocol, embeddable,
very high performance, clustered, asynchronous messaging system, designed
with usability in mind.

HornetQ is an example of Message Oriented Middleware (MoM)

WWW:	http://www.jboss.org/hornetq

PR:		ports/167952
Submitted by:	Radim Kolar
2012-05-25 15:24:26 +00:00

19 lines
613 B
Bash

#!/bin/sh
#
# Copy sample hornetq config files to real ones if real ones does not exists
#
if [ "$2" = "POST-INSTALL" ]; then
if [ ! -d $PKG_PREFIX/share/hornetq/config/stand-alone ]; then exit 1; fi
umask 027
cd $PKG_PREFIX/share/hornetq/config/stand-alone
for cfgdir in clustered non-clustered; do
for cfgfile in hornetq-beans.xml hornetq-users.xml \
hornetq-configuration.xml jndi.properties \
hornetq-jms.xml logging.properties; do
if [ ! -f $cfgdir/$cfgfile ]; then
cp -p $cfgdir/$cfgfile.sample $cfgdir/$cfgfile
fi
done
done
fi