mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- drupal-* are renamed to drupal4-* for drupal5 ports
This commit is contained in:
parent
07dd81dc25
commit
524a204ba6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188265
@ -1,30 +0,0 @@
|
||||
# New ports collection makefile for: drupal-ldap_integration
|
||||
# Date created: 12 January 2006
|
||||
# Whom: Brooks Davis <brooks@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ldap_integration
|
||||
DISTVERSION= ${DRUPAL_VERSION}
|
||||
PORTREVISION= 20060117
|
||||
CATEGORIES= security www
|
||||
|
||||
MAINTAINER= brooks@FreeBSD.org
|
||||
COMMENT= LDAP user authentication for the Drupal CMS
|
||||
|
||||
USE_PHP= ldap
|
||||
|
||||
BROKEN= Install fails
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
MODULE_FILES= ldap_integration.module \
|
||||
ldap_integration/LDAPInterface.php \
|
||||
zcallbacks.module
|
||||
MODULE_CONF_FILES= ldap_integration/conf.php
|
||||
MODULE_CONF_DIRS= ldap_integration
|
||||
DOC_FILES= CHANGES.txt LICENSE.txt README.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/ldap_integration-4.7.0.tar.gz) = 37b842fcee46b574561766e392206954
|
||||
SHA256 (drupal/ldap_integration-4.7.0.tar.gz) = 211ff487b27a26576e43f8b20b7ac0db1c8d8fb6fb7f1c415455da3b5869d855
|
||||
SIZE (drupal/ldap_integration-4.7.0.tar.gz) = 20854
|
@ -1,27 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
PREFIX=%%PREFIX%%
|
||||
CONF_FILES="%%CONF_FILES%%"
|
||||
CONF_DIRS="%%CONF_DIRS%%"
|
||||
|
||||
case $2 in
|
||||
POST-INSTALL)
|
||||
for cfgfile in "${CONF_FILES}"; do
|
||||
if [ ! -e ${PREFIX}/${cfgfile} ]; then
|
||||
cp ${PREFIX}/${cfgfile}-dist ${PREFIX}/${cfgfile}
|
||||
fi
|
||||
done
|
||||
;;
|
||||
DEINSTALL)
|
||||
for cfgfile in "${CONF_FILES}"; do
|
||||
if cmp -s ${PREFIX}/${cfgfile} ${PREFIX}/${cfgfile}-dist ]; then
|
||||
rm ${PREFIX}/${cfgfile}
|
||||
fi
|
||||
done
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
for cfgdir in "${CONF_DIRS}"; do
|
||||
rmdir ${PREFIX}/${cfgdir} 2> /dev/null || true
|
||||
done
|
||||
;;
|
||||
esac
|
@ -1,5 +0,0 @@
|
||||
The ldap_integration Drupal module allows users to authenticate against
|
||||
a LDAP directory. Additionally, users can read and modify their data in
|
||||
the LDAP directory subject to administrative restrictions.
|
||||
|
||||
WWW: http://drupal.org/node/15109
|
@ -1,24 +0,0 @@
|
||||
# New ports collection makefile for: drupal-attachment
|
||||
# Date created: 31 October 2006
|
||||
# Whom: Nick Hilliard <nick@foobar.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= attachment
|
||||
DISTVERSION= ${DRUPAL_VERSION}
|
||||
PORTREVISION= 20060928
|
||||
CATEGORIES= www security
|
||||
|
||||
MAINTAINER= nick@foobar.org
|
||||
COMMENT= An alternative to Drupal's included upload module
|
||||
|
||||
RUN_DEPENDS+= ${LOCALBASE}/${DRUPAL_MODDIR}/filemanager.module:${PORTSDIR}/www/drupal-filemanager
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
MODULE_FILES= attachment.install attachment.module
|
||||
DOC_FILES= LICENSE.txt README.txt CREDITS INSTALL
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/attachment-4.7.0.tar.gz) = b05691fb5941bb15b1b5fa04d725521b
|
||||
SHA256 (drupal/attachment-4.7.0.tar.gz) = 2d984cbf1230c593db85dbbd16cca473a325e09a9ffca5b6830627ca4c6a251d
|
||||
SIZE (drupal/attachment-4.7.0.tar.gz) = 15951
|
@ -1,6 +0,0 @@
|
||||
This module is an alternative to Drupal's included upload module. It uses
|
||||
the filemanager module to allow a unique namespace per node and support
|
||||
large number of files. In addition this module allows you to give each
|
||||
attachment a title and description.
|
||||
|
||||
WWW: http://drupal.org/project/attachment
|
@ -1,23 +0,0 @@
|
||||
# New ports collection makefile for: drupal-filemanager
|
||||
# Date created: 31 October 2006
|
||||
# Whom: Nick Hilliard <nick@foobar.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= filemanager
|
||||
DISTVERSION= ${DRUPAL_VERSION}
|
||||
PORTREVISION= 20060914
|
||||
CATEGORIES= www security
|
||||
|
||||
MAINTAINER= nick@foobar.org
|
||||
COMMENT= A full featured file management API for Drupal modules
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
MODULE_FILES= filemanager.install filemanager.module
|
||||
DOC_DIRS= doc
|
||||
DOC_FILES= LICENSE.txt README.txt CREDITS INSTALL doc/filemanager.php
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/filemanager-4.7.0.tar.gz) = b62eb10d4b0f110a94df9a3c9a410adf
|
||||
SHA256 (drupal/filemanager-4.7.0.tar.gz) = 7fae448c749d3eaa2a7ac268b385b36c562f5184e3716c73adf951839b784c14
|
||||
SIZE (drupal/filemanager-4.7.0.tar.gz) = 20521
|
@ -1,6 +0,0 @@
|
||||
This module adds a full featured file management API for your modules to
|
||||
use. This API is module development and does not directly add functionality
|
||||
to your site. This module is required for the attachment module which is an
|
||||
alternative to Drupal's included upload module.
|
||||
|
||||
WWW: http://drupal.org/project/filemanager
|
@ -1,23 +0,0 @@
|
||||
# New ports collection makefile for: drupal-gsitemap
|
||||
# Date created: 27 Jan 2007
|
||||
# Whom: Nick Hilliard <nick@foobar.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gsitemap
|
||||
DISTVERSION= 4.7.x-1.0
|
||||
PORTREVISION= 20070111
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://ftp.osuosl.org/pub/drupal/files/projects/
|
||||
|
||||
MAINTAINER= nick@foobar.org
|
||||
COMMENT= Produces Google/sitemaps.org compliant XML WWW site maps
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
MODULE_FILES= gsitemap.install gsitemap.module
|
||||
DOC_FILES= INSTALL.txt LICENSE.txt README.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/gsitemap-4.7.x-1.0.tar.gz) = bdc420297021961c17905d25fa24f82f
|
||||
SHA256 (drupal/gsitemap-4.7.x-1.0.tar.gz) = 536b92f21c784f9ea3e25163a76f5cc4ea34d162b62a5c3afe0ebd9b87b04f19
|
||||
SIZE (drupal/gsitemap-4.7.x-1.0.tar.gz) = 11241
|
@ -1,14 +0,0 @@
|
||||
The XML Sitemap module creates a XML sitemap in accordance with the
|
||||
Sitemaps.org specification.
|
||||
|
||||
The module maintains a short change history for nodes in order to better
|
||||
approximate the change frequency. It calculates the relative priority of
|
||||
each node based on node type, number of comments, and promotion. It can
|
||||
optionally submit your sitemap to Google (support for other search engines
|
||||
will be added once they support the ping interface) whenever it is changed
|
||||
and can log when your sitemap is downloaded by a search engine.
|
||||
|
||||
This module was originally written as a part of the Google Summer of Code
|
||||
program.
|
||||
|
||||
WWW: http://drupal.org/project/gsitemap
|
@ -1,33 +0,0 @@
|
||||
# New ports collection makefile for: drupal-i18n
|
||||
# Date created: 26 Jan 2007
|
||||
# Whom: Nick Hilliard <nick@foobar.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= i18n
|
||||
DISTVERSION= 4.7.x-1.0
|
||||
PORTREVISION= 20061208
|
||||
CATEGORIES= www security
|
||||
MASTER_SITE_SUBDIR= pav/drupal
|
||||
|
||||
MAINTAINER= nick@foobar.org
|
||||
COMMENT= An internationalisation module for the Drupal CMS
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
DRUPAL_MODSUBDIR= i18n
|
||||
MODULE_FILES= translation.module i18n.module i18n.install i18n.inc \
|
||||
i18nprofile/i18nprofile.install \
|
||||
i18nprofile/i18nprofile.module \
|
||||
flags/ca.png flags/cs.png flags/de.png flags/en.png \
|
||||
flags/es.png flags/eu.png flags/fi.png flags/fr.png \
|
||||
flags/gl.png flags/he.png flags/hu.png flags/it.png \
|
||||
flags/ja.png flags/km.png flags/nl.png flags/ru.png \
|
||||
flags/sk.png flags/sv.png
|
||||
|
||||
MODULE_DIRS= flags i18nprofile
|
||||
DOC_FILES= CHANGELOG.txt CREDITS.txt HOWTO.txt INSTALL.txt LICENSE.txt README.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/i18n-4.7.x-1.0.tar.gz) = fa1ae8f3a279d92130523764f4b28779
|
||||
SHA256 (drupal/i18n-4.7.x-1.0.tar.gz) = 01c4ddc8d4aba9db8114448bcdc1ce2210c6aa11263cfd5aaa81cc7db07e1048
|
||||
SIZE (drupal/i18n-4.7.x-1.0.tar.gz) = 52454
|
@ -1,8 +0,0 @@
|
||||
This is a collection of modules to add multi-lingual capabilities to Drupal
|
||||
sites. It provides content translation facilities for nodes and taxonomy,
|
||||
interface translation for anonymous users when used with the locale module,
|
||||
and browser language detection. It also includes a block for language
|
||||
selection and manages translation relationships for nodes and taxonomy
|
||||
terms.
|
||||
|
||||
WWW: http://drupal.org/project/i18n
|
@ -1,24 +0,0 @@
|
||||
# New ports collection makefile for: drupal-nice_menus
|
||||
# Date created: 20 October 2006
|
||||
# Whom: Nick Hilliard <nick@foobar.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= nice_menus
|
||||
DISTVERSION= ${DRUPAL_VERSION}
|
||||
PORTREVISION= 20060811
|
||||
CATEGORIES= www security
|
||||
MASTER_SITE= http://ftp.osuosl.org/pub/drupal/files/projects/
|
||||
|
||||
MAINTAINER= nick@foobar.org
|
||||
COMMENT= Access control system for the Drupal CMS based on Taxonomy classification
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
MODULE_FILES= arrow-down.png arrow-left.png arrow-right.png \
|
||||
nice_menus.css nice_menus.js nice_menus.module
|
||||
DOC_FILES= LICENSE.txt README.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/nice_menus-4.7.0.tar.gz) = 895b1eba9c22ede3c905459a70f503d4
|
||||
SHA256 (drupal/nice_menus-4.7.0.tar.gz) = a893391237e8f922ab1b3cb86e76ab97ace78e9883c5491667297c9d0021b0e3
|
||||
SIZE (drupal/nice_menus-4.7.0.tar.gz) = 12688
|
@ -1,8 +0,0 @@
|
||||
Nice Menus is a module for the Drupal CMS which enables drop-down / right /
|
||||
left expandable menus. The module uses CSS to display the menus on browsers
|
||||
which have functional CSS. Internet Explorer is supported using Javascript.
|
||||
|
||||
Three styles of menus are currently possible: horizontal (menus drop down);
|
||||
vertical (menus drop to the left); vertical (menus drop to the right).
|
||||
|
||||
WWW: http://drupal.org/project/nice_menus
|
@ -1,24 +0,0 @@
|
||||
# New ports collection makefile for: drupal-taxonomy_access
|
||||
# Date created: 26 Jan 2007
|
||||
# Whom: Nick Hilliard <nick@foobar.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= taxonomy_access
|
||||
DISTVERSION= 4.7.x-1.x-dev
|
||||
PORTREVISION= 20070205
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= www security
|
||||
MASTER_SITE_SUBDIR= pav/drupal
|
||||
|
||||
MAINTAINER= nick@foobar.org
|
||||
COMMENT= Access control system for the Drupal based on Taxonomy classification
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
MODULE_FILES= taxonomy_access.install taxonomy_access.module taxonomy_access_admin.inc
|
||||
DOC_FILES= INSTALL.txt LICENSE.txt README.txt UPDATE.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = c52607b2ddf7562c1bd1eadc51099317
|
||||
SHA256 (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = 0ad2ffb09bc838c330b3fd28d571196916d38f4e055c0ceaaedac3366dc119c9
|
||||
SIZE (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = 32330
|
@ -1,10 +0,0 @@
|
||||
This is a Drupal plug-in module which enables access control for user roles
|
||||
based on taxonomy categories (vocabulary, terms). It has the following
|
||||
features:
|
||||
|
||||
* Automatically controls access to taxonomy terms and nodes (based on
|
||||
their category terms)
|
||||
* Configuration page for each user roles
|
||||
* Five permission types (View, Update, Delete, Create, List)
|
||||
|
||||
WWW: http://drupal.org/project/taxonomy_access
|
@ -1,49 +0,0 @@
|
||||
# New ports collection makefile for: drupal-textile
|
||||
# Date created: 21 February 2006
|
||||
# Whom: Brooks Davis <brooks@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= textile
|
||||
DISTVERSION= 4.7.x-1.x-dev
|
||||
PORTREVISION= 20061113
|
||||
CATEGORIES= www textproc
|
||||
MASTER_SITE_SUBDIR= brooks
|
||||
|
||||
MAINTAINER= nick@foobar.org
|
||||
COMMENT= Textile markup module for Drupal
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
MODULE_DIRS= textilephp
|
||||
MODULE_FILES= textile.module textilephp/Textile.php DrupalTextile.inc
|
||||
DOC_DIRS= textilephp/doc textilephp
|
||||
DOC_FILES= CHANGELOG.txt CREDITS.txt INSTALL.txt LICENSE.txt README.txt \
|
||||
TODO.txt \
|
||||
textilephp/doc/Textile_8php-source.html \
|
||||
textilephp/doc/Textile_8php.html \
|
||||
textilephp/doc/annotated.html \
|
||||
textilephp/doc/classMTLikeTextile-members.html \
|
||||
textilephp/doc/classMTLikeTextile.html \
|
||||
textilephp/doc/classMTLikeTextile.png \
|
||||
textilephp/doc/classTextile-members.html \
|
||||
textilephp/doc/classTextile.html \
|
||||
textilephp/doc/classTextile.png \
|
||||
textilephp/doc/doxygen.css \
|
||||
textilephp/doc/doxygen.png \
|
||||
textilephp/doc/files.html \
|
||||
textilephp/doc/functions.html \
|
||||
textilephp/doc/functions_func.html \
|
||||
textilephp/doc/functions_vars.html \
|
||||
textilephp/doc/hierarchy.html \
|
||||
textilephp/doc/index.html \
|
||||
textilephp/textilephp.doxyfile \
|
||||
textilephp/CHANGELOG \
|
||||
textilephp/CREDITS \
|
||||
textilephp/LICENSE \
|
||||
textilephp/README \
|
||||
textilephp/TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/textile-4.7.x-1.x-dev.tar.gz) = f921ea2e5f61d2235a37d2ec67c02ecf
|
||||
SHA256 (drupal/textile-4.7.x-1.x-dev.tar.gz) = b3cb512155965694fa33ad01d1f78bb5ee76ed2c9c82218fbbf1bbea3f87a477
|
||||
SIZE (drupal/textile-4.7.x-1.x-dev.tar.gz) = 120206
|
@ -1,21 +0,0 @@
|
||||
--- DrupalTextile.inc.orig Fri Dec 8 13:01:07 2006
|
||||
+++ DrupalTextile.inc Fri Dec 8 13:00:49 2006
|
||||
@@ -38,11 +38,17 @@
|
||||
* A <code>string</code> containing the formatted URL.
|
||||
*/
|
||||
function format_url($args) {
|
||||
+ $query = null;
|
||||
+ if (preg_match ('/([^\?]*)\?(.*)/', $args['url'], $matches)) {
|
||||
+ $args['url'] = $matches[1];
|
||||
+ $query = $matches[2];
|
||||
+ }
|
||||
+
|
||||
if (preg_match('<^#>', $args['url'])) {
|
||||
$args['url'] = $_GET['q'] . $args['url'];
|
||||
}
|
||||
|
||||
- $args['url'] = ($args['url'] ? url($args['url']) : '');
|
||||
+ $args['url'] = ($args['url'] ? url($args['url'], $query) : '');
|
||||
|
||||
return parent::format_url($args);
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
The Textile module allows you to enter content using Textile, a
|
||||
simple, plain text syntax that is filtered into valid (X)HTML. It was
|
||||
originally developed by Dean Allen of textism.com, and several different
|
||||
versions (in several different programming languages) have been created.
|
||||
|
||||
WWW: http://drupal.org/project/textile
|
@ -1,68 +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.7.6
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://ftp.osuosl.org/pub/drupal/files/projects/
|
||||
DIST_SUBDIR= drupal
|
||||
|
||||
MAINTAINER= nick@foobar.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
|
||||
|
||||
NO_BUILD= yes
|
||||
DOCS= CHANGELOG.txt INSTALL.txt LICENSE.txt MAINTAINERS.txt \
|
||||
UPGRADE.txt INSTALL.mysql.txt INSTALL.pgsql.txt
|
||||
SUB_FILES+= pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
USE_PHP+= mysql
|
||||
.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} -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>
|
@ -1,83 +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.7.0
|
||||
.if defined(DRUPAL_MODSUBDIR)
|
||||
DRUPAL_MODDIR?= ${DRUPAL_BASE}/modules/${DRUPAL_MODSUBDIR}
|
||||
.else
|
||||
DRUPAL_MODDIR?= ${DRUPAL_BASE}/modules
|
||||
.endif
|
||||
DOCSDIR?= ${DRUPAL_DOCSDIR}/${PORTNAME}
|
||||
|
||||
MASTER_SITES?= http://ftp.osuosl.org/pub/drupal/files/projects/
|
||||
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(DRUPAL_MODSUBDIR)
|
||||
PLIST_DIRS+= ${DRUPAL_MODDIR}
|
||||
.endif
|
||||
.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}/|}
|
||||
@${CHOWN} ${WWWOWN}:${WWWGRP} ${MODULE_CONF_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|}
|
||||
.endif
|
||||
.if defined(MODULE_DIRS)
|
||||
@${MKDIR} ${MODULE_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|}
|
||||
@${CHOWN} ${WWWOWN}:${WWWGRP} ${MODULE_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|}
|
||||
.endif
|
||||
.for f in ${MODULE_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPAL_MODDIR}/${f}
|
||||
@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${DRUPAL_MODDIR}/${f}
|
||||
.endfor
|
||||
.for f in ${MODULE_CONF_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPAL_MODDIR}/${f}-dist
|
||||
@${CHOWN} ${WWWOWN}:${WWWGRP} ${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
|
@ -1,3 +0,0 @@
|
||||
MD5 (drupal/drupal-4.7.6.tar.gz) = ea9c5ec140f7a27caab8fbaa7585de4b
|
||||
SHA256 (drupal/drupal-4.7.6.tar.gz) = 88bc16b74ae7b7a72bb161f14faae6c3753310b96b5adbd31a1fbed8149ac660
|
||||
SIZE (drupal/drupal-4.7.6.tar.gz) = 491173
|
@ -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>
|
@ -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
|
@ -1,191 +0,0 @@
|
||||
%%PORTDOCS%%%%DOCSDIR%%/MAINTAINERS.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.mysql.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.pgsql.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
|
||||
%%DRUPAL_BASE%%/.htaccess
|
||||
%%DRUPAL_BASE%%/cron.php
|
||||
%%DRUPAL_BASE%%/database/database.4.0.mysql
|
||||
%%DRUPAL_BASE%%/database/database.4.1.mysql
|
||||
%%DRUPAL_BASE%%/database/database.pgsql
|
||||
%%DRUPAL_BASE%%/database/updates.inc
|
||||
%%DRUPAL_BASE%%/includes/xmlrpcs.inc
|
||||
%%DRUPAL_BASE%%/includes/common.inc
|
||||
%%DRUPAL_BASE%%/includes/database.inc
|
||||
%%DRUPAL_BASE%%/includes/database.mysql.inc
|
||||
%%DRUPAL_BASE%%/includes/database.mysqli.inc
|
||||
%%DRUPAL_BASE%%/includes/database.pgsql.inc
|
||||
%%DRUPAL_BASE%%/includes/file.inc
|
||||
%%DRUPAL_BASE%%/includes/form.inc
|
||||
%%DRUPAL_BASE%%/includes/image.inc
|
||||
%%DRUPAL_BASE%%/includes/install.inc
|
||||
%%DRUPAL_BASE%%/includes/locale.inc
|
||||
%%DRUPAL_BASE%%/includes/menu.inc
|
||||
%%DRUPAL_BASE%%/includes/module.inc
|
||||
%%DRUPAL_BASE%%/includes/pager.inc
|
||||
%%DRUPAL_BASE%%/includes/path.inc
|
||||
%%DRUPAL_BASE%%/includes/session.inc
|
||||
%%DRUPAL_BASE%%/includes/tablesort.inc
|
||||
%%DRUPAL_BASE%%/includes/theme.inc
|
||||
%%DRUPAL_BASE%%/includes/unicode.inc
|
||||
%%DRUPAL_BASE%%/includes/xmlrpc.inc
|
||||
%%DRUPAL_BASE%%/includes/bootstrap.inc
|
||||
%%DRUPAL_BASE%%/index.php
|
||||
%%DRUPAL_BASE%%/misc/watchdog-warning.png
|
||||
%%DRUPAL_BASE%%/misc/arrow-desc.png
|
||||
%%DRUPAL_BASE%%/misc/autocomplete.js
|
||||
%%DRUPAL_BASE%%/misc/blog.png
|
||||
%%DRUPAL_BASE%%/misc/collapse.js
|
||||
%%DRUPAL_BASE%%/misc/drupal.css
|
||||
%%DRUPAL_BASE%%/misc/drupal.js
|
||||
%%DRUPAL_BASE%%/misc/druplicon.png
|
||||
%%DRUPAL_BASE%%/misc/favicon.ico
|
||||
%%DRUPAL_BASE%%/misc/feed.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/grippie.png
|
||||
%%DRUPAL_BASE%%/misc/maintenance.css
|
||||
%%DRUPAL_BASE%%/misc/menu-collapsed.png
|
||||
%%DRUPAL_BASE%%/misc/menu-expanded.png
|
||||
%%DRUPAL_BASE%%/misc/menu-leaf.png
|
||||
%%DRUPAL_BASE%%/misc/powered-black-135x42.png
|
||||
%%DRUPAL_BASE%%/misc/powered-black-80x15.png
|
||||
%%DRUPAL_BASE%%/misc/powered-black-88x31.png
|
||||
%%DRUPAL_BASE%%/misc/powered-blue-135x42.png
|
||||
%%DRUPAL_BASE%%/misc/powered-blue-80x15.png
|
||||
%%DRUPAL_BASE%%/misc/powered-blue-88x31.png
|
||||
%%DRUPAL_BASE%%/misc/powered-gray-135x42.png
|
||||
%%DRUPAL_BASE%%/misc/powered-gray-80x15.png
|
||||
%%DRUPAL_BASE%%/misc/powered-gray-88x31.png
|
||||
%%DRUPAL_BASE%%/misc/print.css
|
||||
%%DRUPAL_BASE%%/misc/progress.gif
|
||||
%%DRUPAL_BASE%%/misc/progress.js
|
||||
%%DRUPAL_BASE%%/misc/textarea.js
|
||||
%%DRUPAL_BASE%%/misc/throbber.gif
|
||||
%%DRUPAL_BASE%%/misc/update.js
|
||||
%%DRUPAL_BASE%%/misc/upload.js
|
||||
%%DRUPAL_BASE%%/misc/watchdog-error.png
|
||||
%%DRUPAL_BASE%%/misc/xml.png
|
||||
%%DRUPAL_BASE%%/misc/arrow-asc.png
|
||||
%%DRUPAL_BASE%%/modules/watchdog.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/user.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/aggregator.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/style.css
|
||||
%%DRUPAL_BASE%%/themes/bluemarine/box.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/bluemarine/comment.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/bluemarine/logo.png
|
||||
%%DRUPAL_BASE%%/themes/bluemarine/node.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/bluemarine/page.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/bluemarine/screenshot.png
|
||||
%%DRUPAL_BASE%%/themes/bluemarine/block.tpl.php
|
||||
%%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/chameleon.theme
|
||||
%%DRUPAL_BASE%%/themes/chameleon/common.css
|
||||
%%DRUPAL_BASE%%/themes/chameleon/background.png
|
||||
%%DRUPAL_BASE%%/themes/chameleon/screenshot.png
|
||||
%%DRUPAL_BASE%%/themes/chameleon/style.css
|
||||
%%DRUPAL_BASE%%/themes/chameleon/logo.png
|
||||
%%DRUPAL_BASE%%/themes/engines/phptemplate/block.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/engines/phptemplate/box.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/engines/phptemplate/comment.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/engines/phptemplate/default.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/engines/phptemplate/node.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/engines/phptemplate/phptemplate.engine
|
||||
%%DRUPAL_BASE%%/themes/pushbutton/tabs-option-on.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/block.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/pushbutton/box.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/pushbutton/comment.tpl.php
|
||||
%%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/node.tpl.php
|
||||
%%DRUPAL_BASE%%/themes/pushbutton/page.tpl.php
|
||||
%%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/arrow-next-hover.png
|
||||
%%DRUPAL_BASE%%/update.php
|
||||
%%DRUPAL_BASE%%/xmlrpc.php
|
||||
@dirrm %%DRUPAL_BASE%%/themes/pushbutton
|
||||
@dirrm %%DRUPAL_BASE%%/themes/engines/phptemplate
|
||||
@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
|
Loading…
Reference in New Issue
Block a user