pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/drupal6 Drupal 6.x branch:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0349735a7776
branches:  trunk
changeset: 540679:0349735a7776
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sun Apr 06 10:15:27 2008 +0000

description:
Drupal 6.x branch:

Drupal is software that allows an individual or a community of users to easily
publish, manage and organize a great variety of content on a website. Tens of
thousands of people and organizations have used Drupal to set up scores of
different kinds of web sites, including

* community web portals and discussion sites
* corporate web sites/intranet portals
* personal web sites
* aficionado sites
* e-commerce applications
* resource directories

Drupal includes features to enable:

* content management systems
* blogs
* collaborative authoring environments
* forums
* newsletters
* picture galleries
* file uploads and download

diffstat:

 www/drupal6/DESCR             |   21 +
 www/drupal6/MESSAGE           |   16 +
 www/drupal6/Makefile          |  107 ++++++++
 www/drupal6/PLIST             |  522 ++++++++++++++++++++++++++++++++++++++++++
 www/drupal6/distinfo          |    5 +
 www/drupal6/files/drupal.conf |  117 +++++++++
 www/drupal6/options.mk        |   37 ++
 7 files changed, 825 insertions(+), 0 deletions(-)

diffs (truncated from 853 to 300 lines):

diff -r cc3a6b9cb989 -r 0349735a7776 www/drupal6/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drupal6/DESCR Sun Apr 06 10:15:27 2008 +0000
@@ -0,0 +1,21 @@
+Drupal is software that allows an individual or a community of users to easily
+publish, manage and organize a great variety of content on a website. Tens of
+thousands of people and organizations have used Drupal to set up scores of
+different kinds of web sites, including
+
+* community web portals and discussion sites
+* corporate web sites/intranet portals
+* personal web sites
+* aficionado sites
+* e-commerce applications
+* resource directories
+
+Drupal includes features to enable:
+
+* content management systems
+* blogs
+* collaborative authoring environments
+* forums
+* newsletters
+* picture galleries
+* file uploads and download
diff -r cc3a6b9cb989 -r 0349735a7776 www/drupal6/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drupal6/MESSAGE       Sun Apr 06 10:15:27 2008 +0000
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2008/04/06 10:15:27 adrianp Exp $
+
+To complete the setup you will need to read the INSTALL.txt in order
+to setup MySQL/PostgreSQL properly.
+
+You will need to make Drupal accessible through your HTTP server. If you
+are running Apache then you may add the following lines to httpd.conf:
+
+       Include ${PKG_SYSCONFDIR}/drupal.conf
+
+to make Drupal accessible through:
+
+       http://localhost/drupal/
+
+===========================================================================
diff -r cc3a6b9cb989 -r 0349735a7776 www/drupal6/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drupal6/Makefile      Sun Apr 06 10:15:27 2008 +0000
@@ -0,0 +1,107 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/06 10:15:27 adrianp Exp $
+
+DISTNAME=      drupal-6.1
+CATEGORIES=    www
+MASTER_SITES=  http://drupal.org/files/projects/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://drupal.org/
+COMMENT=       Open source content management system
+
+CONFLICTS+=    drupal-5.*{,nb*}
+
+DEPENDS+=      ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.3.5:../../www/ap-php
+DEPENDS+=      ${PHP_PKG_PREFIX}-gd>=4.3.5:../../graphics/php-gd
+
+NO_BUILD=      YES
+DRUPAL=                ${PREFIX}/share/drupal
+PAX_DIRS=      includes misc modules scripts themes
+DOCS=          CHANGELOG.txt COPYRIGHT.txt INSTALL.mysql.txt \
+               INSTALL.pgsql.txt INSTALL.txt LICENSE.txt \
+               MAINTAINERS.txt UPGRADE.txt
+
+PKG_GROUPS_VARS+=      APACHE_GROUP
+PKG_USERS_VARS+=       APACHE_USER
+
+BUILD_DEFS+=           APACHE_USER APACHE_GROUP
+USE_TOOLS+=            perl:run
+REPLACE_PERL=          scripts/code-style.pl
+
+OWN_DIRS_PERMS+=       ${DRUPAL}/sites/default \
+                       ${APACHE_USER} ${APACHE_GROUP} 0750
+OWN_DIRS_PERMS+=       ${DRUPAL}/files \
+                       ${APACHE_USER} ${APACHE_GROUP} 0750
+
+CONF_FILES=    ${PREFIX}/share/examples/drupal/drupal.conf \
+               ${PKG_SYSCONFDIR}/drupal.conf
+CONF_FILES+=   ${PREFIX}/share/examples/drupal/default.profile \
+               ${DRUPAL}/profiles/default/default.profile
+
+CONF_FILES_PERMS+=     ${PREFIX}/share/examples/drupal/default.settings.php \
+                       ${DRUPAL}/sites/default/default.settings.php \
+                       ${APACHE_USER} ${APACHE_GROUP} 0640
+
+SUBST_CLASSES+=                conf
+SUBST_STAGE.conf=      pre-install
+SUBST_FILES.conf=      drupal.conf scripts/drupal.sh
+SUBST_SED.conf=                -e "s|@DRUPAL@|${DRUPAL}|g"
+SUBST_SED.conf+=       -e "s|/usr/bin/php|${PREFIX}/bin/php|g"
+SUBST_MESSAGE.conf=    Fixing configuration files.
+
+.include "../../mk/apachever.mk"
+.include "../../lang/php/phpversion.mk"
+
+.if ${PKG_PHP_VERSION} == "4"
+DEPENDS+=      php>=4.3.5:../../www/php4
+.endif
+
+.if ${PKG_PHP_VERSION} == "5"
+DEPENDS+=      php>=5.2.0:../../lang/php5
+.endif
+
+.include "options.mk"
+
+OWN_DIRS=      share/drupal/sites/default
+OWN_DIRS+=     share/drupal/profiles
+OWN_DIRS+=     share/drupal/profiles/default
+
+post-extract:
+       ${CP} ${FILESDIR}/drupal.conf ${WRKSRC}
+
+do-install:
+       ${INSTALL_DATA_DIR} ${DRUPAL}
+       ${INSTALL_DATA_DIR} ${DRUPAL}/files
+#      ${INSTALL_DATA_DIR} ${DRUPAL}/profiles
+#      ${INSTALL_DATA_DIR} ${DRUPAL}/profiles/default
+       ${INSTALL_DATA_DIR} ${DRUPAL}/sites
+       ${INSTALL_DATA_DIR} ${DRUPAL}/sites/all
+#      ${INSTALL_DATA_DIR} ${DRUPAL}/sites/default
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/drupal
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/drupal
+
+       ${INSTALL_DATA} ${WRKSRC}/robots.txt ${DRUPAL}
+       ${INSTALL_DATA} ${WRKSRC}/sites/all/README.txt ${DRUPAL}/sites/all
+       ${INSTALL_DATA} ${WRKSRC}/drupal.conf \
+               ${PREFIX}/share/examples/drupal/drupal.conf
+       ${INSTALL_DATA} ${WRKSRC}/sites/default/default.settings.php \
+               ${PREFIX}/share/examples/drupal/default.settings.php
+       ${INSTALL_DATA} ${WRKSRC}/profiles/default/default.profile \
+               ${PREFIX}/share/examples/drupal/default.profile
+       ${INSTALL_DATA} ${WRKSRC}/*.php ${DRUPAL}
+
+.      for i in ${PAX_DIRS}
+               cd ${WRKSRC}/${i} && ${PAX} -rw . ${DRUPAL}/${i}
+.      endfor
+
+.      for i in ${DOCS}
+               ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/drupal
+.      endfor
+
+       ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${DRUPAL}/files
+       ${CHMOD} 0770 ${DRUPAL}/files
+
+post-install:
+       ${FIND} ${DRUPAL} -name \*.jpg | ${XARGS} ${CHMOD} 0644
+       ${FIND} ${DRUPAL} -name \*.png | ${XARGS} ${CHMOD} 0644
+
+.include "../../mk/bsd.pkg.mk"
diff -r cc3a6b9cb989 -r 0349735a7776 www/drupal6/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drupal6/PLIST Sun Apr 06 10:15:27 2008 +0000
@@ -0,0 +1,522 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/06 10:15:27 adrianp Exp $
+share/doc/drupal/CHANGELOG.txt
+share/doc/drupal/COPYRIGHT.txt
+share/doc/drupal/INSTALL.mysql.txt
+share/doc/drupal/INSTALL.pgsql.txt
+share/doc/drupal/INSTALL.txt
+share/doc/drupal/LICENSE.txt
+share/doc/drupal/MAINTAINERS.txt
+share/doc/drupal/UPGRADE.txt
+share/drupal/cron.php
+share/drupal/includes/actions.inc
+share/drupal/includes/batch.inc
+share/drupal/includes/bootstrap.inc
+share/drupal/includes/cache-install.inc
+share/drupal/includes/cache.inc
+share/drupal/includes/common.inc
+share/drupal/includes/database.inc
+share/drupal/includes/database.mysql-common.inc
+share/drupal/includes/database.mysql.inc
+share/drupal/includes/database.mysqli.inc
+share/drupal/includes/database.pgsql.inc
+share/drupal/includes/file.inc
+share/drupal/includes/form.inc
+share/drupal/includes/image.gd.inc
+share/drupal/includes/image.inc
+share/drupal/includes/install.inc
+share/drupal/includes/install.mysql.inc
+share/drupal/includes/install.mysqli.inc
+share/drupal/includes/install.pgsql.inc
+share/drupal/includes/language.inc
+share/drupal/includes/locale.inc
+share/drupal/includes/mail.inc
+share/drupal/includes/menu.inc
+share/drupal/includes/module.inc
+share/drupal/includes/pager.inc
+share/drupal/includes/path.inc
+share/drupal/includes/session.inc
+share/drupal/includes/tablesort.inc
+share/drupal/includes/theme.inc
+share/drupal/includes/theme.maintenance.inc
+share/drupal/includes/unicode.inc
+share/drupal/includes/xmlrpc.inc
+share/drupal/includes/xmlrpcs.inc
+share/drupal/index.php
+share/drupal/install.php
+share/drupal/misc/ahah.js
+share/drupal/misc/arrow-asc.png
+share/drupal/misc/arrow-desc.png
+share/drupal/misc/autocomplete.js
+share/drupal/misc/batch.js
+share/drupal/misc/blog.png
+share/drupal/misc/collapse.js
+share/drupal/misc/draggable.png
+share/drupal/misc/drupal.js
+share/drupal/misc/druplicon.png
+share/drupal/misc/farbtastic/farbtastic.css
+share/drupal/misc/farbtastic/farbtastic.js
+share/drupal/misc/farbtastic/marker.png
+share/drupal/misc/farbtastic/mask.png
+share/drupal/misc/farbtastic/wheel.png
+share/drupal/misc/favicon.ico
+share/drupal/misc/feed.png
+share/drupal/misc/form.js
+share/drupal/misc/forum-closed.png
+share/drupal/misc/forum-default.png
+share/drupal/misc/forum-hot-new.png
+share/drupal/misc/forum-hot.png
+share/drupal/misc/forum-new.png
+share/drupal/misc/forum-sticky.png
+share/drupal/misc/grippie.png
+share/drupal/misc/jquery.form.js
+share/drupal/misc/jquery.js
+share/drupal/misc/menu-collapsed-rtl.png
+share/drupal/misc/menu-collapsed.png
+share/drupal/misc/menu-expanded.png
+share/drupal/misc/menu-leaf.png
+share/drupal/misc/powered-black-135x42.png
+share/drupal/misc/powered-black-80x15.png
+share/drupal/misc/powered-black-88x31.png
+share/drupal/misc/powered-blue-135x42.png
+share/drupal/misc/powered-blue-80x15.png
+share/drupal/misc/powered-blue-88x31.png
+share/drupal/misc/powered-gray-135x42.png
+share/drupal/misc/powered-gray-80x15.png
+share/drupal/misc/powered-gray-88x31.png
+share/drupal/misc/print-rtl.css
+share/drupal/misc/print.css
+share/drupal/misc/progress.gif
+share/drupal/misc/progress.js
+share/drupal/misc/tabledrag.js
+share/drupal/misc/tableheader.js
+share/drupal/misc/tableselect.js
+share/drupal/misc/teaser.js
+share/drupal/misc/textarea.js
+share/drupal/misc/throbber.gif
+share/drupal/misc/tree-bottom.png
+share/drupal/misc/tree.png
+share/drupal/misc/watchdog-error.png
+share/drupal/misc/watchdog-ok.png
+share/drupal/misc/watchdog-warning.png
+share/drupal/misc/xml.png
+share/drupal/modules/README.txt
+share/drupal/modules/aggregator/aggregator-feed-source.tpl.php
+share/drupal/modules/aggregator/aggregator-item.tpl.php
+share/drupal/modules/aggregator/aggregator-rtl.css
+share/drupal/modules/aggregator/aggregator-summary-item.tpl.php
+share/drupal/modules/aggregator/aggregator-summary-items.tpl.php
+share/drupal/modules/aggregator/aggregator-wrapper.tpl.php
+share/drupal/modules/aggregator/aggregator.admin.inc
+share/drupal/modules/aggregator/aggregator.css
+share/drupal/modules/aggregator/aggregator.info
+share/drupal/modules/aggregator/aggregator.install
+share/drupal/modules/aggregator/aggregator.module
+share/drupal/modules/aggregator/aggregator.pages.inc
+share/drupal/modules/block/block-admin-display-form.tpl.php
+share/drupal/modules/block/block.admin.inc
+share/drupal/modules/block/block.css
+share/drupal/modules/block/block.info
+share/drupal/modules/block/block.install
+share/drupal/modules/block/block.js
+share/drupal/modules/block/block.module
+share/drupal/modules/blog/blog.info
+share/drupal/modules/blog/blog.module
+share/drupal/modules/blog/blog.pages.inc
+share/drupal/modules/blogapi/blogapi.info
+share/drupal/modules/blogapi/blogapi.install
+share/drupal/modules/blogapi/blogapi.module
+share/drupal/modules/book/book-all-books-block.tpl.php
+share/drupal/modules/book/book-export-html.tpl.php
+share/drupal/modules/book/book-navigation.tpl.php
+share/drupal/modules/book/book-node-export-html.tpl.php
+share/drupal/modules/book/book-rtl.css
+share/drupal/modules/book/book.admin.inc
+share/drupal/modules/book/book.css
+share/drupal/modules/book/book.info
+share/drupal/modules/book/book.install
+share/drupal/modules/book/book.module
+share/drupal/modules/book/book.pages.inc
+share/drupal/modules/color/color-rtl.css
+share/drupal/modules/color/color.css



Home | Main Index | Thread Index | Old Index