diff options
Diffstat (limited to 'www/drupal4')
-rw-r--r-- | www/drupal4/Makefile | 75 | ||||
-rw-r--r-- | www/drupal4/bsd.drupal.mk | 75 | ||||
-rw-r--r-- | www/drupal4/distinfo | 3 | ||||
-rw-r--r-- | www/drupal4/files/pkg-message.in | 27 | ||||
-rw-r--r-- | www/drupal4/pkg-descr | 7 | ||||
-rw-r--r-- | www/drupal4/pkg-plist | 154 |
6 files changed, 0 insertions, 341 deletions
diff --git a/www/drupal4/Makefile b/www/drupal4/Makefile deleted file mode 100644 index 31ebcad22f3d..000000000000 --- a/www/drupal4/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -# New ports collection makefile for: Drupal -# Date Created: 10 Nov 2003 -# Whom: Sebastian Yepes F. <esn@x123.info> -# -# $FreeBSD$ -# - -PORTNAME= drupal -PORTVERSION= 4.6.5 -PORTREVISION= 2006010503 -CATEGORIES= www -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= brooks -DIST_SUBDIR= drupal - -MAINTAINER= brooks@FreeBSD.org -COMMENT= CMS that supports pgsql and mysql - -DRUPAL_PORT= yes - -USE_PHP= gd pcre session xml -WANT_PHP_WEB= yes - -OPTIONS+= MYSQL "MySQL database support" on \ - PGSQL "PostgreSQL database support" off - -WWWOWN?= www -WWWGRP?= www - -NO_BUILD= yes -DOCS= CHANGELOG.txt INSTALL.txt LICENSE.txt MAINTAINERS.txt -SUB_FILES+= pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message - -.include <bsd.port.pre.mk> - -.if defined(WITH_MYSQL) -# XXX: should be "USE_PHP+=mysql", but the depends are added too early -# by bsd.php.mk -RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/mysql.so:${PORTSDIR}/${mysql_DEPENDS} -.endif -.if defined(WITH_PGSQL) -RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB -.endif - -do-install: - ${MKDIR} ${DRUPAL_DIR} - ${CP} ${WRKSRC}/.htaccess ${DRUPAL_DIR} - ${CP} ${WRKSRC}/cron.php ${DRUPAL_DIR} - ${CP} -R ${WRKSRC}/database ${DRUPAL_DIR} - ${CP} ${WRKSRC}/favicon.ico ${DRUPAL_DIR} - ${CP} -R ${WRKSRC}/includes ${DRUPAL_DIR} - ${CP} ${WRKSRC}/index.php ${DRUPAL_DIR} - ${CP} -R ${WRKSRC}/misc ${DRUPAL_DIR} - ${CP} -R ${WRKSRC}/modules ${DRUPAL_DIR} - ${CP} -R ${WRKSRC}/scripts ${DRUPAL_DIR} - ${MKDIR} ${DRUPAL_DIR}/sites/default - ${CP} ${WRKSRC}/sites/default/settings.php ${DRUPAL_DIR}/sites/default/settings.php-dist - @if [ ! -f ${DRUPAL_DIR}/sites/default/settings.php ]; then \ - ${CP} -p ${DRUPAL_DIR}/sites/default/settings.php-dist ${DRUPAL_DIR}/sites/default/settings.php ; \ - fi - ${CP} -R ${WRKSRC}/themes ${DRUPAL_DIR} - ${CP} ${WRKSRC}/update.php ${DRUPAL_DIR} - ${CP} ${WRKSRC}/xmlrpc.php ${DRUPAL_DIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${CP} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DRUPAL_DIR} - -post-install: - @${CAT} ${PKGMESSAGE} - -.include "${.CURDIR}/bsd.drupal.mk" -.include <bsd.port.post.mk> diff --git a/www/drupal4/bsd.drupal.mk b/www/drupal4/bsd.drupal.mk deleted file mode 100644 index 37fb9249394f..000000000000 --- a/www/drupal4/bsd.drupal.mk +++ /dev/null @@ -1,75 +0,0 @@ -# $FreeBSD$ -# - -DRUPAL_BASE?= www/drupal -DRUPAL_DIR= ${PREFIX}/${DRUPAL_BASE} -DRUPAL_DOCSDIR?= ${PREFIX}/${DRUPAL_BASE}/doc -PLIST_SUB+= DRUPAL_BASE=${DRUPAL_BASE} -SUB_LIST+= DRUPAL_BASE=${DRUPAL_BASE} DRUPAL_DIR=${DRUPAL_DIR} - -.if defined(DRUPAL_PORT) -DOCSDIR?= ${DRUPAL_DOCSDIR} -.endif - -.if defined(DRUPAL_MODULE) -DRUPAL_VERSION?= 4.6.0 -DRUPAL_MODDIR?= ${DRUPAL_BASE}/modules -DOCSDIR?= ${DRUPAL_DOCSDIR}/${PORTNAME} - -# We have to mirror the distfiles because they are automaticly -# regenerated snapshots that change size even when nothing changes in the -# files themselves so they will generally be MASTER_SITE_LOCAL -MASTER_SITES?= ${MASTER_SITE_LOCAL} -PKGNAMEPREFIX= drupal- -DIST_SUBDIR= drupal - -RUN_DEPENDS= ${LOCALBASE}/${DRUPAL_BASE}/index.php:${PORTSDIR}/www/drupal - -NO_BUILD?= yes - -WRKSRC?= ${WRKDIR}/${PORTNAME} - -.if defined(MODULE_CONF_FILES) -SUB_FILES= pkg-install -SUB_LIST+= CONF_FILES=${MODULE_CONF_FILES:C|^|${DRUPAL_MODDIR}/|} \ - CONF_DIRS=${MODULE_CONF_DIRS:C|^|${DRUPAL_MODDIR}/|} -# XXX: where? -PKGINSTALL= ${WRKDIR}/pkg-install -PKGDEINSTALL= ${PKGINSTALL} -.endif - -PLIST_SUB+= DRUPAL_MODDIR=${DRUPAL_MODDIR} -PLIST_FILES+= ${MODULE_FILES:C|^|%%DRUPAL_MODDIR%%/|} -PLIST_FILES+= ${MODULE_CONF_FILES:C|^|%%DRUPAL_MODDIR%%/|:C|$|-dist|} -PLIST_DIRS+= ${MODULE_DIRS:C|^|%%DRUPAL_MODDIR%%/|} -.if !defined(NOPORTDOCS) -PLIST_FILES+= ${DOC_FILES:C|^|%%DOCSDIR%%/|} -PLIST_DIRS+= ${DOC_DIRS:C|^|%%DOCSDIR%%/|} -PLIST_DIRS+= %%DOCSDIR%% -.endif - -do-install: -.if defined(MODULE_CONF_DIRS) - @${MKDIR} ${MODULE_CONF_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|} -.endif -.if defined(MODULE_DIRS) - @${MKDIR} ${MODULE_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|} -.endif -.for f in ${MODULE_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPAL_MODDIR}/${f} -.endfor -.for f in ${MODULE_CONF_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPAL_MODDIR}/${f}-dist -.endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} ${DOC_DIRS:C|^|${DOCSDIR}/|} -.for f in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f} -.endfor -.endif - -.if defined(MODULE_CONF_FILES) -post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif -.endif diff --git a/www/drupal4/distinfo b/www/drupal4/distinfo deleted file mode 100644 index e1be0051c177..000000000000 --- a/www/drupal4/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (drupal/drupal-4.6.5.tar.gz) = b9662dff07ba1dc36e9b7f27a932e3f1 -SHA256 (drupal/drupal-4.6.5.tar.gz) = 84ed2f24a845ef9d1590c8b3744194e27a4e11002659ad6a9190a4d0e0e580c9 -SIZE (drupal/drupal-4.6.5.tar.gz) = 455993 diff --git a/www/drupal4/files/pkg-message.in b/www/drupal4/files/pkg-message.in deleted file mode 100644 index d64eb1b7bc7f..000000000000 --- a/www/drupal4/files/pkg-message.in +++ /dev/null @@ -1,27 +0,0 @@ -You now need to create the DB where Drupal is going to live - - PostgreSQL:: - createdb -U pgsql -W drupal - createuser -U pgsql -P -e drupal - createlang -U pgsql -W plpgsql drupal - psql -U drupal drupal < %%DRUPAL_DIR%%/database/database.pgsql - - MySQL:: - mysqladmin -u dba_user -p create drupal - mysql -u dba_user -p - GRANT ALL PRIVILEGES ON drupal.* TO drupal@localhost IDENTIFIED BY 'passwd'; - mysql -u drupal -p drupal < %%DRUPAL_DIR%%/database/database.mysql" - -Then edit the %%DRUPAL_DIR%%/sites/default/settings.php -to your needs. Once you have done that you must add appropriate -configuration directives to your apache configuration file -(%%PREFIX%%/etc/apache(2)/httpd.conf). A typical configuration would be: - - Alias /drupal "%%DRUPAL_DIR%%" - - <Directory "%%DRUPAL_DIR%%"> - Options Indexes FollowSymlinks MultiViews - AllowOverride None - Order allow,deny - Allow from all - </Directory> diff --git a/www/drupal4/pkg-descr b/www/drupal4/pkg-descr deleted file mode 100644 index 81032dda8381..000000000000 --- a/www/drupal4/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -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/drupal4/pkg-plist b/www/drupal4/pkg-plist deleted file mode 100644 index 10159905b407..000000000000 --- a/www/drupal4/pkg-plist +++ /dev/null @@ -1,154 +0,0 @@ -%%DRUPAL_BASE%%/.htaccess -%%DRUPAL_BASE%%/cron.php -%%DRUPAL_BASE%%/database/database.mysql -%%DRUPAL_BASE%%/database/database.pgsql -%%DRUPAL_BASE%%/database/updates.inc -%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt -%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt -%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt -%%PORTDOCS%%%%DOCSDIR%%/MAINTAINERS.txt -%%DRUPAL_BASE%%/favicon.ico -%%DRUPAL_BASE%%/includes/bootstrap.inc -%%DRUPAL_BASE%%/includes/common.inc -%%DRUPAL_BASE%%/includes/database.inc -%%DRUPAL_BASE%%/includes/database.mysql.inc -%%DRUPAL_BASE%%/includes/database.pgsql.inc -%%DRUPAL_BASE%%/includes/file.inc -%%DRUPAL_BASE%%/includes/image.inc -%%DRUPAL_BASE%%/includes/locale.inc -%%DRUPAL_BASE%%/includes/menu.inc -%%DRUPAL_BASE%%/includes/module.inc -%%DRUPAL_BASE%%/includes/pager.inc -%%DRUPAL_BASE%%/includes/session.inc -%%DRUPAL_BASE%%/includes/tablesort.inc -%%DRUPAL_BASE%%/includes/theme.inc -%%DRUPAL_BASE%%/includes/xmlrpc.inc -%%DRUPAL_BASE%%/includes/xmlrpcs.inc -%%DRUPAL_BASE%%/index.php -%%DRUPAL_BASE%%/misc/arrow-asc.png -%%DRUPAL_BASE%%/misc/arrow-desc.png -%%DRUPAL_BASE%%/misc/blog.png -%%DRUPAL_BASE%%/misc/drupal.css -%%DRUPAL_BASE%%/misc/druplicon-small.png -%%DRUPAL_BASE%%/misc/druplicon.png -%%DRUPAL_BASE%%/misc/forum-closed.png -%%DRUPAL_BASE%%/misc/forum-default.png -%%DRUPAL_BASE%%/misc/forum-hot-new.png -%%DRUPAL_BASE%%/misc/forum-hot.png -%%DRUPAL_BASE%%/misc/forum-new.png -%%DRUPAL_BASE%%/misc/forum-sticky.png -%%DRUPAL_BASE%%/misc/menu-collapsed.png -%%DRUPAL_BASE%%/misc/menu-expanded.png -%%DRUPAL_BASE%%/misc/menu-leaf.png -%%DRUPAL_BASE%%/misc/powered-by-drupal-dark.png -%%DRUPAL_BASE%%/misc/powered-by-drupal-light.png -%%DRUPAL_BASE%%/misc/powered-by-drupal.png -%%DRUPAL_BASE%%/misc/print.css -%%DRUPAL_BASE%%/misc/watchdog-error.png -%%DRUPAL_BASE%%/misc/watchdog-warning.png -%%DRUPAL_BASE%%/misc/xml.png -%%DRUPAL_BASE%%/modules/aggregator.module -%%DRUPAL_BASE%%/modules/archive.module -%%DRUPAL_BASE%%/modules/block.module -%%DRUPAL_BASE%%/modules/blog.module -%%DRUPAL_BASE%%/modules/blogapi.module -%%DRUPAL_BASE%%/modules/book.module -%%DRUPAL_BASE%%/modules/comment.module -%%DRUPAL_BASE%%/modules/contact.module -%%DRUPAL_BASE%%/modules/drupal.module -%%DRUPAL_BASE%%/modules/filter.module -%%DRUPAL_BASE%%/modules/forum.module -%%DRUPAL_BASE%%/modules/help.module -%%DRUPAL_BASE%%/modules/legacy.module -%%DRUPAL_BASE%%/modules/locale.module -%%DRUPAL_BASE%%/modules/menu.module -%%DRUPAL_BASE%%/modules/node.module -%%DRUPAL_BASE%%/modules/page.module -%%DRUPAL_BASE%%/modules/path.module -%%DRUPAL_BASE%%/modules/ping.module -%%DRUPAL_BASE%%/modules/poll.module -%%DRUPAL_BASE%%/modules/profile.module -%%DRUPAL_BASE%%/modules/queue.module -%%DRUPAL_BASE%%/modules/search.module -%%DRUPAL_BASE%%/modules/statistics.module -%%DRUPAL_BASE%%/modules/story.module -%%DRUPAL_BASE%%/modules/system.module -%%DRUPAL_BASE%%/modules/taxonomy.module -%%DRUPAL_BASE%%/modules/throttle.module -%%DRUPAL_BASE%%/modules/tracker.module -%%DRUPAL_BASE%%/modules/upload.module -%%DRUPAL_BASE%%/modules/user.module -%%DRUPAL_BASE%%/modules/watchdog.module -%%DRUPAL_BASE%%/scripts/code-clean.sh -%%DRUPAL_BASE%%/scripts/code-style.pl -%%DRUPAL_BASE%%/scripts/cron-curl.sh -%%DRUPAL_BASE%%/scripts/cron-lynx.sh -%%DRUPAL_BASE%%/scripts/prefix.sh -@unexec if cmp -s %D/%%DRUPAL_BASE%%/sites/default/settings.php-dist %D/%%DRUPAL_BASE%%/sites/default/settings.php; then rm -f %D/%%DRUPAL_BASE%%/sites/default/settings.php; fi -%%DRUPAL_BASE%%/sites/default/settings.php-dist -@exec if [ ! -f %D/%%DRUPAL_BASE%%/sites/default/settings.php ] ; then cp -p %D/%F %B/settings.php; fi -%%DRUPAL_BASE%%/themes/bluemarine/logo.png -%%DRUPAL_BASE%%/themes/bluemarine/screenshot.png -%%DRUPAL_BASE%%/themes/bluemarine/style.css -%%DRUPAL_BASE%%/themes/bluemarine/xtemplate.xtmpl -%%DRUPAL_BASE%%/themes/chameleon/background.png -%%DRUPAL_BASE%%/themes/chameleon/chameleon.theme -%%DRUPAL_BASE%%/themes/chameleon/common.css -%%DRUPAL_BASE%%/themes/chameleon/logo.png -%%DRUPAL_BASE%%/themes/chameleon/marvin/bullet.png -%%DRUPAL_BASE%%/themes/chameleon/marvin/druplicon-watermark.png -%%DRUPAL_BASE%%/themes/chameleon/marvin/logo.png -%%DRUPAL_BASE%%/themes/chameleon/marvin/screenshot.png -%%DRUPAL_BASE%%/themes/chameleon/marvin/style.css -%%DRUPAL_BASE%%/themes/chameleon/screenshot.png -%%DRUPAL_BASE%%/themes/chameleon/style.css -%%DRUPAL_BASE%%/themes/engines/xtemplate/xtemplate.engine -%%DRUPAL_BASE%%/themes/engines/xtemplate/xtemplate.inc -%%DRUPAL_BASE%%/themes/pushbutton/arrow-next-hover.png -%%DRUPAL_BASE%%/themes/pushbutton/arrow-next-visited.png -%%DRUPAL_BASE%%/themes/pushbutton/arrow-next.png -%%DRUPAL_BASE%%/themes/pushbutton/arrow-prev-hover.png -%%DRUPAL_BASE%%/themes/pushbutton/arrow-prev-visited.png -%%DRUPAL_BASE%%/themes/pushbutton/arrow-prev.png -%%DRUPAL_BASE%%/themes/pushbutton/arrow-up-hover.png -%%DRUPAL_BASE%%/themes/pushbutton/arrow-up-visited.png -%%DRUPAL_BASE%%/themes/pushbutton/arrow-up.png -%%DRUPAL_BASE%%/themes/pushbutton/background.png -%%DRUPAL_BASE%%/themes/pushbutton/forum-container.jpg -%%DRUPAL_BASE%%/themes/pushbutton/forum-link.png -%%DRUPAL_BASE%%/themes/pushbutton/header-a.jpg -%%DRUPAL_BASE%%/themes/pushbutton/header-b.jpg -%%DRUPAL_BASE%%/themes/pushbutton/header-c.png -%%DRUPAL_BASE%%/themes/pushbutton/icon-block.png -%%DRUPAL_BASE%%/themes/pushbutton/icon-comment.png -%%DRUPAL_BASE%%/themes/pushbutton/logo-active.jpg -%%DRUPAL_BASE%%/themes/pushbutton/logo-background.jpg -%%DRUPAL_BASE%%/themes/pushbutton/logo-hover.jpg -%%DRUPAL_BASE%%/themes/pushbutton/logo.png -%%DRUPAL_BASE%%/themes/pushbutton/screenshot.png -%%DRUPAL_BASE%%/themes/pushbutton/style.css -%%DRUPAL_BASE%%/themes/pushbutton/tabs-off.png -%%DRUPAL_BASE%%/themes/pushbutton/tabs-on.png -%%DRUPAL_BASE%%/themes/pushbutton/tabs-option-hover.png -%%DRUPAL_BASE%%/themes/pushbutton/tabs-option-off.png -%%DRUPAL_BASE%%/themes/pushbutton/tabs-option-on.png -%%DRUPAL_BASE%%/themes/pushbutton/xtemplate.xtmpl -%%DRUPAL_BASE%%/update.php -%%DRUPAL_BASE%%/xmlrpc.php -@dirrm %%DRUPAL_BASE%%/themes/pushbutton -@dirrm %%DRUPAL_BASE%%/themes/engines/xtemplate -@dirrm %%DRUPAL_BASE%%/themes/engines -@dirrm %%DRUPAL_BASE%%/themes/chameleon/marvin -@dirrm %%DRUPAL_BASE%%/themes/chameleon -@dirrm %%DRUPAL_BASE%%/themes/bluemarine -@dirrm %%DRUPAL_BASE%%/themes -@dirrmtry %%DRUPAL_BASE%%/sites/default -@dirrmtry %%DRUPAL_BASE%%/sites -@dirrm %%DRUPAL_BASE%%/scripts -@dirrmtry %%DRUPAL_BASE%%/modules -@dirrm %%DRUPAL_BASE%%/misc -@dirrm %%DRUPAL_BASE%%/includes -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%DRUPAL_BASE%%/database -@dirrmtry %%DRUPAL_BASE%% -@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 |