ports/110413: new port: drupal5
Nick Hilliard
nick at foobar.org
Sat Mar 17 01:10:10 UTC 2007
>Number: 110413
>Category: ports
>Synopsis: new port: drupal5
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 17 01:10:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Nick Hilliard
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
Network Ability Ltd
>Environment:
System: FreeBSD xx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Wed May 17 11:38:53 IST 2006 nick at xxx:/data/src/usr.src/src-6.1/src/sys/i386/compile/xxx i386
>Description:
New port of drupal5. Note that this port needs ports/110412 to be
committed first, as there are some modifications to the bsd.drupal.mk file
which are used in this drupal5.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# drupal5
# drupal5/files
# drupal5/files/pkg-message.in
# drupal5/files/patch-modules-taxonomy-taxonomy.module
# drupal5/pkg-plist
# drupal5/pkg-descr
# drupal5/Makefile
# drupal5/distinfo
#
echo c - drupal5
mkdir -p drupal5 > /dev/null 2>&1
echo c - drupal5/files
mkdir -p drupal5/files > /dev/null 2>&1
echo x - drupal5/files/pkg-message.in
sed 's/^X//' >drupal5/files/pkg-message.in << 'END-of-drupal5/files/pkg-message.in'
XYou now need to create the DB where Drupal is going to live
X
X PostgreSQL::
X createdb -U pgsql -W drupal
X createuser -U pgsql -P -e drupal
X createlang -U pgsql -W plpgsql drupal
X
X MySQL::
X mysqladmin -u dba_user -p create drupal
X mysql -u dba_user -p
X GRANT ALL PRIVILEGES ON drupal.* TO drupal at localhost IDENTIFIED BY 'passwd';
X
XYou also need to add appropriate configuration directives to your apache
Xconfiguration file (%%PREFIX%%/etc/apache(2)/httpd.conf).
X
XA typical configuration might read:
X
X Alias /drupal "%%DRUPAL_DIR%%"
X <Directory "%%DRUPAL_DIR%%">
X Options Indexes FollowSymlinks MultiViews
X AllowOverride None
X Order allow,deny
X Allow from all
X </Directory>
X
XPlease see http://drupal.org/cron for important information on setting up
Xperiodic maintenance tasks in Drupal.
X
XFor important information about upgrading from Drupal version 4, please see:
X%%DRUPAL_DIR%%/doc/UPGRADE.txt
END-of-drupal5/files/pkg-message.in
echo x - drupal5/files/patch-modules-taxonomy-taxonomy.module
sed 's/^X//' >drupal5/files/patch-modules-taxonomy-taxonomy.module << 'END-of-drupal5/files/patch-modules-taxonomy-taxonomy.module'
X--- modules/taxonomy/taxonomy.module~ Sat Mar 17 00:26:28 2007
X+++ modules/taxonomy/taxonomy.module Sat Mar 17 00:26:28 2007
X@@ -619,7 +619,7 @@
X foreach ($vocabularies as $vid => $vocabulary) {
X if ($vocabulary->tags && !$free_tags) { continue; }
X $tree = taxonomy_get_tree($vid);
X- if ($tree && (count($tree) > 1)) {
X+ if ($tree && (count($tree) >= 1)) {
X $options[$vocabulary->name] = array();
X foreach ($tree as $term) {
X $options[$vocabulary->name][$term->tid] = str_repeat('-', $term->depth) . $term->name;
END-of-drupal5/files/patch-modules-taxonomy-taxonomy.module
echo x - drupal5/pkg-plist
sed 's/^X//' >drupal5/pkg-plist << 'END-of-drupal5/pkg-plist'
X%%PORTDOCS%%%%DOCSDIR%%/MAINTAINERS.txt
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL.mysql.txt
X%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.txt
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL.pgsql.txt
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
X%%DRUPAL_BASE%%/.htaccess
X%%DRUPAL_BASE%%/cron.php
X%%DRUPAL_BASE%%/includes/bootstrap.inc
X%%DRUPAL_BASE%%/includes/cache.inc
X%%DRUPAL_BASE%%/includes/common.inc
X%%DRUPAL_BASE%%/includes/database.inc
X%%DRUPAL_BASE%%/includes/database.mysql.inc
X%%DRUPAL_BASE%%/includes/database.mysqli.inc
X%%DRUPAL_BASE%%/includes/database.pgsql.inc
X%%DRUPAL_BASE%%/includes/file.inc
X%%DRUPAL_BASE%%/includes/form.inc
X%%DRUPAL_BASE%%/includes/image.inc
X%%DRUPAL_BASE%%/includes/install.inc
X%%DRUPAL_BASE%%/includes/install.mysql.inc
X%%DRUPAL_BASE%%/includes/install.mysqli.inc
X%%DRUPAL_BASE%%/includes/install.pgsql.inc
X%%DRUPAL_BASE%%/includes/locale.inc
X%%DRUPAL_BASE%%/includes/menu.inc
X%%DRUPAL_BASE%%/includes/module.inc
X%%DRUPAL_BASE%%/includes/pager.inc
X%%DRUPAL_BASE%%/includes/path.inc
X%%DRUPAL_BASE%%/includes/session.inc
X%%DRUPAL_BASE%%/includes/tablesort.inc
X%%DRUPAL_BASE%%/includes/theme.inc
X%%DRUPAL_BASE%%/includes/unicode.inc
X%%DRUPAL_BASE%%/includes/xmlrpc.inc
X%%DRUPAL_BASE%%/includes/xmlrpcs.inc
X%%DRUPAL_BASE%%/index.php
X%%DRUPAL_BASE%%/install.php
X%%DRUPAL_BASE%%/misc/arrow-asc.png
X%%DRUPAL_BASE%%/misc/arrow-desc.png
X%%DRUPAL_BASE%%/misc/autocomplete.js
X%%DRUPAL_BASE%%/misc/blog.png
X%%DRUPAL_BASE%%/misc/collapse.js
X%%DRUPAL_BASE%%/misc/drupal.js
X%%DRUPAL_BASE%%/misc/druplicon.png
X%%DRUPAL_BASE%%/misc/farbtastic/farbtastic.css
X%%DRUPAL_BASE%%/misc/farbtastic/farbtastic.js
X%%DRUPAL_BASE%%/misc/farbtastic/marker.png
X%%DRUPAL_BASE%%/misc/farbtastic/mask.png
X%%DRUPAL_BASE%%/misc/farbtastic/wheel.png
X%%DRUPAL_BASE%%/misc/favicon.ico
X%%DRUPAL_BASE%%/misc/feed.png
X%%DRUPAL_BASE%%/misc/forum-closed.png
X%%DRUPAL_BASE%%/misc/forum-default.png
X%%DRUPAL_BASE%%/misc/forum-hot-new.png
X%%DRUPAL_BASE%%/misc/forum-hot.png
X%%DRUPAL_BASE%%/misc/forum-new.png
X%%DRUPAL_BASE%%/misc/forum-sticky.png
X%%DRUPAL_BASE%%/misc/grippie.png
X%%DRUPAL_BASE%%/misc/jquery.js
X%%DRUPAL_BASE%%/misc/maintenance.css
X%%DRUPAL_BASE%%/misc/menu-collapsed.png
X%%DRUPAL_BASE%%/misc/menu-expanded.png
X%%DRUPAL_BASE%%/misc/menu-leaf.png
X%%DRUPAL_BASE%%/misc/powered-black-135x42.png
X%%DRUPAL_BASE%%/misc/powered-black-80x15.png
X%%DRUPAL_BASE%%/misc/powered-black-88x31.png
X%%DRUPAL_BASE%%/misc/powered-blue-135x42.png
X%%DRUPAL_BASE%%/misc/powered-blue-80x15.png
X%%DRUPAL_BASE%%/misc/powered-blue-88x31.png
X%%DRUPAL_BASE%%/misc/powered-gray-135x42.png
X%%DRUPAL_BASE%%/misc/powered-gray-80x15.png
X%%DRUPAL_BASE%%/misc/powered-gray-88x31.png
X%%DRUPAL_BASE%%/misc/print.css
X%%DRUPAL_BASE%%/misc/progress.gif
X%%DRUPAL_BASE%%/misc/progress.js
X%%DRUPAL_BASE%%/misc/tableselect.js
X%%DRUPAL_BASE%%/misc/textarea.js
X%%DRUPAL_BASE%%/misc/throbber.gif
X%%DRUPAL_BASE%%/misc/update.js
X%%DRUPAL_BASE%%/misc/upload.js
X%%DRUPAL_BASE%%/misc/watchdog-error.png
X%%DRUPAL_BASE%%/misc/watchdog-ok.png
X%%DRUPAL_BASE%%/misc/watchdog-warning.png
X%%DRUPAL_BASE%%/misc/xml.png
X%%DRUPAL_BASE%%/modules/aggregator/aggregator.css
X%%DRUPAL_BASE%%/modules/aggregator/aggregator.info
X%%DRUPAL_BASE%%/modules/aggregator/aggregator.install
X%%DRUPAL_BASE%%/modules/aggregator/aggregator.module
X%%DRUPAL_BASE%%/modules/block/block.css
X%%DRUPAL_BASE%%/modules/block/block.info
X%%DRUPAL_BASE%%/modules/block/block.module
X%%DRUPAL_BASE%%/modules/blog/blog.info
X%%DRUPAL_BASE%%/modules/blog/blog.module
X%%DRUPAL_BASE%%/modules/blogapi/blogapi.info
X%%DRUPAL_BASE%%/modules/blogapi/blogapi.module
X%%DRUPAL_BASE%%/modules/book/book.css
X%%DRUPAL_BASE%%/modules/book/book.info
X%%DRUPAL_BASE%%/modules/book/book.install
X%%DRUPAL_BASE%%/modules/book/book.module
X%%DRUPAL_BASE%%/modules/color/color.css
X%%DRUPAL_BASE%%/modules/color/color.info
X%%DRUPAL_BASE%%/modules/color/color.install
X%%DRUPAL_BASE%%/modules/color/color.js
X%%DRUPAL_BASE%%/modules/color/color.module
X%%DRUPAL_BASE%%/modules/color/images/hook.png
X%%DRUPAL_BASE%%/modules/color/images/lock.png
X%%DRUPAL_BASE%%/modules/comment/comment.css
X%%DRUPAL_BASE%%/modules/comment/comment.info
X%%DRUPAL_BASE%%/modules/comment/comment.install
X%%DRUPAL_BASE%%/modules/comment/comment.module
X%%DRUPAL_BASE%%/modules/contact/contact.info
X%%DRUPAL_BASE%%/modules/contact/contact.install
X%%DRUPAL_BASE%%/modules/contact/contact.module
X%%DRUPAL_BASE%%/modules/drupal/drupal.info
X%%DRUPAL_BASE%%/modules/drupal/drupal.install
X%%DRUPAL_BASE%%/modules/drupal/drupal.module
X%%DRUPAL_BASE%%/modules/filter/filter.info
X%%DRUPAL_BASE%%/modules/filter/filter.module
X%%DRUPAL_BASE%%/modules/forum/forum.css
X%%DRUPAL_BASE%%/modules/forum/forum.info
X%%DRUPAL_BASE%%/modules/forum/forum.install
X%%DRUPAL_BASE%%/modules/forum/forum.module
X%%DRUPAL_BASE%%/modules/help/help.css
X%%DRUPAL_BASE%%/modules/help/help.info
X%%DRUPAL_BASE%%/modules/help/help.module
X%%DRUPAL_BASE%%/modules/legacy/legacy.info
X%%DRUPAL_BASE%%/modules/legacy/legacy.module
X%%DRUPAL_BASE%%/modules/locale/locale.css
X%%DRUPAL_BASE%%/modules/locale/locale.info
X%%DRUPAL_BASE%%/modules/locale/locale.install
X%%DRUPAL_BASE%%/modules/locale/locale.module
X%%DRUPAL_BASE%%/modules/menu/menu.info
X%%DRUPAL_BASE%%/modules/menu/menu.module
X%%DRUPAL_BASE%%/modules/node/content_types.inc
X%%DRUPAL_BASE%%/modules/node/node.css
X%%DRUPAL_BASE%%/modules/node/node.info
X%%DRUPAL_BASE%%/modules/node/node.module
X%%DRUPAL_BASE%%/modules/path/path.info
X%%DRUPAL_BASE%%/modules/path/path.module
X%%DRUPAL_BASE%%/modules/ping/ping.info
X%%DRUPAL_BASE%%/modules/ping/ping.module
X%%DRUPAL_BASE%%/modules/poll/poll.css
X%%DRUPAL_BASE%%/modules/poll/poll.info
X%%DRUPAL_BASE%%/modules/poll/poll.install
X%%DRUPAL_BASE%%/modules/poll/poll.module
X%%DRUPAL_BASE%%/modules/profile/profile.info
X%%DRUPAL_BASE%%/modules/profile/profile.install
X%%DRUPAL_BASE%%/modules/profile/profile.module
X%%DRUPAL_BASE%%/modules/search/search.css
X%%DRUPAL_BASE%%/modules/search/search.info
X%%DRUPAL_BASE%%/modules/search/search.install
X%%DRUPAL_BASE%%/modules/search/search.module
X%%DRUPAL_BASE%%/modules/statistics/statistics.info
X%%DRUPAL_BASE%%/modules/statistics/statistics.install
X%%DRUPAL_BASE%%/modules/statistics/statistics.module
X%%DRUPAL_BASE%%/modules/system/admin.css
X%%DRUPAL_BASE%%/modules/system/defaults.css
X%%DRUPAL_BASE%%/modules/system/system.css
X%%DRUPAL_BASE%%/modules/system/system.info
X%%DRUPAL_BASE%%/modules/system/system.install
X%%DRUPAL_BASE%%/modules/system/system.module
X%%DRUPAL_BASE%%/modules/taxonomy/taxonomy.info
X%%DRUPAL_BASE%%/modules/taxonomy/taxonomy.module
X%%DRUPAL_BASE%%/modules/throttle/throttle.info
X%%DRUPAL_BASE%%/modules/throttle/throttle.module
X%%DRUPAL_BASE%%/modules/tracker/tracker.css
X%%DRUPAL_BASE%%/modules/tracker/tracker.info
X%%DRUPAL_BASE%%/modules/tracker/tracker.module
X%%DRUPAL_BASE%%/modules/upload/upload.info
X%%DRUPAL_BASE%%/modules/upload/upload.module
X%%DRUPAL_BASE%%/modules/user/user.css
X%%DRUPAL_BASE%%/modules/user/user.info
X%%DRUPAL_BASE%%/modules/user/user.module
X%%DRUPAL_BASE%%/modules/watchdog/watchdog.css
X%%DRUPAL_BASE%%/modules/watchdog/watchdog.info
X%%DRUPAL_BASE%%/modules/watchdog/watchdog.module
X%%DRUPAL_BASE%%/profiles/default/default.profile
X%%DRUPAL_BASE%%/robots.txt
X%%DRUPAL_BASE%%/scripts/code-clean.sh
X%%DRUPAL_BASE%%/scripts/code-style.pl
X%%DRUPAL_BASE%%/scripts/cron-curl.sh
X%%DRUPAL_BASE%%/scripts/cron-lynx.sh
X%%DRUPAL_BASE%%/sites/all/README.txt
X%%DRUPAL_BASE%%/sites/default/settings.php
X%%DRUPAL_BASE%%/sites/default/settings.php-dist
X%%DRUPAL_BASE%%/themes/bluemarine/block.tpl.php
X%%DRUPAL_BASE%%/themes/bluemarine/box.tpl.php
X%%DRUPAL_BASE%%/themes/bluemarine/comment.tpl.php
X%%DRUPAL_BASE%%/themes/bluemarine/logo.png
X%%DRUPAL_BASE%%/themes/bluemarine/node.tpl.php
X%%DRUPAL_BASE%%/themes/bluemarine/page.tpl.php
X%%DRUPAL_BASE%%/themes/bluemarine/screenshot.png
X%%DRUPAL_BASE%%/themes/bluemarine/style.css
X%%DRUPAL_BASE%%/themes/chameleon/background.png
X%%DRUPAL_BASE%%/themes/chameleon/chameleon.theme
X%%DRUPAL_BASE%%/themes/chameleon/common.css
X%%DRUPAL_BASE%%/themes/chameleon/logo.png
X%%DRUPAL_BASE%%/themes/chameleon/marvin/bullet.png
X%%DRUPAL_BASE%%/themes/chameleon/marvin/druplicon-watermark.png
X%%DRUPAL_BASE%%/themes/chameleon/marvin/logo.png
X%%DRUPAL_BASE%%/themes/chameleon/marvin/screenshot.png
X%%DRUPAL_BASE%%/themes/chameleon/marvin/style.css
X%%DRUPAL_BASE%%/themes/chameleon/screenshot.png
X%%DRUPAL_BASE%%/themes/chameleon/style.css
X%%DRUPAL_BASE%%/themes/engines/phptemplate/block.tpl.php
X%%DRUPAL_BASE%%/themes/engines/phptemplate/box.tpl.php
X%%DRUPAL_BASE%%/themes/engines/phptemplate/comment.tpl.php
X%%DRUPAL_BASE%%/themes/engines/phptemplate/default.tpl.php
X%%DRUPAL_BASE%%/themes/engines/phptemplate/node.tpl.php
X%%DRUPAL_BASE%%/themes/engines/phptemplate/phptemplate.engine
X%%DRUPAL_BASE%%/themes/garland/block.tpl.php
X%%DRUPAL_BASE%%/themes/garland/color/base.png
X%%DRUPAL_BASE%%/themes/garland/color/color.inc
X%%DRUPAL_BASE%%/themes/garland/color/preview.css
X%%DRUPAL_BASE%%/themes/garland/color/preview.png
X%%DRUPAL_BASE%%/themes/garland/comment.tpl.php
X%%DRUPAL_BASE%%/themes/garland/fix-ie.css
X%%DRUPAL_BASE%%/themes/garland/images/bg-bar-white.png
X%%DRUPAL_BASE%%/themes/garland/images/bg-bar.png
X%%DRUPAL_BASE%%/themes/garland/images/bg-content-left.png
X%%DRUPAL_BASE%%/themes/garland/images/bg-content-right.png
X%%DRUPAL_BASE%%/themes/garland/images/bg-content.png
X%%DRUPAL_BASE%%/themes/garland/images/bg-navigation-item-hover.png
X%%DRUPAL_BASE%%/themes/garland/images/bg-navigation-item.png
X%%DRUPAL_BASE%%/themes/garland/images/bg-navigation.png
X%%DRUPAL_BASE%%/themes/garland/images/bg-tab.png
X%%DRUPAL_BASE%%/themes/garland/images/body.png
X%%DRUPAL_BASE%%/themes/garland/images/gradient-inner.png
X%%DRUPAL_BASE%%/themes/garland/images/menu-collapsed.gif
X%%DRUPAL_BASE%%/themes/garland/images/menu-expanded.gif
X%%DRUPAL_BASE%%/themes/garland/images/menu-leaf.gif
X%%DRUPAL_BASE%%/themes/garland/logo.png
X%%DRUPAL_BASE%%/themes/garland/minnelli/color/base.png
X%%DRUPAL_BASE%%/themes/garland/minnelli/color/color.inc
X%%DRUPAL_BASE%%/themes/garland/minnelli/color/preview.png
X%%DRUPAL_BASE%%/themes/garland/minnelli/logo.png
X%%DRUPAL_BASE%%/themes/garland/minnelli/screenshot.png
X%%DRUPAL_BASE%%/themes/garland/minnelli/style.css
X%%DRUPAL_BASE%%/themes/garland/node.tpl.php
X%%DRUPAL_BASE%%/themes/garland/page.tpl.php
X%%DRUPAL_BASE%%/themes/garland/print.css
X%%DRUPAL_BASE%%/themes/garland/screenshot.png
X%%DRUPAL_BASE%%/themes/garland/style.css
X%%DRUPAL_BASE%%/themes/garland/template.php
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-next-hover.png
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-next-visited.png
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-next.png
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-prev-hover.png
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-prev-visited.png
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-prev.png
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-up-hover.png
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-up-visited.png
X%%DRUPAL_BASE%%/themes/pushbutton/arrow-up.png
X%%DRUPAL_BASE%%/themes/pushbutton/background.png
X%%DRUPAL_BASE%%/themes/pushbutton/block.tpl.php
X%%DRUPAL_BASE%%/themes/pushbutton/box.tpl.php
X%%DRUPAL_BASE%%/themes/pushbutton/comment.tpl.php
X%%DRUPAL_BASE%%/themes/pushbutton/forum-container.jpg
X%%DRUPAL_BASE%%/themes/pushbutton/forum-link.png
X%%DRUPAL_BASE%%/themes/pushbutton/header-a.jpg
X%%DRUPAL_BASE%%/themes/pushbutton/header-b.jpg
X%%DRUPAL_BASE%%/themes/pushbutton/header-c.png
X%%DRUPAL_BASE%%/themes/pushbutton/icon-block.png
X%%DRUPAL_BASE%%/themes/pushbutton/icon-comment.png
X%%DRUPAL_BASE%%/themes/pushbutton/logo-active.jpg
X%%DRUPAL_BASE%%/themes/pushbutton/logo-background.jpg
X%%DRUPAL_BASE%%/themes/pushbutton/logo-hover.jpg
X%%DRUPAL_BASE%%/themes/pushbutton/logo.png
X%%DRUPAL_BASE%%/themes/pushbutton/node.tpl.php
X%%DRUPAL_BASE%%/themes/pushbutton/page.tpl.php
X%%DRUPAL_BASE%%/themes/pushbutton/screenshot.png
X%%DRUPAL_BASE%%/themes/pushbutton/style.css
X%%DRUPAL_BASE%%/themes/pushbutton/tabs-off.png
X%%DRUPAL_BASE%%/themes/pushbutton/tabs-on.png
X%%DRUPAL_BASE%%/themes/pushbutton/tabs-option-hover.png
X%%DRUPAL_BASE%%/themes/pushbutton/tabs-option-off.png
X%%DRUPAL_BASE%%/themes/pushbutton/tabs-option-on.png
X%%DRUPAL_BASE%%/update.php
X%%DRUPAL_BASE%%/xmlrpc.php
X at unexec rm -f %%DRUPAL_BASE%%/files/.htaccess 2> /dev/null || true
X at dirrm %%DRUPAL_BASE%%/includes
X at dirrm %%DRUPAL_BASE%%/misc/farbtastic
X at dirrm %%DRUPAL_BASE%%/misc
X at dirrm %%DRUPAL_BASE%%/modules/menu
X at dirrm %%DRUPAL_BASE%%/modules/block
X at dirrm %%DRUPAL_BASE%%/modules/blog
X at dirrm %%DRUPAL_BASE%%/modules/blogapi
X at dirrm %%DRUPAL_BASE%%/modules/book
X at dirrm %%DRUPAL_BASE%%/modules/color/images
X at dirrm %%DRUPAL_BASE%%/modules/color
X at dirrm %%DRUPAL_BASE%%/modules/comment
X at dirrm %%DRUPAL_BASE%%/modules/contact
X at dirrm %%DRUPAL_BASE%%/modules/drupal
X at dirrm %%DRUPAL_BASE%%/modules/filter
X at dirrm %%DRUPAL_BASE%%/modules/forum
X at dirrm %%DRUPAL_BASE%%/modules/help
X at dirrm %%DRUPAL_BASE%%/modules/legacy
X at dirrm %%DRUPAL_BASE%%/modules/locale
X at dirrm %%DRUPAL_BASE%%/modules/aggregator
X at dirrm %%DRUPAL_BASE%%/modules/node
X at dirrm %%DRUPAL_BASE%%/modules/path
X at dirrm %%DRUPAL_BASE%%/modules/ping
X at dirrm %%DRUPAL_BASE%%/modules/poll
X at dirrm %%DRUPAL_BASE%%/modules/profile
X at dirrm %%DRUPAL_BASE%%/modules/search
X at dirrm %%DRUPAL_BASE%%/modules/statistics
X at dirrm %%DRUPAL_BASE%%/modules/system
X at dirrm %%DRUPAL_BASE%%/modules/taxonomy
X at dirrm %%DRUPAL_BASE%%/modules/throttle
X at dirrm %%DRUPAL_BASE%%/modules/tracker
X at dirrm %%DRUPAL_BASE%%/modules/upload
X at dirrm %%DRUPAL_BASE%%/modules/user
X at dirrm %%DRUPAL_BASE%%/modules/watchdog
X at dirrm %%DRUPAL_BASE%%/modules
X at dirrm %%DRUPAL_BASE%%/profiles/default
X at dirrm %%DRUPAL_BASE%%/profiles
X at dirrm %%DRUPAL_BASE%%/scripts
X at dirrm %%DRUPAL_BASE%%/themes/bluemarine
X at dirrm %%DRUPAL_BASE%%/themes/chameleon/marvin
X at dirrm %%DRUPAL_BASE%%/themes/chameleon
X at dirrm %%DRUPAL_BASE%%/themes/engines/phptemplate
X at dirrm %%DRUPAL_BASE%%/themes/engines
X at dirrm %%DRUPAL_BASE%%/themes/garland/images
X at dirrm %%DRUPAL_BASE%%/themes/garland/color
X at dirrm %%DRUPAL_BASE%%/themes/garland/minnelli/color
X at dirrm %%DRUPAL_BASE%%/themes/garland/minnelli
X at dirrm %%DRUPAL_BASE%%/themes/garland
X at dirrm %%DRUPAL_BASE%%/themes/pushbutton
X at dirrm %%DRUPAL_BASE%%/themes
X at dirrmtry %%DRUPAL_BASE%%/files
X at dirrmtry %%DRUPAL_BASE%%/sites/all
X at dirrmtry %%DRUPAL_BASE%%/sites/default
X at dirrmtry %%DRUPAL_BASE%%/sites
X at dirrmtry %%DRUPAL_BASE%%/modules
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at dirrmtry %%DRUPAL_BASE%%
X at unexec (test -d %D/%%DRUPAL_BASE%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%DRUPAL_BASE%% and its contents manually.")) || true
END-of-drupal5/pkg-plist
echo x - drupal5/pkg-descr
sed 's/^X//' >drupal5/pkg-descr << 'END-of-drupal5/pkg-descr'
XDrupal is a free software package that allows an individual or a community
Xof users to easily publish, manage and organize a wide variety of content on
Xa website.
X
XDrupal is ready to go from the moment you download it. It even has an
Xeasy-to-use web installer! The built-in functionality, combined with dozens
Xof freely available add-on modules, will enable features such as: Content
XManagement Systems, Blogs, Collaborative authoring environments, Forums,
XPeer-to-peer networking, Newsletters, Podcasting, Picture galleries, File
Xuploads/downloads and much more.
X
XWWW: http://drupal.org
END-of-drupal5/pkg-descr
echo x - drupal5/Makefile
sed 's/^X//' >drupal5/Makefile << 'END-of-drupal5/Makefile'
X# New ports collection makefile for: drupal5
X# Date Created: 12 Feb 2007
X# Whom: Nick Hilliard <nick at foobar.org>
X#
X# $FreeBSD: $
X#
X
XPORTNAME= drupal5
XPORTVERSION= 5.1
XCATEGORIES= www
XMASTER_SITES= http://ftp.osuosl.org/pub/drupal/files/projects/
XDISTNAME= drupal-${PORTVERSION}
XDIST_SUBDIR= drupal
X
XMAINTAINER= nick at foobar.org
XCOMMENT= A database driven web content management system (CMS)
X
XDRUPAL5_PORT= yes
X
XUSE_PHP= gd pcre session xml mbstring
XWANT_PHP_WEB= yes
X
XOPTIONS+= MYSQL "MySQL database support" on \
X PGSQL "PostgreSQL database support" off
X
XNO_BUILD= yes
XDOCS= CHANGELOG.txt INSTALL.txt LICENSE.txt MAINTAINERS.txt \
X UPGRADE.txt INSTALL.mysql.txt INSTALL.pgsql.txt
XSUB_FILES+= pkg-message
XPKGMESSAGE= ${WRKDIR}/pkg-message
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_MYSQL)
XUSE_PHP+= mysql
X.endif
X.if defined(WITH_PGSQL)
XRUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
XUSE_PHP+= pgsql
X.endif
X
Xpost-patch:
X ${RM} ${WRKSRC}/modules/taxonomy/taxonomy.module.orig
X
Xdo-install:
X ${MKDIR} ${DRUPAL_DIR}
X ${CP} ${WRKSRC}/.htaccess ${DRUPAL_DIR}
X ${CP} ${WRKSRC}/cron.php ${DRUPAL_DIR}
X ${MKDIR} ${DRUPAL_DIR}/files
X ${CP} -R ${WRKSRC}/includes ${DRUPAL_DIR}
X ${CP} ${WRKSRC}/index.php ${DRUPAL_DIR}
X ${CP} ${WRKSRC}/install.php ${DRUPAL_DIR}
X ${CP} -R ${WRKSRC}/misc ${DRUPAL_DIR}
X ${CP} -R ${WRKSRC}/modules ${DRUPAL_DIR}
X ${CP} -R ${WRKSRC}/profiles ${DRUPAL_DIR}
X ${CP} ${WRKSRC}/robots.txt ${DRUPAL_DIR}
X ${CP} -R ${WRKSRC}/scripts ${DRUPAL_DIR}
X ${MKDIR} ${DRUPAL_DIR}/sites/all
X ${CP} ${WRKSRC}/sites/all/README.txt ${DRUPAL_DIR}/sites/all/
X ${MKDIR} ${DRUPAL_DIR}/sites/default
X ${CP} ${WRKSRC}/sites/default/settings.php ${DRUPAL_DIR}/sites/default/settings.php-dist
X @if [ ! -f ${DRUPAL_DIR}/sites/default/settings.php ]; then \
X ${CP} -p ${DRUPAL_DIR}/sites/default/settings.php-dist ${DRUPAL_DIR}/sites/default/settings.php ; \
X fi
X ${CP} -R ${WRKSRC}/themes ${DRUPAL_DIR}
X ${CP} ${WRKSRC}/update.php ${DRUPAL_DIR}
X ${CP} ${WRKSRC}/xmlrpc.php ${DRUPAL_DIR}
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${CP} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DRUPAL_DIR}
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include "${.CURDIR}/../drupal/bsd.drupal.mk"
X.include <bsd.port.post.mk>
END-of-drupal5/Makefile
echo x - drupal5/distinfo
sed 's/^X//' >drupal5/distinfo << 'END-of-drupal5/distinfo'
XMD5 (drupal/drupal-5.1.tar.gz) = 1b68368c650da73af5051bae163a8ed1
XSHA256 (drupal/drupal-5.1.tar.gz) = 66138d3f7b4de5584212bf111ff86045b26a19ce99e2bd01e1563d0a614ce7e9
XSIZE (drupal/drupal-5.1.tar.gz) = 746494
END-of-drupal5/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list