freebsd-ports/www/woadaptor/files/pkg-deinstall.in
Edwin Groothuis e6b6e3491e [NEW PORTS] www/webobjects(+) Apple WebObjects ports bundle
This is a bundle of several ports covering many typical requirements
for building an Apple WebObjects deployment environment. Each port
is or has a dependancy with some other port in the bundle, and have
therefore been lodged collectively.

	www/woadaptor

	WOAdaptor is a collection of WebObjects WebServer Adaptors.
	These include an Apache Module, CGI and FastCGI adaptors

	This is a subproject of Project Wonder and is an effort to
	pool enhancements and bug fixes for Apple's open source
	codebase.

	WWW: http://wonder.sourceforge.net/WOAdaptor.html

PR:		ports/117299
Submitted by:	Quinton Dolan <q@onthenet.com.au>
2008-06-13 06:29:46 +00:00

22 lines
398 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
PATH=/bin:/usr/bin:/usr/sbin
APACHE=%%APACHE%%
APACHECONFDIR=${PKG_PREFIX}/%%APACHECONFDIR%%
APACHEETCDIR=${PKG_PREFIX}/%%APACHEETCDIR%%
case $2 in
DEINSTALL)
if [ "x${APACHE}" = "x" ]; then
cd ${APACHECONFDIR} || exit 1
for f in webobjects.conf; do
cmp -s -z ${f} "${APACHEETCDIR}/${f}-dist" && rm ${f}
done
fi
;;
POST-DEINSTALL)
;;
esac
exit 0