diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-12-29 06:13:32 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-12-29 06:13:32 +0000 |
commit | 0905610dccf2c73d47a93e738266ed90de57afd9 (patch) | |
tree | 277b18f7927762cbbf3dcc86245f149e03446f05 /www/drupal5 | |
parent | New port: japanese/wikicker (diff) |
[New Port]:: www/drupal 4.3.1 Update & Fix plist
Drupal is an open-source platform and content management
system for building dynamic web sites offering a broad range
of features and services.
Drupal can support a diverse range of web projects ranging
from personal weblogs to large community-driven sites.
WWW: http://drupal.org
PR: ports/60204
Submitted by: Sebastian Yepes F. [ESN] <esn@x123.info>
Notes
Notes:
svn path=/head/; revision=96844
Diffstat (limited to 'www/drupal5')
-rw-r--r-- | www/drupal5/Makefile | 66 | ||||
-rw-r--r-- | www/drupal5/distinfo | 1 | ||||
-rw-r--r-- | www/drupal5/pkg-descr | 7 | ||||
-rw-r--r-- | www/drupal5/pkg-plist | 117 |
4 files changed, 191 insertions, 0 deletions
diff --git a/www/drupal5/Makefile b/www/drupal5/Makefile new file mode 100644 index 000000000000..803637790ee8 --- /dev/null +++ b/www/drupal5/Makefile @@ -0,0 +1,66 @@ +# New ports collection makefile for: Drupal +# Date Created: 10 Nov 2003 +# Whom: Sebastian Yepes F. <esn@x123.info> +# +# $FreeBSD$ +# + +PORTNAME= drupal +PORTVERSION= 4.3.1 +CATEGORIES= www +MASTER_SITES= http://drupal.org/drupal/${PORTVERSION}/drupal/ +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= esn@x123.info +COMMENT= CMS that supports pgsql and mysql + +RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB + +NO_BUILD= yes +DRUPDIR= www/data/drupal +DOCS= CHANGELOG INSTALL LICENSE MAINTAINERS + +do-install: + + ${MKDIR} ${PREFIX}/${DRUPDIR} + ${CP} ${WRKSRC}/.htaccess ${PREFIX}/${DRUPDIR} + ${CP} ${WRKSRC}/cron.php ${PREFIX}/${DRUPDIR} + ${CP} -R ${WRKSRC}/database ${PREFIX}/${DRUPDIR} + ${CP} ${WRKSRC}/error.php ${PREFIX}/${DRUPDIR} + ${CP} ${WRKSRC}/favicon.ico ${PREFIX}/${DRUPDIR} + ${CP} -R ${WRKSRC}/includes ${PREFIX}/${DRUPDIR} + ${CP} ${WRKSRC}/index.php ${PREFIX}/${DRUPDIR} + ${CP} -R ${WRKSRC}/misc ${PREFIX}/${DRUPDIR} + ${CP} -R ${WRKSRC}/modules ${PREFIX}/${DRUPDIR} + ${CP} -R ${WRKSRC}/scripts ${PREFIX}/${DRUPDIR} + ${CP} -R ${WRKSRC}/themes ${PREFIX}/${DRUPDIR} + ${CP} ${WRKSRC}/update.php ${PREFIX}/${DRUPDIR} + ${CP} ${WRKSRC}/xmlrpc.php ${PREFIX}/${DRUPDIR} + ${MKDIR} ${PREFIX}/${DRUPDIR}/doc +.for FILE in ${DOCS} + ${CP} ${WRKSRC}/${FILE} ${PREFIX}/${DRUPDIR}/doc +.endfor + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DRUPDIR} + + @${ECHO_MSG} "" + @${ECHO_MSG} " You now need to create the database" + @${ECHO_MSG} " where Drupal is going to live" + @${ECHO_MSG} "" + @${ECHO_MSG} " PostgreSQL::" + @${ECHO_MSG} " createdb -U pgsql -W drupal" + @${ECHO_MSG} " createuser -U pgsql -e drupal" + @${ECHO_MSG} " createlang -U pgsql -W plpgsql drupal" + @${ECHO_MSG} " psql -U drupal drupal < ${PREFIX}/${DRUPDIR}/database/database.pgsql" + @${ECHO_MSG} "" + @${ECHO_MSG} " MySQL::" + @${ECHO_MSG} " mysqladmin -u dba_user -p create drupal" + @${ECHO_MSG} " mysql -u dba_user -p" + @${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} " Once you have done that" + @${ECHO_MSG} " GoTo: http://<your_website>/drupal" + @${ECHO_MSG} "" + +.include <bsd.port.mk> diff --git a/www/drupal5/distinfo b/www/drupal5/distinfo new file mode 100644 index 000000000000..5f0600f4361f --- /dev/null +++ b/www/drupal5/distinfo @@ -0,0 +1 @@ +MD5 (drupal-4.3.1.tar.gz) = ca0b5d294009114eb85c923dbee29174 diff --git a/www/drupal5/pkg-descr b/www/drupal5/pkg-descr new file mode 100644 index 000000000000..81032dda8381 --- /dev/null +++ b/www/drupal5/pkg-descr @@ -0,0 +1,7 @@ +Drupal is an open-source platform and content management system +for building dynamic web sites offering a broad range of features +and services. +Drupal can support a diverse range of web projects ranging from +personal weblogs to large community-driven sites. + +WWW: http://drupal.org diff --git a/www/drupal5/pkg-plist b/www/drupal5/pkg-plist new file mode 100644 index 000000000000..ef23a64d090a --- /dev/null +++ b/www/drupal5/pkg-plist @@ -0,0 +1,117 @@ +www/data/drupal/.htaccess +www/data/drupal/cron.php +www/data/drupal/database/database.mssql +www/data/drupal/database/database.mysql +www/data/drupal/database/database.pgsql +www/data/drupal/doc/CHANGELOG +www/data/drupal/doc/INSTALL +www/data/drupal/doc/LICENSE +www/data/drupal/doc/MAINTAINERS +www/data/drupal/error.php +www/data/drupal/favicon.ico +www/data/drupal/includes/common.inc +www/data/drupal/includes/conf.php +www/data/drupal/includes/database.inc +www/data/drupal/includes/database.mysql.inc +www/data/drupal/includes/database.pear.inc +www/data/drupal/includes/menu.inc +www/data/drupal/includes/module.inc +www/data/drupal/includes/pager.inc +www/data/drupal/includes/tablesort.inc +www/data/drupal/includes/theme.inc +www/data/drupal/includes/xmlrpc.inc +www/data/drupal/includes/xmlrpcs.inc +www/data/drupal/index.php +www/data/drupal/misc/arrow-asc.gif +www/data/drupal/misc/arrow-desc.gif +www/data/drupal/misc/blog.gif +www/data/drupal/misc/drupal.css +www/data/drupal/misc/druplicon-small.gif +www/data/drupal/misc/druplicon.eps.gz +www/data/drupal/misc/druplicon.png +www/data/drupal/misc/druplicon.psp +www/data/drupal/misc/druplicon.txt +www/data/drupal/misc/forum-default.gif +www/data/drupal/misc/forum-hot-new.gif +www/data/drupal/misc/forum-hot.gif +www/data/drupal/misc/forum-new.gif +www/data/drupal/misc/linux-font-test.html +www/data/drupal/misc/menu-collapsed.gif +www/data/drupal/misc/menu-expanded.gif +www/data/drupal/misc/menu-leaf.gif +www/data/drupal/misc/powered-by-drupal-dark.png +www/data/drupal/misc/powered-by-drupal-light.png +www/data/drupal/misc/powered-by-drupal.png +www/data/drupal/misc/print.css +www/data/drupal/misc/xml.gif +www/data/drupal/modules/admin.module +www/data/drupal/modules/archive.module +www/data/drupal/modules/block.module +www/data/drupal/modules/blog.module +www/data/drupal/modules/bloggerapi.module +www/data/drupal/modules/book.module +www/data/drupal/modules/cloud.module +www/data/drupal/modules/comment.module +www/data/drupal/modules/drupal.module +www/data/drupal/modules/forum.module +www/data/drupal/modules/help.module +www/data/drupal/modules/import.module +www/data/drupal/modules/jabber.module +www/data/drupal/modules/locale.module +www/data/drupal/modules/node.module +www/data/drupal/modules/page.module +www/data/drupal/modules/path.module +www/data/drupal/modules/ping.module +www/data/drupal/modules/poll.module +www/data/drupal/modules/profile.module +www/data/drupal/modules/queue.module +www/data/drupal/modules/search.module +www/data/drupal/modules/statistics.module +www/data/drupal/modules/story.module +www/data/drupal/modules/system.module +www/data/drupal/modules/taxonomy.module +www/data/drupal/modules/throttle.module +www/data/drupal/modules/title.module +www/data/drupal/modules/tracker.module +www/data/drupal/modules/user.module +www/data/drupal/modules/watchdog.module +www/data/drupal/scripts/code-clean.sh +www/data/drupal/scripts/code-size.sh +www/data/drupal/scripts/code-style.pl +www/data/drupal/scripts/cron-lynx.sh +www/data/drupal/scripts/cvs-build.sh +www/data/drupal/scripts/cvs-pass.pl +www/data/drupal/scripts/mail-to-sql.php +www/data/drupal/themes/example/example.theme +www/data/drupal/themes/marvin/images/drop.gif +www/data/drupal/themes/marvin/images/logo.png +www/data/drupal/themes/marvin/images/pixel.gif +www/data/drupal/themes/marvin/marvin.css +www/data/drupal/themes/marvin/marvin.theme +www/data/drupal/themes/unconed/images/icon.gif +www/data/drupal/themes/unconed/images/logo.png +www/data/drupal/themes/unconed/images/null.gif +www/data/drupal/themes/unconed/unconed.css +www/data/drupal/themes/unconed/unconed.theme +www/data/drupal/themes/xtemplate/images/druplicon.gif +www/data/drupal/themes/xtemplate/xtemplate.css +www/data/drupal/themes/xtemplate/xtemplate.inc +www/data/drupal/themes/xtemplate/xtemplate.theme +www/data/drupal/themes/xtemplate/xtemplate.xtmpl +www/data/drupal/update.php +www/data/drupal/xmlrpc.php +@dirrm www/data/drupal/themes/xtemplate/images +@dirrm www/data/drupal/themes/xtemplate +@dirrm www/data/drupal/themes/unconed/images +@dirrm www/data/drupal/themes/unconed +@dirrm www/data/drupal/themes/marvin/images +@dirrm www/data/drupal/themes/marvin +@dirrm www/data/drupal/themes/example +@dirrm www/data/drupal/themes +@dirrm www/data/drupal/scripts +@dirrm www/data/drupal/modules +@dirrm www/data/drupal/misc +@dirrm www/data/drupal/includes +@dirrm www/data/drupal/doc +@dirrm www/data/drupal/database +@dirrm www/data/drupal |