tweak MESSAGE and UNMESSAGE to use ${SYSCONFDIR} and ${PREFIX} rather than

hard coded paths. better wording while here.

pointed out by steven@
This commit is contained in:
dlg 2007-01-10 14:22:00 +00:00
parent 860cc95c0d
commit 501a1ed60d
3 changed files with 9 additions and 10 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/10 13:51:50 dlg Exp $
# $OpenBSD: Makefile,v 1.2 2007/01/10 14:22:00 dlg Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "module that embeds a Perl interpreter into Apache2"
DISTNAME= mod_perl-2.0.3
DISTNAME= mod_perl-2.0.3p0
PKGNAME= ap2-${DISTNAME}
CATEGORIES= www net

View File

@ -1,8 +1,8 @@
Before you can use mod_perl2, you need to enable it on your Apache2
configuration.
Before you can use ap2-mod_perl, you need to enable it on your
Apache2 configuration.
Edit /etc/apache2/httpd2.conf and add the following line:
Edit ${SYSCONFDIR}/apache2/httpd2.conf and add the following line:
LoadModule perl_module /usr/local/lib/apache2/mod_perl.so
LoadModule perl_module ${PREFIX}/lib/apache2/mod_perl.so
Restart your httpd2 for changes to make effect.

View File

@ -1,8 +1,7 @@
To completely deinstall this package you need to perform these steps as
root:
To completely uninstall this package you need to remove the following
line from ${SYSCONFDIR}/apache2/httpd2.conf
edit /etc/apache2/httpd2.conf
remove the line LoadModule perl_module
LoadModule perl_module ${PREFIX}/lib/apache2/mod_perl.so
Do not do this if you plan on re-installing this package at some future
time.