Date: Sun, 2 Oct 2005 11:26:24 -0500 (EST) From: Wesley Shields <wxs@csh.rit.edu> To: FreeBSD-gnats-submit@FreeBSD.org Cc: esn@x123.info Subject: ports/86834: [PATCH]: Add DRUPDIR to www/drupal Message-ID: <200510021626.j92GQOUD053606@syn.csh.rit.edu> Resent-Message-ID: <200510021530.j92FUJY5020683@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86834 >Category: ports >Synopsis: [PATCH]: Add DRUPDIR to www/drupal >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 02 15:30:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Wesley Shields >Release: FreeBSD 5.4-RELEASE-p7 i386 >Organization: >Environment: System: FreeBSD syn 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #3: Wed Sep 7 12:05:17 EST 2005 root@syn:/usr/obj/usr/src/sys/GENERIC i386 >Description: Add a DRUPDIR knob to www/drupal. This is just like GALLERYDIR in www/gallery. I have CC'ed the maintainer on this. >How-To-Repeat: N/A >Fix: diff -ruN www/drupal.orig/Makefile www/drupal/Makefile --- www/drupal.orig/Makefile Fri Sep 16 09:03:50 2005 +++ www/drupal/Makefile Fri Sep 16 09:02:37 2005 @@ -20,8 +20,18 @@ RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB .endif +pre-fetch: +.if !defined(DRUPDIR) + @${ECHO_MSG} "" + @${ECHO_MSG} "Define DRUPDIR to override default of 'www/data/drupal'." + @${ECHO_MSG} "" +.endif + +DRUPDIR?= www/data/drupal +WWWOWN?= www +WWWGRP?= www + NO_BUILD= yes -DRUPDIR= www/data/drupal DOCS= CHANGELOG.txt INSTALL.txt LICENSE.txt MAINTAINERS.txt PLIST_SUB+= DRUPDIR=${DRUPDIR} @@ -64,7 +74,7 @@ @${ECHO_MSG} " GRANT ALL PRIVILEGES ON drupal.* TO nobody@localhost IDENTIFIED BY 'password';" @${ECHO_MSG} " mysql -u nobody -p drupal < ${PREFIX}/${DRUPDIR}/database/database.mysql" @${ECHO_MSG} "" - @${ECHO_MSG} " Then edit the ${PREFIX}/${DRUPDIR}/includes/conf.php to your needs." + @${ECHO_MSG} " Then edit the ${PREFIX}/${DRUPDIR}/sites/default/settings.php to your needs." @${ECHO_MSG} " Once you have done that" @${ECHO_MSG} " GoTo: http://<your_website>/drupal" @${ECHO_MSG} "" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510021626.j92GQOUD053606>