rename LANG to DRUPAL_LANG to avoid clash with locale setting

This commit is contained in:
naddy 2012-04-12 08:16:06 +00:00
parent ea8767e120
commit fa74f05d16
11 changed files with 177 additions and 177 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: drupal6.port.mk,v 1.7 2010/11/22 08:36:47 espie Exp $
# $OpenBSD: drupal6.port.mk,v 1.8 2012/04/12 08:16:06 naddy Exp $
# three types of things we can install, by default plugin
MODDRUPAL_THEME ?= No
.if defined(LANG)
.if defined(DRUPAL_LANG)
MODDRUPAL_LANG ?= Yes
.else
MODDRUPAL_LANG ?= No
@ -43,7 +43,7 @@ MODDRUPAL_INSTALL = \
mkdir -p ${PREFIX}/${DRUPAL_ROOT}; \
cp -R ${WRKDIST}/* ${PREFIX}/${DRUPAL_ROOT}; \
chown -R ${DRUPAL_OWNER}.${DRUPAL_GROUP} ${PREFIX}/${DRUPAL_ROOT}
SUBST_VARS += LANG
SUBST_VARS += DRUPAL_LANG
.else
MODDRUPAL_INSTALL = \
mkdir -p ${PREFIX}/${DRUPAL_MODS}; \

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.7 2012/01/28 11:24:10 espie Exp $
# $OpenBSD: Makefile,v 1.8 2012/04/12 08:16:06 naddy Exp $
COMMENT = french translation
MAINTAINER = Marc Espie <espie@openbsd.org>
LANG = fr
DRUPAL_LANG = fr
EXTRACT_ONLY =
DISTNAME = ${LANG}-6.x-1.0
PKGNAME = drupal6-${LANG}-1.0
DISTNAME = ${DRUPAL_LANG}-6.x-1.0
PKGNAME = drupal6-${DRUPAL_LANG}-1.0
REVISION = 3
post-extract:

View File

@ -1,85 +1,85 @@
@comment $OpenBSD: PLIST,v 1.3 2009/07/27 12:39:05 espie Exp $
@comment $OpenBSD: PLIST,v 1.4 2012/04/12 08:16:06 naddy Exp $
@owner ${DRUPAL_OWNER}
@group ${DRUPAL_GROUP}
${DRUPAL_ROOT}/CONTRIBUTORS.${LANG}.txt
${DRUPAL_ROOT}/LICENSE.${LANG}.txt
${DRUPAL_ROOT}/README.${LANG}.txt
${DRUPAL_ROOT}/STATUS.${LANG}.txt
${DRUPAL_ROOT}/CONTRIBUTORS.${DRUPAL_LANG}.txt
${DRUPAL_ROOT}/LICENSE.${DRUPAL_LANG}.txt
${DRUPAL_ROOT}/README.${DRUPAL_LANG}.txt
${DRUPAL_ROOT}/STATUS.${DRUPAL_LANG}.txt
${DRUPAL_ROOT}/modules/aggregator/translations/
${DRUPAL_ROOT}/modules/aggregator/translations/modules-aggregator.${LANG}.po
${DRUPAL_ROOT}/modules/aggregator/translations/modules-aggregator.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/block/translations/
${DRUPAL_ROOT}/modules/block/translations/modules-block.${LANG}.po
${DRUPAL_ROOT}/modules/block/translations/modules-block.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/blog/translations/
${DRUPAL_ROOT}/modules/blog/translations/modules-blog.${LANG}.po
${DRUPAL_ROOT}/modules/blog/translations/modules-blog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/blogapi/translations/
${DRUPAL_ROOT}/modules/blogapi/translations/modules-blogapi.${LANG}.po
${DRUPAL_ROOT}/modules/blogapi/translations/modules-blogapi.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/book/translations/
${DRUPAL_ROOT}/modules/book/translations/modules-book.${LANG}.po
${DRUPAL_ROOT}/modules/book/translations/modules-book.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/color/translations/
${DRUPAL_ROOT}/modules/color/translations/modules-color.${LANG}.po
${DRUPAL_ROOT}/modules/color/translations/modules-color.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/comment/translations/
${DRUPAL_ROOT}/modules/comment/translations/modules-comment.${LANG}.po
${DRUPAL_ROOT}/modules/comment/translations/modules-comment.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/contact/translations/
${DRUPAL_ROOT}/modules/contact/translations/modules-contact.${LANG}.po
${DRUPAL_ROOT}/modules/contact/translations/modules-contact.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/dblog/translations/
${DRUPAL_ROOT}/modules/dblog/translations/modules-dblog.${LANG}.po
${DRUPAL_ROOT}/modules/dblog/translations/modules-dblog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/filter/translations/
${DRUPAL_ROOT}/modules/filter/translations/modules-filter.${LANG}.po
${DRUPAL_ROOT}/modules/filter/translations/modules-filter.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/forum/translations/
${DRUPAL_ROOT}/modules/forum/translations/modules-forum.${LANG}.po
${DRUPAL_ROOT}/modules/forum/translations/modules-forum.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/help/translations/
${DRUPAL_ROOT}/modules/help/translations/modules-help.${LANG}.po
${DRUPAL_ROOT}/modules/help/translations/modules-help.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/locale/translations/
${DRUPAL_ROOT}/modules/locale/translations/modules-locale.${LANG}.po
${DRUPAL_ROOT}/modules/locale/translations/modules-locale.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/menu/translations/
${DRUPAL_ROOT}/modules/menu/translations/modules-menu.${LANG}.po
${DRUPAL_ROOT}/modules/menu/translations/modules-menu.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/node/translations/
${DRUPAL_ROOT}/modules/node/translations/modules-node.${LANG}.po
${DRUPAL_ROOT}/modules/node/translations/modules-node.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/openid/translations/
${DRUPAL_ROOT}/modules/openid/translations/modules-openid.${LANG}.po
${DRUPAL_ROOT}/modules/openid/translations/modules-openid.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/path/translations/
${DRUPAL_ROOT}/modules/path/translations/modules-path.${LANG}.po
${DRUPAL_ROOT}/modules/path/translations/modules-path.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/php/translations/
${DRUPAL_ROOT}/modules/php/translations/modules-php.${LANG}.po
${DRUPAL_ROOT}/modules/php/translations/modules-php.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/ping/translations/
${DRUPAL_ROOT}/modules/ping/translations/modules-ping.${LANG}.po
${DRUPAL_ROOT}/modules/ping/translations/modules-ping.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/poll/translations/
${DRUPAL_ROOT}/modules/poll/translations/modules-poll.${LANG}.po
${DRUPAL_ROOT}/modules/poll/translations/modules-poll.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/profile/translations/
${DRUPAL_ROOT}/modules/profile/translations/modules-profile.${LANG}.po
${DRUPAL_ROOT}/modules/profile/translations/modules-profile.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/search/translations/
${DRUPAL_ROOT}/modules/search/translations/modules-search.${LANG}.po
${DRUPAL_ROOT}/modules/search/translations/modules-search.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/statistics/translations/
${DRUPAL_ROOT}/modules/statistics/translations/modules-statistics.${LANG}.po
${DRUPAL_ROOT}/modules/statistics/translations/modules-statistics.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/syslog/translations/
${DRUPAL_ROOT}/modules/syslog/translations/modules-syslog.${LANG}.po
${DRUPAL_ROOT}/modules/syslog/translations/modules-syslog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/
${DRUPAL_ROOT}/modules/system/translations/general.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/includes.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/misc.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/modules-system.${LANG}.po
@comment ${DRUPAL_ROOT}/modules/system/translations/modules-system.${LANG}.po.orig
${DRUPAL_ROOT}/modules/system/translations/general.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/includes.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/misc.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/modules-system.${DRUPAL_LANG}.po
@comment ${DRUPAL_ROOT}/modules/system/translations/modules-system.${DRUPAL_LANG}.po.orig
${DRUPAL_ROOT}/modules/taxonomy/translations/
${DRUPAL_ROOT}/modules/taxonomy/translations/modules-taxonomy.${LANG}.po
${DRUPAL_ROOT}/modules/taxonomy/translations/modules-taxonomy.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/throttle/translations/
${DRUPAL_ROOT}/modules/throttle/translations/modules-throttle.${LANG}.po
${DRUPAL_ROOT}/modules/throttle/translations/modules-throttle.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/tracker/translations/
${DRUPAL_ROOT}/modules/tracker/translations/modules-tracker.${LANG}.po
${DRUPAL_ROOT}/modules/tracker/translations/modules-tracker.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/translation/translations/
${DRUPAL_ROOT}/modules/translation/translations/modules-translation.${LANG}.po
${DRUPAL_ROOT}/modules/translation/translations/modules-translation.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/trigger/translations/
${DRUPAL_ROOT}/modules/trigger/translations/modules-trigger.${LANG}.po
${DRUPAL_ROOT}/modules/trigger/translations/modules-trigger.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/update/translations/
${DRUPAL_ROOT}/modules/update/translations/modules-update.${LANG}.po
${DRUPAL_ROOT}/modules/update/translations/modules-update.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/upload/translations/
${DRUPAL_ROOT}/modules/upload/translations/modules-upload.${LANG}.po
${DRUPAL_ROOT}/modules/upload/translations/modules-upload.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/user/translations/
${DRUPAL_ROOT}/modules/user/translations/modules-user.${LANG}.po
${DRUPAL_ROOT}/modules/user/translations/modules-user.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/default/translations/
${DRUPAL_ROOT}/profiles/default/translations/${LANG}.po
${DRUPAL_ROOT}/profiles/default/translations/${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/chameleon/translations/
${DRUPAL_ROOT}/themes/chameleon/translations/themes-chameleon.${LANG}.po
${DRUPAL_ROOT}/themes/chameleon/translations/themes-chameleon.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/garland/translations/
${DRUPAL_ROOT}/themes/garland/translations/themes-garland.${LANG}.po
${DRUPAL_ROOT}/themes/garland/translations/themes-garland.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/pushbutton/translations/
${DRUPAL_ROOT}/themes/pushbutton/translations/themes-pushbutton.${LANG}.po
${DRUPAL_ROOT}/themes/pushbutton/translations/themes-pushbutton.${DRUPAL_LANG}.po

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.6 2012/01/28 11:33:34 espie Exp $
# $OpenBSD: Makefile,v 1.7 2012/04/12 08:16:06 naddy Exp $
COMMENT = italian translation
LANG = it
DRUPAL_LANG = it
EXTRACT_ONLY =
DISTNAME = ${LANG}-6.x-1.4
PKGNAME = drupal6-${LANG}-1.4
DISTNAME = ${DRUPAL_LANG}-6.x-1.4
PKGNAME = drupal6-${DRUPAL_LANG}-1.4
REVISION = 3
post-extract:

View File

@ -1,82 +1,82 @@
@comment $OpenBSD: PLIST,v 1.3 2009/07/27 12:39:36 espie Exp $
@comment $OpenBSD: PLIST,v 1.4 2012/04/12 08:16:06 naddy Exp $
@owner ${DRUPAL_OWNER}
@group ${DRUPAL_GROUP}
${DRUPAL_ROOT}/LICENSE.${LANG}.txt
${DRUPAL_ROOT}/STATUS.${LANG}.txt
${DRUPAL_ROOT}/LICENSE.${DRUPAL_LANG}.txt
${DRUPAL_ROOT}/STATUS.${DRUPAL_LANG}.txt
${DRUPAL_ROOT}/modules/aggregator/translations/
${DRUPAL_ROOT}/modules/aggregator/translations/modules-aggregator.${LANG}.po
${DRUPAL_ROOT}/modules/aggregator/translations/modules-aggregator.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/block/translations/
${DRUPAL_ROOT}/modules/block/translations/modules-block.${LANG}.po
${DRUPAL_ROOT}/modules/block/translations/modules-block.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/blog/translations/
${DRUPAL_ROOT}/modules/blog/translations/modules-blog.${LANG}.po
${DRUPAL_ROOT}/modules/blog/translations/modules-blog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/blogapi/translations/
${DRUPAL_ROOT}/modules/blogapi/translations/modules-blogapi.${LANG}.po
${DRUPAL_ROOT}/modules/blogapi/translations/modules-blogapi.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/book/translations/
${DRUPAL_ROOT}/modules/book/translations/modules-book.${LANG}.po
${DRUPAL_ROOT}/modules/book/translations/modules-book.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/color/translations/
${DRUPAL_ROOT}/modules/color/translations/modules-color.${LANG}.po
${DRUPAL_ROOT}/modules/color/translations/modules-color.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/comment/translations/
${DRUPAL_ROOT}/modules/comment/translations/modules-comment.${LANG}.po
${DRUPAL_ROOT}/modules/comment/translations/modules-comment.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/contact/translations/
${DRUPAL_ROOT}/modules/contact/translations/modules-contact.${LANG}.po
${DRUPAL_ROOT}/modules/contact/translations/modules-contact.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/dblog/translations/
${DRUPAL_ROOT}/modules/dblog/translations/modules-dblog.${LANG}.po
${DRUPAL_ROOT}/modules/dblog/translations/modules-dblog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/filter/translations/
${DRUPAL_ROOT}/modules/filter/translations/modules-filter.${LANG}.po
${DRUPAL_ROOT}/modules/filter/translations/modules-filter.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/forum/translations/
${DRUPAL_ROOT}/modules/forum/translations/modules-forum.${LANG}.po
${DRUPAL_ROOT}/modules/forum/translations/modules-forum.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/help/translations/
${DRUPAL_ROOT}/modules/help/translations/modules-help.${LANG}.po
${DRUPAL_ROOT}/modules/help/translations/modules-help.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/locale/translations/
${DRUPAL_ROOT}/modules/locale/translations/modules-locale.${LANG}.po
${DRUPAL_ROOT}/modules/locale/translations/modules-locale.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/menu/translations/
${DRUPAL_ROOT}/modules/menu/translations/modules-menu.${LANG}.po
${DRUPAL_ROOT}/modules/menu/translations/modules-menu.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/node/translations/
${DRUPAL_ROOT}/modules/node/translations/modules-node.${LANG}.po
${DRUPAL_ROOT}/modules/node/translations/modules-node.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/openid/translations/
${DRUPAL_ROOT}/modules/openid/translations/modules-openid.${LANG}.po
${DRUPAL_ROOT}/modules/openid/translations/modules-openid.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/path/translations/
${DRUPAL_ROOT}/modules/path/translations/modules-path.${LANG}.po
${DRUPAL_ROOT}/modules/path/translations/modules-path.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/php/translations/
${DRUPAL_ROOT}/modules/php/translations/modules-php.${LANG}.po
${DRUPAL_ROOT}/modules/php/translations/modules-php.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/ping/translations/
${DRUPAL_ROOT}/modules/ping/translations/modules-ping.${LANG}.po
${DRUPAL_ROOT}/modules/ping/translations/modules-ping.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/poll/translations/
${DRUPAL_ROOT}/modules/poll/translations/modules-poll.${LANG}.po
${DRUPAL_ROOT}/modules/poll/translations/modules-poll.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/profile/translations/
${DRUPAL_ROOT}/modules/profile/translations/modules-profile.${LANG}.po
${DRUPAL_ROOT}/modules/profile/translations/modules-profile.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/search/translations/
${DRUPAL_ROOT}/modules/search/translations/modules-search.${LANG}.po
${DRUPAL_ROOT}/modules/search/translations/modules-search.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/statistics/translations/
${DRUPAL_ROOT}/modules/statistics/translations/modules-statistics.${LANG}.po
${DRUPAL_ROOT}/modules/statistics/translations/modules-statistics.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/syslog/translations/
${DRUPAL_ROOT}/modules/syslog/translations/modules-syslog.${LANG}.po
${DRUPAL_ROOT}/modules/syslog/translations/modules-syslog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/
${DRUPAL_ROOT}/modules/system/translations/general.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/includes.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/misc.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/modules-system.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/general.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/includes.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/misc.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/modules-system.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/taxonomy/translations/
${DRUPAL_ROOT}/modules/taxonomy/translations/modules-taxonomy.${LANG}.po
${DRUPAL_ROOT}/modules/taxonomy/translations/modules-taxonomy.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/throttle/translations/
${DRUPAL_ROOT}/modules/throttle/translations/modules-throttle.${LANG}.po
${DRUPAL_ROOT}/modules/throttle/translations/modules-throttle.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/tracker/translations/
${DRUPAL_ROOT}/modules/tracker/translations/modules-tracker.${LANG}.po
${DRUPAL_ROOT}/modules/tracker/translations/modules-tracker.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/translation/translations/
${DRUPAL_ROOT}/modules/translation/translations/modules-translation.${LANG}.po
${DRUPAL_ROOT}/modules/translation/translations/modules-translation.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/trigger/translations/
${DRUPAL_ROOT}/modules/trigger/translations/modules-trigger.${LANG}.po
${DRUPAL_ROOT}/modules/trigger/translations/modules-trigger.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/update/translations/
${DRUPAL_ROOT}/modules/update/translations/modules-update.${LANG}.po
${DRUPAL_ROOT}/modules/update/translations/modules-update.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/upload/translations/
${DRUPAL_ROOT}/modules/upload/translations/modules-upload.${LANG}.po
${DRUPAL_ROOT}/modules/upload/translations/modules-upload.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/user/translations/
${DRUPAL_ROOT}/modules/user/translations/modules-user.${LANG}.po
${DRUPAL_ROOT}/modules/user/translations/modules-user.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/default/translations/
${DRUPAL_ROOT}/profiles/default/translations/${LANG}.po
${DRUPAL_ROOT}/profiles/default/translations/${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/chameleon/translations/
${DRUPAL_ROOT}/themes/chameleon/translations/themes-chameleon.${LANG}.po
${DRUPAL_ROOT}/themes/chameleon/translations/themes-chameleon.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/garland/translations/
${DRUPAL_ROOT}/themes/garland/translations/themes-garland.${LANG}.po
${DRUPAL_ROOT}/themes/garland/translations/themes-garland.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/pushbutton/translations/
${DRUPAL_ROOT}/themes/pushbutton/translations/themes-pushbutton.${LANG}.po
${DRUPAL_ROOT}/themes/pushbutton/translations/themes-pushbutton.${DRUPAL_LANG}.po

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.6 2012/01/28 11:33:34 espie Exp $
# $OpenBSD: Makefile,v 1.7 2012/04/12 08:16:06 naddy Exp $
COMMENT = japanese translation
LANG = ja
DRUPAL_LANG = ja
EXTRACT_ONLY =
DISTNAME = ${LANG}-6.x-1.2
PKGNAME = drupal6-${LANG}-1.2
DISTNAME = ${DRUPAL_LANG}-6.x-1.2
PKGNAME = drupal6-${DRUPAL_LANG}-1.2
REVISION = 3
post-extract:

View File

@ -1,82 +1,82 @@
@comment $OpenBSD: PLIST,v 1.3 2009/07/27 12:39:36 espie Exp $
@comment $OpenBSD: PLIST,v 1.4 2012/04/12 08:16:06 naddy Exp $
@owner ${DRUPAL_OWNER}
@group ${DRUPAL_GROUP}
${DRUPAL_ROOT}/LICENSE.${LANG}.txt
${DRUPAL_ROOT}/STATUS.${LANG}.txt
${DRUPAL_ROOT}/LICENSE.${DRUPAL_LANG}.txt
${DRUPAL_ROOT}/STATUS.${DRUPAL_LANG}.txt
${DRUPAL_ROOT}/modules/aggregator/translations/
${DRUPAL_ROOT}/modules/aggregator/translations/modules-aggregator.${LANG}.po
${DRUPAL_ROOT}/modules/aggregator/translations/modules-aggregator.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/block/translations/
${DRUPAL_ROOT}/modules/block/translations/modules-block.${LANG}.po
${DRUPAL_ROOT}/modules/block/translations/modules-block.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/blog/translations/
${DRUPAL_ROOT}/modules/blog/translations/modules-blog.${LANG}.po
${DRUPAL_ROOT}/modules/blog/translations/modules-blog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/blogapi/translations/
${DRUPAL_ROOT}/modules/blogapi/translations/modules-blogapi.${LANG}.po
${DRUPAL_ROOT}/modules/blogapi/translations/modules-blogapi.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/book/translations/
${DRUPAL_ROOT}/modules/book/translations/modules-book.${LANG}.po
${DRUPAL_ROOT}/modules/book/translations/modules-book.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/color/translations/
${DRUPAL_ROOT}/modules/color/translations/modules-color.${LANG}.po
${DRUPAL_ROOT}/modules/color/translations/modules-color.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/comment/translations/
${DRUPAL_ROOT}/modules/comment/translations/modules-comment.${LANG}.po
${DRUPAL_ROOT}/modules/comment/translations/modules-comment.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/contact/translations/
${DRUPAL_ROOT}/modules/contact/translations/modules-contact.${LANG}.po
${DRUPAL_ROOT}/modules/contact/translations/modules-contact.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/dblog/translations/
${DRUPAL_ROOT}/modules/dblog/translations/modules-dblog.${LANG}.po
${DRUPAL_ROOT}/modules/dblog/translations/modules-dblog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/filter/translations/
${DRUPAL_ROOT}/modules/filter/translations/modules-filter.${LANG}.po
${DRUPAL_ROOT}/modules/filter/translations/modules-filter.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/forum/translations/
${DRUPAL_ROOT}/modules/forum/translations/modules-forum.${LANG}.po
${DRUPAL_ROOT}/modules/forum/translations/modules-forum.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/help/translations/
${DRUPAL_ROOT}/modules/help/translations/modules-help.${LANG}.po
${DRUPAL_ROOT}/modules/help/translations/modules-help.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/locale/translations/
${DRUPAL_ROOT}/modules/locale/translations/modules-locale.${LANG}.po
${DRUPAL_ROOT}/modules/locale/translations/modules-locale.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/menu/translations/
${DRUPAL_ROOT}/modules/menu/translations/modules-menu.${LANG}.po
${DRUPAL_ROOT}/modules/menu/translations/modules-menu.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/node/translations/
${DRUPAL_ROOT}/modules/node/translations/modules-node.${LANG}.po
${DRUPAL_ROOT}/modules/node/translations/modules-node.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/openid/translations/
${DRUPAL_ROOT}/modules/openid/translations/modules-openid.${LANG}.po
${DRUPAL_ROOT}/modules/openid/translations/modules-openid.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/path/translations/
${DRUPAL_ROOT}/modules/path/translations/modules-path.${LANG}.po
${DRUPAL_ROOT}/modules/path/translations/modules-path.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/php/translations/
${DRUPAL_ROOT}/modules/php/translations/modules-php.${LANG}.po
${DRUPAL_ROOT}/modules/php/translations/modules-php.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/ping/translations/
${DRUPAL_ROOT}/modules/ping/translations/modules-ping.${LANG}.po
${DRUPAL_ROOT}/modules/ping/translations/modules-ping.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/poll/translations/
${DRUPAL_ROOT}/modules/poll/translations/modules-poll.${LANG}.po
${DRUPAL_ROOT}/modules/poll/translations/modules-poll.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/profile/translations/
${DRUPAL_ROOT}/modules/profile/translations/modules-profile.${LANG}.po
${DRUPAL_ROOT}/modules/profile/translations/modules-profile.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/search/translations/
${DRUPAL_ROOT}/modules/search/translations/modules-search.${LANG}.po
${DRUPAL_ROOT}/modules/search/translations/modules-search.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/statistics/translations/
${DRUPAL_ROOT}/modules/statistics/translations/modules-statistics.${LANG}.po
${DRUPAL_ROOT}/modules/statistics/translations/modules-statistics.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/syslog/translations/
${DRUPAL_ROOT}/modules/syslog/translations/modules-syslog.${LANG}.po
${DRUPAL_ROOT}/modules/syslog/translations/modules-syslog.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/
${DRUPAL_ROOT}/modules/system/translations/general.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/includes.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/misc.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/modules-system.${LANG}.po
${DRUPAL_ROOT}/modules/system/translations/general.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/includes.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/misc.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/system/translations/modules-system.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/taxonomy/translations/
${DRUPAL_ROOT}/modules/taxonomy/translations/modules-taxonomy.${LANG}.po
${DRUPAL_ROOT}/modules/taxonomy/translations/modules-taxonomy.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/throttle/translations/
${DRUPAL_ROOT}/modules/throttle/translations/modules-throttle.${LANG}.po
${DRUPAL_ROOT}/modules/throttle/translations/modules-throttle.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/tracker/translations/
${DRUPAL_ROOT}/modules/tracker/translations/modules-tracker.${LANG}.po
${DRUPAL_ROOT}/modules/tracker/translations/modules-tracker.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/translation/translations/
${DRUPAL_ROOT}/modules/translation/translations/modules-translation.${LANG}.po
${DRUPAL_ROOT}/modules/translation/translations/modules-translation.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/trigger/translations/
${DRUPAL_ROOT}/modules/trigger/translations/modules-trigger.${LANG}.po
${DRUPAL_ROOT}/modules/trigger/translations/modules-trigger.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/update/translations/
${DRUPAL_ROOT}/modules/update/translations/modules-update.${LANG}.po
${DRUPAL_ROOT}/modules/update/translations/modules-update.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/upload/translations/
${DRUPAL_ROOT}/modules/upload/translations/modules-upload.${LANG}.po
${DRUPAL_ROOT}/modules/upload/translations/modules-upload.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/modules/user/translations/
${DRUPAL_ROOT}/modules/user/translations/modules-user.${LANG}.po
${DRUPAL_ROOT}/modules/user/translations/modules-user.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/default/translations/
${DRUPAL_ROOT}/profiles/default/translations/${LANG}.po
${DRUPAL_ROOT}/profiles/default/translations/${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/chameleon/translations/
${DRUPAL_ROOT}/themes/chameleon/translations/themes-chameleon.${LANG}.po
${DRUPAL_ROOT}/themes/chameleon/translations/themes-chameleon.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/garland/translations/
${DRUPAL_ROOT}/themes/garland/translations/themes-garland.${LANG}.po
${DRUPAL_ROOT}/themes/garland/translations/themes-garland.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/themes/pushbutton/translations/
${DRUPAL_ROOT}/themes/pushbutton/translations/themes-pushbutton.${LANG}.po
${DRUPAL_ROOT}/themes/pushbutton/translations/themes-pushbutton.${DRUPAL_LANG}.po

View File

@ -1,10 +1,10 @@
# $OpenBSD: drupal7.port.mk,v 1.1.1.1 2012/04/10 12:49:31 espie Exp $
# $OpenBSD: drupal7.port.mk,v 1.2 2012/04/12 08:16:06 naddy Exp $
# three types of things we can install, by default plugin
MODDRUPAL_THEME ?= No
.if defined(LANG)
.if defined(DRUPAL_LANG)
MODDRUPAL_LANG ?= Yes
.else
MODDRUPAL_LANG ?= No
@ -16,12 +16,12 @@ CATEGORIES += www www/drupal7
.if ${MODDRUPAL_LANG:L} == "yes"
SUBDIR = translations/7.x
COMMENT = drupal ${LANG} translation
COMMENT = drupal ${DRUPAL_LANG} translation
EXTRACT_SUFX ?=
HOMEPAGE ?= http://localize.drupal.org/translate/languages/${LANG}/
HOMEPAGE ?= http://localize.drupal.org/translate/languages/${DRUPAL_LANG}/
MASTER_SITES ?= ftp://ftp.drupal.org/pub/drupal/files/${SUBDIR}/
. for p v in ${LANGFILES}
DISTFILES += $p/$p-7.x-$v.${LANG}.po
DISTFILES += $p/$p-7.x-$v.${DRUPAL_LANG}.po
. endfor
.else
SUBDIR = projects
@ -59,7 +59,7 @@ MODDRUPAL_INSTALL = \
cp ${FULLDISTDIR}/$$i ${PREFIX}/${DRUPAL_TRANSLATIONS}; \
done; \
chown -R ${DRUPAL_OWNER}.${DRUPAL_GROUP} ${PREFIX}/${DRUPAL_TRANSLATIONS};
SUBST_VARS += LANG
SUBST_VARS += DRUPAL_LANG
.else
MODDRUPAL_INSTALL = \
mkdir -p ${PREFIX}/${DRUPAL_MODS}; \

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/10 12:50:24 espie Exp $
# $OpenBSD: Makefile,v 1.2 2012/04/12 08:16:06 naddy Exp $
MAINTAINER = Marc Espie <espie@openbsd.org>
LANG = fr
DRUPAL_LANG = fr
EXTRACT_ONLY =
DISTNAME = drupal7-${LANG}-7.11
DISTFILES = drupal/drupal-7.11.${LANG}.po
DISTNAME = drupal7-${DRUPAL_LANG}-7.11
DISTFILES = drupal/drupal-7.11.${DRUPAL_LANG}.po
LANGFILES += auto_nodetitle 1.0
LANGFILES += backup_migrate 2.2
LANGFILES += compact_forms 1.0

View File

@ -1,4 +1,4 @@
${LANG} translation of drupal 7 modules,includes :
${DRUPAL_LANG} translation of drupal 7 modules,includes :
- drupal 7.11
- auto_nodetitle 1.0
- backup_migrate 2.2

View File

@ -1,21 +1,21 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/10 12:50:24 espie Exp $
@comment $OpenBSD: PLIST,v 1.2 2012/04/12 08:16:06 naddy Exp $
@owner ${DRUPAL_OWNER}
@group ${DRUPAL_GROUP}
${DRUPAL_ROOT}/profiles/standard/translations/auto_nodetitle-7.x-1.0.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/backup_migrate-7.x-2.2.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/compact_forms-7.x-1.0.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/ctools-7.x-1.0.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/date-7.x-2.3.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/devel-7.x-1.2.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/drupal-7.11.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/globalredirect-7.x-1.4.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/nodeaccess_userreference-7.x-3.6.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/pathauto-7.x-1.0.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/references-7.x-2.0.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/rules-7.x-2.1.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/scheduler-7.x-1.0.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/securelogin-7.x-1.2.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/token-7.x-1.0.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/user_readonly-7.x-1.3.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/views-7.x-3.3.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/webform-7.x-3.17.${LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/auto_nodetitle-7.x-1.0.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/backup_migrate-7.x-2.2.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/compact_forms-7.x-1.0.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/ctools-7.x-1.0.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/date-7.x-2.3.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/devel-7.x-1.2.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/drupal-7.11.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/globalredirect-7.x-1.4.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/nodeaccess_userreference-7.x-3.6.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/pathauto-7.x-1.0.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/references-7.x-2.0.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/rules-7.x-2.1.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/scheduler-7.x-1.0.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/securelogin-7.x-1.2.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/token-7.x-1.0.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/user_readonly-7.x-1.3.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/views-7.x-3.3.${DRUPAL_LANG}.po
${DRUPAL_ROOT}/profiles/standard/translations/webform-7.x-3.17.${DRUPAL_LANG}.po