1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Migrate all drupal ports to USES=drupal

This commit is contained in:
Baptiste Daroussin 2014-06-18 12:17:26 +00:00
parent a8e29575e4
commit 97b074dddd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358250
33 changed files with 46 additions and 90 deletions

View File

@ -10,8 +10,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= rea@FreeBSD.org
COMMENT= Allows to store module help pages outside the module system
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= help \
help_example/help help_example/translations help_example \
translations/help/de translations/help translations

View File

@ -10,8 +10,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= rea@FreeBSD.org
COMMENT= Drupal 6 Content Construction Kit module
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= translations/help/de translations/help translations \
theme tests \
modules/userreference/translations modules/userreference/panels/relationships \

View File

@ -10,8 +10,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= ports@FreeBSD.org
COMMENT= Drupal 6.x Chaos tool suite module
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= views_content/translations views_content/plugins/views/translations \
views_content/plugins/views views_content/plugins/content_types/translations \

View File

@ -14,8 +14,7 @@ EXTRACT_ONLY= ckeditor-6.x-1.1.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Drupal 6.x Ckeditor WYSIWYG HTML editor
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= translations plugins/mediaembed/images \
plugins/mediaembed plugins/linktonode/jscripts \
@ -314,9 +313,7 @@ DOC_FILES= ckeditor/LICENSE.html ckeditor/INSTALL.html \
TROUBLESHOOTING.txt README.txt \
LICENSE.txt CHANGELOG.txt
.include <bsd.port.pre.mk>
post-extract:
@cd ${WRKSRC} && ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/ckeditor_3.3.tar.gz
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -9,8 +9,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= ports@FreeBSD.org
COMMENT= Drupal 6.x Content Access module
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= translations tests

View File

@ -14,9 +14,8 @@ RUN_DEPENDS= ${LOCALBASE}/lib/php/geshi/geshi.php:${PORTSDIR}/devel/php5-geshi
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
USES= drupal:6,module
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
MODULE_DIRS= geshi-extra tests translations
MODULE_FILES= geshi-extra/drupal5.php geshi-extra/drupal6.php \
geshifilter.admin.inc geshifilter.conflicts.inc \

View File

@ -8,8 +8,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= Adds the Google Analytics web stats tracking system to your website
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= googleanalytics.admin.inc googleanalytics.install googleanalytics.module \
googleanalytics.info googleanalytics.js googleanalytics.test

View File

@ -9,8 +9,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= ports@FreeBSD.org
COMMENT= Drupal 6.x image upload module
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6:module
MODULE_DIRS= views/theme views translations tests \
contrib/image_import/translations \

View File

@ -10,8 +10,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= ports@FreeBSD.org
COMMENT= Drupal 6.x image/file uploader module
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= translations tpl js inc css

View File

@ -8,8 +8,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= Drupal module to provide configurable menu tree blocks
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= menu-block-wrapper.tpl.php menu_block.admin.inc menu_block.book.inc menu_block.info \
menu_block.module menu_block.sort.inc menu-block-admin.css menu-block.js menu_block.api.php \
menu_block.follow.inc menu_block.install menu_block.pages.inc \

View File

@ -9,8 +9,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= wenheping@gmail.com
COMMENT= An API for Consistent Server Side Mime Detection
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= magic magic.mgc magic.mime \
mimedetect.info mimedetect.install mimedetect.module

View File

@ -8,8 +8,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= CSS / JavaScript pull-down menus for Drupal
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= superfish/js superfish translations
MODULE_FILES= arrow-right.png nice_menus.install nice_menus_default-rtl.css \

View File

@ -8,8 +8,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= A drupal module which allows the end-user to set meta tags for nodes
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= nodewords_basic nodewords_extra includes nodewords_og
MODULE_FILES= includes/forum.inc includes/image.inc includes/node.inc \
includes/taxonomy.inc includes/taxonomy_menu.inc includes/uc_catalog.inc \

View File

@ -10,8 +10,7 @@ COMMENT= Drupal module to provide fine-grained control of page titles
RUN_DEPENDS= drupal6-token>=0:${PORTSDIR}/www/drupal6-token
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= page_title-admin-settings-form.tpl.php page_title.install page_title.views.inc \
views_handler_field_node_page_title.inc page_title.admin.css page_title.js \
page_title.views_default.inc page_title.admin.inc page_title.legacy.inc \

View File

@ -10,8 +10,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= ports@FreeBSD.org
COMMENT= Drupal 6.x panels module
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= translations templates plugins/task_handlers \
plugins/styles/corners plugins/styles \

View File

@ -8,8 +8,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= Drupal module to allow redirects
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= generate/path_redirect_generate.drush.inc \
generate/path_redirect_generate.info \

View File

@ -10,8 +10,7 @@ COMMENT= Automatically generates URLs for Drupal content
RUN_DEPENDS= drupal6-token>=0:${PORTSDIR}/www/drupal6-token
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= pathauto.admin.inc pathauto.inc pathauto.install pathauto.module \
pathauto.test pathauto.api.php pathauto.info pathauto.js \
pathauto.pathauto.inc pathauto.tokens.inc

View File

@ -10,8 +10,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= rea@FreeBSD.org
COMMENT= Drupal 6 module that add printer-friendly pages
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= icons translations
MODULE_FILES= icons/mail_icon.gif icons/pdf_icon.gif icons/print_icon.gif \
print-rtl.css print.admin.inc print.css print.info \

View File

@ -8,8 +8,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= Drupal module to provide checklist of actions for SEO
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= seochecklist.info seochecklist.install seochecklist.module
DOC_FILES= LICENSE.txt README.txt

View File

@ -8,8 +8,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= Provide an API for creating drupal web services.
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= auth/services_keyauth auth servers/xmlrpc_server servers \
services/comment_service services/file_service \
services/menu_service services/node_service \

View File

@ -10,8 +10,7 @@ MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= rea@FreeBSD.org
COMMENT= Tagadelic module for Drupal 6
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= translations
MODULE_FILES= tagadelic.css tagadelic.info tagadelic.install \
tagadelic.module \

View File

@ -9,8 +9,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= Token module for Drupal
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= translations/token.pot translations/da.po translations/de.po \
translations/es.po translations/hu.po translations/ja.po \
translations/pl.po translations/sk.po translations/uk-ua.po \

View File

@ -9,8 +9,7 @@ CATEGORIES= www
MAINTAINER= rea@FreeBSD.org
COMMENT= Controls how content lists are generated
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_DIRS= css \
docs \
handlers \

View File

@ -9,8 +9,7 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= Drupal module to allow easy creation of forms
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= components/date.inc \
components/email.inc \

View File

@ -16,8 +16,7 @@ RUN_DEPENDS+= ${LOCALBASE}/${TINYMCEDIR}:${PORTSDIR}/www/tinymce3
PLIST_FILES+= ${DRUPAL_MODDIR}/tinymce
USE_DRUPAL= yes
DRUPAL6_MODULE= yes
USES= drupal:6,module
MODULE_FILES= editors/css/openwysiwyg.css \
editors/css/tinymce-2.css \
editors/css/tinymce-3.css \

View File

@ -9,9 +9,8 @@ CATEGORIES= www
MAINTAINER= miwi@FreeBSD.org
COMMENT= The zeropoint drupal theme
USES= drupal:6,theme
USE_PHP= ctype
USE_DRUPAL= yes
DRUPAL6_THEME= yes
MODULE_DIRS= _custom/headerimg _custom css images/all images/ink \
images/icons/blocks images/icons images/ivy images/lime \
images/nature images/sangue images/sky images js

View File

@ -11,8 +11,7 @@ DIST_SUBDIR= drupal
MAINTAINER= miwi@FreeBSD.org
COMMENT= A database driven web content management system (CMS)
USE_DRUPAL= yes
DRUPAL6_PORT= yes
USES= drupal:6
USE_PHP= gd pcre session xml mbstring
WANT_PHP_WEB= yes
@ -57,10 +56,7 @@ do-install:
${MKDIR} ${STAGEDIR}${DRUPAL_DIR}/sites/all
${CP} ${WRKSRC}/sites/all/README.txt ${STAGEDIR}${DRUPAL_DIR}/sites/all/
${MKDIR} ${STAGEDIR}${DRUPAL_DIR}/sites/default
${CP} ${WRKSRC}/sites/default/default.settings.php ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php-dist
@if [ ! -f ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php ]; then \
${CP} -p ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php-dist ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php ; \
fi
${CP} ${WRKSRC}/sites/default/default.settings.php ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php.sample
${CP} -R ${WRKSRC}/themes ${STAGEDIR}${DRUPAL_DIR}
${CP} ${WRKSRC}/update.php ${STAGEDIR}${DRUPAL_DIR}
${CP} ${WRKSRC}/xmlrpc.php ${STAGEDIR}${DRUPAL_DIR}
@ -68,6 +64,5 @@ do-install:
${TOUCH} ${STAGEDIR}${DRUPAL_DIR}/sites/all/modules/.keepme ${STAGEDIR}${DRUPAL_DIR}/sites/all/themes/.keepme
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${DRUPAL_DIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
@owner www
@group www
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.txt
%%PORTDOCS%%%%DOCSDIR%%/MAINTAINERS.txt
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.mysql.txt
@ -341,8 +343,7 @@
%%DRUPAL_BASE%%/sites/all/README.txt
%%DRUPAL_BASE%%/sites/all/modules/.keepme
%%DRUPAL_BASE%%/sites/all/themes/.keepme
%%DRUPAL_BASE%%/sites/default/default.settings.php
%%DRUPAL_BASE%%/sites/default/default.settings.php-dist
@sample %%DRUPAL_BASE%%/sites/default/default.settings.php.sample
%%DRUPAL_BASE%%/themes/README.txt
%%DRUPAL_BASE%%/themes/bluemarine/block.tpl.php
%%DRUPAL_BASE%%/themes/bluemarine/bluemarine.info
@ -529,4 +530,5 @@
@dirrmtry %%DRUPAL_BASE%%/modules
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@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
@owner root
@group wheel

View File

@ -5,19 +5,15 @@ PORTNAME= jailadmin
DISTVERSION= 7.x-0.6.2
CATEGORIES= www
MASTER_SITES= http://0xfeedface.org/~shawn/projects/jailadmin/ \
http://mirrors.rit.edu/zi/
http://mirrors.rit.edu/zi/
MAINTAINER= lattera@gmail.com
COMMENT= Drupal 7 module for administering FreeBSD vnet jails
LICENSE= BSD
USE_DRUPAL= yes
USES= drupal:7,module
.include <bsd.port.options.mk>
DRUPAL_MODULE= yes
DRUPAL_VERSION= 7
MODULE_FILES= README \
jailadmin.admin.inc \
jailadmin.drush.inc \

View File

@ -11,12 +11,8 @@ COMMENT= Drupal 7 module frontend for Skipfish
LICENSE= BSD
USE_DRUPAL= yes
USES= drupal:7,module
.include <bsd.port.options.mk>
DRUPAL_MODULE= yes
DRUPAL_VERSION= 7
MODULE_FILES= vulnscan.info \
vulnscan.module \
scan.inc \

View File

@ -10,7 +10,7 @@ COMMENT= Allows implementation of WYSIWYG editors for editing Drupal content
#LICENSE from bsd.drupal.mk
USE_DRUPAL= yes
USES= drupal:7,module
OPTIONS_DEFINE= TINYMCE3 CKEDITOR YUI
@ -35,8 +35,6 @@ RUN_DEPENDS+= ${LOCALBASE}/www/yui:${PORTSDIR}/www/yahoo-ui
PLIST_FILES+= ${DRUPAL_MODLIB}/yui
.endif
DRUPAL_MODULE= yes
DRUPAL_VERSION= 7
MODULE_FILES= editors/css/openwysiwyg.css \
editors/css/tinymce-2.css \
editors/css/tinymce-3.css \

View File

@ -3,6 +3,7 @@
PORTNAME= drupal7
PORTVERSION= 7.28
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://ftp.drupal.org/files/projects/
DISTNAME= drupal-${PORTVERSION}
@ -14,9 +15,7 @@ COMMENT= Database driven web content management system (CMS)
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
USE_DRUPAL= yes
DRUPAL_PORT= yes
DRUPAL_VERSION= 7
USES= drupal:7
USE_PHP= dom filter gd hash json mbstring pcre pdo session simplexml xml
WANT_PHP_WEB= yes
@ -65,16 +64,12 @@ do-install:
${CP} -R ${WRKSRC}/sites/all ${STAGEDIR}${DRUPAL_DIR}/sites/
${MKDIR} ${STAGEDIR}${DRUPAL_DIR}/sites/default
${MKDIR} ${STAGEDIR}${DRUPAL_DIR}/sites/default/files
${CP} ${WRKSRC}/sites/default/default.settings.php ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php-dist
@if [ ! -f ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php ]; then \
${CP} -p ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php-dist ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php ; \
fi
${CP} ${WRKSRC}/sites/default/default.settings.php ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php.sample
${CP} -R ${WRKSRC}/themes ${STAGEDIR}${DRUPAL_DIR}
${CP} ${WRKSRC}/update.php ${STAGEDIR}${DRUPAL_DIR}
${CP} ${WRKSRC}/web.config ${STAGEDIR}${DRUPAL_DIR}
${CP} ${WRKSRC}/xmlrpc.php ${STAGEDIR}${DRUPAL_DIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${DRUPAL_DIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
@owner www
@group www
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.txt
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.mysql.txt
@ -959,8 +961,7 @@
%%DRUPAL_BASE%%/scripts/test.script
%%DRUPAL_BASE%%/sites/all/modules/README.txt
%%DRUPAL_BASE%%/sites/all/themes/README.txt
%%DRUPAL_BASE%%/sites/default/default.settings.php
%%DRUPAL_BASE%%/sites/default/default.settings.php-dist
@sample %%DRUPAL_BASE%%/sites/default/default.settings.php.sample
%%DRUPAL_BASE%%/sites/example.sites.php
%%DRUPAL_BASE%%/themes/README.txt
%%DRUPAL_BASE%%/themes/bartik/bartik.info
@ -1210,4 +1211,5 @@
@dirrm %%DRUPAL_BASE%%/includes
@dirrmtry %%DRUPAL_BASE%%/
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@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
@owner root
@group wheel