1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/www/geeklog/Makefile
Mark Linimon 5280b12e5e Patch to work with apache2. Pacify portlint.
PR:		ports/60969
Submitted by:	vinc@freebsd-fr.org (maintainer)
2004-01-06 17:31:19 +00:00

48 lines
1.8 KiB
Makefile

# New ports collection makefile for: GeekLog
# Date Created: 22 April 2002
# Whom: Bob Bomar <bob@fly.homeunix.org>
#
# $FreeBSD$
#
PORTNAME= geeklog
PORTVERSION= 1.3.8.s.3
CATEGORIES= www
MASTER_SITES= http://www.geeklog.net/filemgmt/upload_dir/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.s./-1sr/}
MAINTAINER= vinc@freebsd-fr.org
COMMENT= GeekLog is a web content magagement system
USE_MYSQL= yes
NO_BUILD= yes
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.if defined(WITH_APACHE2)
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.endif
WWW_DIR= ${PREFIX}/www/data
do-install:
${MKDIR} ${WWW_DIR}/geeklog
${CP} -R ${WRKSRC}/* ${WWW_DIR}/geeklog
${CHOWN} -R www:www ${WWW_DIR}/geeklog
${CHMOD} -R 775 ${WWW_DIR}/geeklog/logs
${CHMOD} -R 775 ${WWW_DIR}/geeklog/public_html/images/articles
${CHMOD} -R 775 ${WWW_DIR}/geeklog/public_html/images/userphotos
${CHMOD} -R 775 ${WWW_DIR}/geeklog/public_html/backend
@${ECHO_MSG} ""
@${ECHO_MSG} "***********************************************************************"
@${ECHO_MSG} "* You now need to create the database that you want GeekLog *"
@${ECHO_MSG} "* to reside in. *"
@${ECHO_MSG} "* Then edit the config.php file to your needs. *"
@${ECHO_MSG} "* Once you have done that, the goto *"
@${ECHO_MSG} "* http://<your_website>/geeklog/public_html/admin/install/install.php *"
@${ECHO_MSG} "* And follow the instructions, then you are done!! *"
@${ECHO_MSG} "***********************************************************************"
.include <bsd.port.mk>