head	1.2;
access;
symbols
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2002.01.20.16.28.00;	author mbr;	state dead;
branches;
next	1.1;

1.1
date	2001.08.31.11.42.15;	author jedgar;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update this apache DSO module to work with Frontpage 5.0
@
text
@#!/bin/sh
#
#	$FreeBSD: ports/www/mod_frontpage/pkg-install,v 1.1 2001/08/31 11:42:15 jedgar Exp $
#
# Created by: hetzels@@westbend.net, Modified by mb@@imp.ch

PKG_BATCH=${BATCH:=NO}
PKG_PREFIX=${PKG_PREFIX}
HOST_NAME=`/bin/hostname`

AP_SHARE=${PKG_PREFIX}/share/doc/apache

FPINSTALL=${PKG_PREFIX}/frontpage/version4.0/fp_install.sh
CHANGESERVER=${PKG_PREFIX}/frontpage/version4.0/change_server.sh
FPDOCDIR=${AP_SHARE}/manual/mod/mod_frontpage

fix_frontpage_scripts ()
{
    /bin/cat ${FPINSTALL}-dist | \
	/usr/bin/sed	-e 's;PREFIX;'${PKG_PREFIX}';' \
			-e 's;MOD_FPDOCDIR;'${FPDOCDIR}';' \
	> ${FPINSTALL}
    /bin/cat ${CHANGESERVER}-dist | \
	/usr/bin/sed	-e 's;PREFIX;'${PKG_PREFIX}';' \
	> ${CHANGESERVER}
    /bin/chmod 555 ${CHANGESERVER} ${FPINSTALL}
    /usr/sbin/chown bin ${CHANGESERVER} ${FPINSTALL}
}

case $2 in
    POST-INSTALL)
	# If we are not in batch mode then run the FP install script.
        if [ "${PKG_BATCH}" = "NO" ]; then
	    fix_frontpage_scripts
	    ${FPINSTALL}
	fi
	;;

esac
@


1.1
log
@Add mod_frontpage, a modular version of FrontPage extentions.

PR:		29202
Submitted by:	Martin Blapp <mb@@imp.ch>
@
text
@d3 1
a3 1
#	$FreeBSD: $
@

