diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-03-30 01:50:03 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-03-30 01:50:03 +0000 |
commit | 0cd1aecd058bac23c5f391a4d77a256d1e6a05d1 (patch) | |
tree | 921144d2431fc7013c9b2087c680e9e6b19388a7 /www/horde2 | |
parent | 4f07b5427486713d744842d1c0955e1cf04687d8 (diff) | |
download | ports-0cd1aecd058bac23c5f391a4d77a256d1e6a05d1.tar.gz ports-0cd1aecd058bac23c5f391a4d77a256d1e6a05d1.zip |
Notes
Diffstat (limited to 'www/horde2')
-rw-r--r-- | www/horde2/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/www/horde2/Makefile b/www/horde2/Makefile index bce0c91bb26e..f43a85c3be4d 100644 --- a/www/horde2/Makefile +++ b/www/horde2/Makefile @@ -59,10 +59,16 @@ HORDEDIR= ${PREFIX}/${LHORDEDIR} HORDESBIN= ${PREFIX}/${LHORDESBIN} CONFDIR= ${HORDEDIR}/config -APACHE_CNFDIR?= ${LOCALBASE}/etc/apache APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf PHP_LIB?= ${LOCALBASE}/lib/php -PHPSO?= ${LOCALBASE}/libexec/apache/libphp4.so +.if defined(WITH_APACHE2) +APACHE_CNFDIR= ${LOCALBASE}/etc/apache2 +MOD_DIR= libexec/apache2 +.else +APACHE_CNFDIR= ${LOCALBASE}/etc/apache +MOD_DIR= libexec/apache +.endif +PHPSO= ${LOCALBASE}/${MOD_DIR}/libphp4.so HORDE_INC= ${PREFIX}/etc/horde LOG_FILE?= /var/log/horde.log @@ -153,10 +159,8 @@ do-install: ${ECHO_CMD} "# Horde's include directory" >> ${APACHE_CONF} ; \ ${ECHO_CMD} "Include ${HORDE_INC}" >> ${APACHE_CONF} ; \ fi) - @${CHOWN} -R www:www ${HORDEDIR} + @${CHOWN} -R edwin ${HORDEDIR} @${CHMOD} -R o-rwx ${CONFDIR} - @${TOUCH} ${LOG_FILE} - @${CHOWN} www:www ${LOG_FILE} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ${DOCS} |