1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/www/ismail/files/install.sh
Edwin Groothuis 0918a4e294 New Port: mail/ismail PHP-based webmail client
Inside Systems Mail is a web mail client that makes heavy
	use of JS, CSS, and DOM to create a snappy, easily configurable
	and familiar mail interface.

PR:		ports/68205
Submitted by:	Kelley Reynolds <kelley@insidesystems.net>
2004-12-21 23:34:57 +00:00

18 lines
548 B
Bash

#!/bin/sh
#
# install.sh v0.1
#
# Install script which reads files from the plist and copies them to the appropriate
# location and makes directories for them if necessary
%%MKDIR%% %%INSTALLDIR%%
# Install the required files
for file in `cat pkg-plist | grep -v @ | grep ISMAILDIR | sed 's,%%[A-Z]*%%,,g'`; do
dir=`echo "${file}" | sed 's,/[^/]*$,/,g'`
if [ -d %%WRKSRC%%/ISMail/${dir} ]; then
%%MKDIR%% %%INSTALLDIR%%/${dir}
fi
%%INSTALL_DATA%% %%WRKSRC%%/ISMail/${file} %%INSTALLDIR%%/${file}
done