drupal7 ports, a few essentials which are more or less ready.
approved by sthen@
This commit is contained in:
parent
0dde427829
commit
38c54070ff
86
www/drupal7/Makefile
Normal file
86
www/drupal7/Makefile
Normal file
@ -0,0 +1,86 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/10 12:49:31 espie Exp $
|
||||
|
||||
SUBDIR =
|
||||
SUBDIR += CKeditor
|
||||
#SUBDIR += admin-menu GC ?
|
||||
#SUBDIR += advanced_help
|
||||
#SUBDIR += advanced_user
|
||||
SUBDIR += alternate_login
|
||||
SUBDIR += auto_nodetitle
|
||||
SUBDIR += backup_migrate
|
||||
#SUBDIR += blocks404
|
||||
#SUBDIR += bookmadesimple
|
||||
#SUBDIR += bueditor
|
||||
#SUBDIR += captcha
|
||||
#SUBDIR += cck_blocks
|
||||
#SUBDIR += ckeditor-link
|
||||
SUBDIR += compact_forms
|
||||
#SUBDIR += contemplate
|
||||
#SUBDIR += content_access 1.2beta1
|
||||
SUBDIR += core
|
||||
SUBDIR += ctools
|
||||
SUBDIR += date
|
||||
SUBDIR += devel
|
||||
#SUBDIR += dhtml_menu
|
||||
#SUBDIR += diff
|
||||
#SUBDIR += draft
|
||||
SUBDIR += entity
|
||||
#SUBDIR += faq
|
||||
#SUBDIR += filefield_sources
|
||||
SUBDIR += genpass
|
||||
SUBDIR += globalredirect
|
||||
#SUBDIR += imageapi
|
||||
#SUBDIR += jquery_ui
|
||||
#SUBDIR += ldap_integration
|
||||
#SUBDIR += lightbox2
|
||||
#SUBDIR += link
|
||||
#SUBDIR += linkchecker
|
||||
#SUBDIR += locale-de
|
||||
SUBDIR += locale-fr
|
||||
#SUBDIR += locale-it
|
||||
#SUBDIR += locale-ja
|
||||
#SUBDIR += masquerade 1.0rc4
|
||||
#SUBDIR += menu_force
|
||||
#SUBDIR += metatag 1.0alpha5
|
||||
#SUBDIR += modalframe
|
||||
SUBDIR += nodeaccess_userreference
|
||||
#SUBDIR += nodetype
|
||||
#SUBDIR += noderelationships
|
||||
#SUBDIR += notify
|
||||
#SUBDIR += override_node_options
|
||||
#SUBDIR += panels
|
||||
#SUBDIR += password_strength
|
||||
SUBDIR += pathauto
|
||||
#SUBDIR += phpmailer
|
||||
#SUBDIR += pngfix
|
||||
SUBDIR += printer-friendly
|
||||
#SUBDIR += publishcontent
|
||||
#SUBDIR += relevant_content
|
||||
SUBDIR += references
|
||||
#SUBDIR += rolereference
|
||||
SUBDIR += rules
|
||||
SUBDIR += scheduler
|
||||
#SUBDIR += schema 1.0beta3
|
||||
#SUBDIR += search_config
|
||||
SUBDIR += securelogin
|
||||
#SUBDIR += session_api
|
||||
#SUBDIR += spamspan
|
||||
#SUBDIR += tables
|
||||
#SUBDIR += theme-acquia-marina
|
||||
SUBDIR += theme-danland
|
||||
#SUBDIR += theme-newsflash n/a for 7
|
||||
#SUBDIR += theme-zen
|
||||
#SUBDIR += themesettingsapi
|
||||
SUBDIR += token
|
||||
#SUBDIR += transliteration
|
||||
#SUBDIR += ubercart
|
||||
#SUBDIR += user_import
|
||||
#SUBDIR += user_pic_perm n/a for 7
|
||||
#SUBDIR += user_readonly
|
||||
#SUBDIR += view_unpublished
|
||||
SUBDIR += views
|
||||
#SUBDIR += views_bulk_operations
|
||||
SUBDIR += webform
|
||||
#SUBDIR += workflow
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
18
www/drupal7/Makefile.inc
Normal file
18
www/drupal7/Makefile.inc
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.1.1.1 2012/04/10 12:49:31 espie Exp $
|
||||
|
||||
|
||||
MODULES += www/drupal7
|
||||
|
||||
# GPL
|
||||
PERMIT_DISTFILES_CDROM ?=Yes
|
||||
PERMIT_DISTFILES_FTP ?= Yes
|
||||
PERMIT_PACKAGE_CDROM ?= Yes
|
||||
PERMIT_PACKAGE_FTP ?= Yes
|
||||
|
||||
NO_BUILD ?= Yes
|
||||
NO_REGRESS ?= Yes
|
||||
|
||||
.if !target(do-install)
|
||||
do-install:
|
||||
${MODDRUPAL_INSTALL}
|
||||
.endif
|
9
www/drupal7/auto_nodetitle/Makefile
Normal file
9
www/drupal7/auto_nodetitle/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/10 12:49:31 espie Exp $
|
||||
|
||||
COMMENT = automatic node titles for drupal
|
||||
MAINTAINER = Marc Espie <espie@openbsd.org>
|
||||
|
||||
DISTNAME = auto_nodetitle-7.x-1.0
|
||||
PKGNAME = drupal7-automatic-nodetitle-1.0
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/drupal7/auto_nodetitle/distinfo
Normal file
5
www/drupal7/auto_nodetitle/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (drupal7/auto_nodetitle-7.x-1.0.tar.gz) = F89LhL+Eqy5ZI4O9TVZV9A==
|
||||
RMD160 (drupal7/auto_nodetitle-7.x-1.0.tar.gz) = YTUoP0DH47noIN0GXMGMl8OaS7Y=
|
||||
SHA1 (drupal7/auto_nodetitle-7.x-1.0.tar.gz) = /OJIJ1VD3GVAJIx4qwOZGx3FVn0=
|
||||
SHA256 (drupal7/auto_nodetitle-7.x-1.0.tar.gz) = aZwe9qTg+uggGKVIm401rd8gQ5sPqCla88e7eeQMjTY=
|
||||
SIZE (drupal7/auto_nodetitle-7.x-1.0.tar.gz) = 9771
|
8
www/drupal7/auto_nodetitle/pkg/DESCR
Normal file
8
www/drupal7/auto_nodetitle/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
Manually choosing good content titles is good.
|
||||
|
||||
If you have a structured site, deducing an automatic
|
||||
content title from the submission (using tokens) is
|
||||
much easier to do.
|
||||
|
||||
Either use to suggest good content titles, or to disable
|
||||
manual content titles entirely. Per-content type configurable.
|
10
www/drupal7/auto_nodetitle/pkg/PLIST
Normal file
10
www/drupal7/auto_nodetitle/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/10 12:49:31 espie Exp $
|
||||
@owner ${DRUPAL_OWNER}
|
||||
@group ${DRUPAL_GROUP}
|
||||
${DRUPAL_MODS}auto_nodetitle/
|
||||
${DRUPAL_MODS}auto_nodetitle/LICENSE.txt
|
||||
${DRUPAL_MODS}auto_nodetitle/README.txt
|
||||
${DRUPAL_MODS}auto_nodetitle/auto_nodetitle.info
|
||||
${DRUPAL_MODS}auto_nodetitle/auto_nodetitle.install
|
||||
${DRUPAL_MODS}auto_nodetitle/auto_nodetitle.js
|
||||
${DRUPAL_MODS}auto_nodetitle/auto_nodetitle.module
|
11
www/drupal7/backup_migrate/Makefile
Normal file
11
www/drupal7/backup_migrate/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/10 12:49:31 espie Exp $
|
||||
|
||||
COMMENT = backup mysql database directly from drupal
|
||||
MAINTAINER = Marc Espie <espie@openbsd.org>
|
||||
|
||||
DISTNAME = backup_migrate-7.x-2.2
|
||||
PKGNAME = drupal7-backup-migrate-2.2
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/${DRUPAL_ROOT}/files/backup_migrate
|
||||
.include <bsd.port.mk>
|
5
www/drupal7/backup_migrate/distinfo
Normal file
5
www/drupal7/backup_migrate/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (drupal7/backup_migrate-7.x-2.2.tar.gz) = mP9u0MGllrMA0F9BKhgZyw==
|
||||
RMD160 (drupal7/backup_migrate-7.x-2.2.tar.gz) = LtNBdYdQZNZ63ZiNdzT6cIO6O/M=
|
||||
SHA1 (drupal7/backup_migrate-7.x-2.2.tar.gz) = HErJgNsd4B7I5TPeUVglxs3H8Vk=
|
||||
SHA256 (drupal7/backup_migrate-7.x-2.2.tar.gz) = x+lq17JehXn5XJgy2Wnu4f2b0Sl0/S04ydEVSwideXI=
|
||||
SIZE (drupal7/backup_migrate-7.x-2.2.tar.gz) = 61448
|
7
www/drupal7/backup_migrate/pkg/DESCR
Normal file
7
www/drupal7/backup_migrate/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
allows easy backup of the drupal database to a file of sql statements,
|
||||
by selecting which tables you don't need.
|
||||
|
||||
This module does NOT WORK if you're using postgresql.
|
||||
|
||||
You will have to configure and use pg_dump(1) to achieve
|
||||
equivalent functionality.
|
35
www/drupal7/backup_migrate/pkg/PLIST
Normal file
35
www/drupal7/backup_migrate/pkg/PLIST
Normal file
@ -0,0 +1,35 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/10 12:49:31 espie Exp $
|
||||
@group ${DRUPAL_GROUP}
|
||||
@owner ${DRUPAL_OWNER}
|
||||
${DRUPAL_ROOT}/files/
|
||||
${DRUPAL_ROOT}/files/backup_migrate/
|
||||
${DRUPAL_MODS}backup_migrate/
|
||||
${DRUPAL_MODS}backup_migrate/LICENSE.txt
|
||||
${DRUPAL_MODS}backup_migrate/README.txt
|
||||
${DRUPAL_MODS}backup_migrate/backup_migrate.css
|
||||
${DRUPAL_MODS}backup_migrate/backup_migrate.info
|
||||
${DRUPAL_MODS}backup_migrate/backup_migrate.install
|
||||
${DRUPAL_MODS}backup_migrate/backup_migrate.js
|
||||
${DRUPAL_MODS}backup_migrate/backup_migrate.module
|
||||
${DRUPAL_MODS}backup_migrate/includes/
|
||||
${DRUPAL_MODS}backup_migrate/includes/backup_migrate.drush.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/crud.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/db.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/db.mysql.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/destinations.browser.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/destinations.db.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/destinations.db.mysql.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/destinations.email.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/destinations.file.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/destinations.ftp.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/destinations.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/destinations.s3.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/files.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/filters.backup_restore.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/filters.compression.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/filters.encryption.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/filters.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/filters.statusnotify.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/filters.utils.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/profiles.inc
|
||||
${DRUPAL_MODS}backup_migrate/includes/schedules.inc
|
70
www/drupal7/drupal7.port.mk
Normal file
70
www/drupal7/drupal7.port.mk
Normal file
@ -0,0 +1,70 @@
|
||||
# $OpenBSD: drupal7.port.mk,v 1.1.1.1 2012/04/10 12:49:31 espie Exp $
|
||||
|
||||
|
||||
# three types of things we can install, by default plugin
|
||||
MODDRUPAL_THEME ?= No
|
||||
|
||||
.if defined(LANG)
|
||||
MODDRUPAL_LANG ?= Yes
|
||||
.else
|
||||
MODDRUPAL_LANG ?= No
|
||||
.endif
|
||||
|
||||
|
||||
DIST_SUBDIR ?= drupal7
|
||||
CATEGORIES += www www/drupal7
|
||||
|
||||
.if ${MODDRUPAL_LANG:L} == "yes"
|
||||
SUBDIR = translations/7.x
|
||||
COMMENT = drupal ${LANG} translation
|
||||
EXTRACT_SUFX ?=
|
||||
HOMEPAGE ?= http://localize.drupal.org/translate/languages/${LANG}/
|
||||
MASTER_SITES ?= ftp://ftp.drupal.org/pub/drupal/files/${SUBDIR}/
|
||||
. for p v in ${LANGFILES}
|
||||
DISTFILES += $p/$p-7.x-$v.${LANG}.po
|
||||
. endfor
|
||||
.else
|
||||
SUBDIR = projects
|
||||
HOMEPAGE ?= http://drupal.org/
|
||||
MASTER_SITES ?= http://www.drupal.org/files/${SUBDIR}/ \
|
||||
ftp://ftp.drupal.org/pub/drupal/files/${SUBDIR}/
|
||||
.endif
|
||||
|
||||
PKG_ARCH ?= *
|
||||
|
||||
.if !defined(WRKDIST)
|
||||
WRKDIST = ${WRKDIR}/${DISTNAME:C/-7.x.*$//}
|
||||
.endif
|
||||
|
||||
PREFIX ?= /var/www
|
||||
DRUPAL ?= drupal7
|
||||
DRUPAL_ROOT ?= htdocs/${DRUPAL}
|
||||
DRUPAL_MODS ?= ${DRUPAL_ROOT}/sites/all/modules/
|
||||
DRUPAL_THEMES ?=${DRUPAL_ROOT}/sites/all/themes/
|
||||
DRUPAL_TRANSLATIONS ?= ${DRUPAL_ROOT}/profiles/standard/translations/
|
||||
DRUPAL_OWNER = root
|
||||
DRUPAL_GROUP = daemon
|
||||
SUBST_VARS += DRUPAL_MODS DRUPAL_THEMES DRUPAL_ROOT \
|
||||
DRUPAL_OWNER DRUPAL_GROUP DRUPAL
|
||||
|
||||
.if ${MODDRUPAL_THEME:L} == "yes"
|
||||
MODDRUPAL_INSTALL = \
|
||||
mkdir -p ${PREFIX}/${DRUPAL_THEMES}; \
|
||||
cp -R ${WRKDIST} ${PREFIX}/${DRUPAL_THEMES}; \
|
||||
chown -R ${DRUPAL_OWNER}.${DRUPAL_GROUP} ${PREFIX}/${DRUPAL_THEMES}
|
||||
.elif ${MODDRUPAL_LANG:L} == "yes"
|
||||
MODDRUPAL_INSTALL = \
|
||||
mkdir -p ${PREFIX}/${DRUPAL_TRANSLATIONS}; \
|
||||
for i in ${DISTFILES}; do \
|
||||
cp ${FULLDISTDIR}/$$i ${PREFIX}/${DRUPAL_TRANSLATIONS}; \
|
||||
done; \
|
||||
chown -R ${DRUPAL_OWNER}.${DRUPAL_GROUP} ${PREFIX}/${DRUPAL_TRANSLATIONS};
|
||||
SUBST_VARS += LANG
|
||||
.else
|
||||
MODDRUPAL_INSTALL = \
|
||||
mkdir -p ${PREFIX}/${DRUPAL_MODS}; \
|
||||
cp -R ${WRKDIST} ${PREFIX}/${DRUPAL_MODS}; \
|
||||
chown -R ${DRUPAL_OWNER}.${DRUPAL_GROUP} ${PREFIX}/${DRUPAL_MODS}
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS ?= drupal->=7,<8:www/drupal7/core
|
Loading…
x
Reference in New Issue
Block a user