dd6229bd08
- Introduces support for streaming Ogg Vorbis files. - Minor clean-ups. Submitted by maintainer Nikolay Sturm <nikolay.sturm@desy.de>.
56 lines
1.2 KiB
Plaintext
56 lines
1.2 KiB
Plaintext
#!/bin/sh
|
|
#
|
|
# $OpenBSD: INSTALL,v 1.2 2002/02/07 12:21:39 naddy Exp $
|
|
#
|
|
# apache_mp3 installation
|
|
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
CONF=`/usr/sbin/apxs -q SYSCONFDIR`/httpd.conf
|
|
HTDOCS=`/usr/sbin/apxs -q PREFIX`/htdocs
|
|
|
|
do_notice()
|
|
{
|
|
echo
|
|
echo "+---------------"
|
|
echo "| To finish the installation of $1, you need to copy the"
|
|
echo "| directory ${PREFIX}/share/examples/apache_mp3 to your webserver's"
|
|
echo "| DocumentRoot, e.g."
|
|
echo "|"
|
|
echo "| cp -R ${PREFIX}/share/examples/apache_mp3 ${HTDOCS}/"
|
|
echo "|"
|
|
echo "| or alternatively create a symlink, e.g."
|
|
echo "|"
|
|
echo "| ln -s ${PREFIX}/share/examples/apache_mp3 ${HTDOCS}/"
|
|
echo "|"
|
|
echo "| Further documentation on setting up your ${CONF} is"
|
|
echo "| available in the Apache::MP3 man page."
|
|
echo "+---------------"
|
|
echo
|
|
}
|
|
|
|
# verify proper execution
|
|
#
|
|
if [ $# -ne 2 ]; then
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Verify/process the command
|
|
#
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
: nothing to pre-install for this port
|
|
;;
|
|
POST-INSTALL)
|
|
do_notice $1
|
|
;;
|
|
*)
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|