summaryrefslogtreecommitdiff
path: root/www/contao
diff options
context:
space:
mode:
authortaca <taca>2012-10-01 15:38:32 +0000
committertaca <taca>2012-10-01 15:38:32 +0000
commit6c511fa22021e3e570f2af7665dbd36be23b99b5 (patch)
tree1067722427548139e938c1262fb49ab39f4a85c2 /www/contao
parentd577ec2653dc9aa39f32e352148ed276ede06fd4 (diff)
downloadpkgsrc-6c511fa22021e3e570f2af7665dbd36be23b99b5.tar.gz
Move some code fragment from contao to contao211-translations since
translation files will be included in Contao core from next major release (Contao 3.0).
Diffstat (limited to 'www/contao')
-rw-r--r--www/contao/INSTALL.translations15
-rw-r--r--www/contao/Makefile.translations37
-rw-r--r--www/contao/options.translations.mk21
3 files changed, 0 insertions, 73 deletions
diff --git a/www/contao/INSTALL.translations b/www/contao/INSTALL.translations
deleted file mode 100644
index a52a11e33eb..00000000000
--- a/www/contao/INSTALL.translations
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: INSTALL.translations,v 1.1 2011/08/12 12:46:42 taca Exp $
-
-CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
-CT_OWN="@WWWOWN@"
-CT_GRP="@WWWGRP@"
-
-case ${STAGE} in
-POST-INSTALL)
- cd ${CT_WEBDIR}/system/modules && \
- for i in */languages; do
- ${CHGRP} -R ${CT_GRP} $i
- ${CHOWN} -R ${CT_OWN} $i
- done
- ;;
-esac
diff --git a/www/contao/Makefile.translations b/www/contao/Makefile.translations
deleted file mode 100644
index df8291a08ed..00000000000
--- a/www/contao/Makefile.translations
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile.translations,v 1.3 2012/06/16 13:20:01 taca Exp $
-#
-#used by www/contao211-translations/Makefile
-#
-
-DISTNAME= contao${CT_VER}-translations-${VERS}
-CATEGORIES= www
-MASTER_SITES= # defined for each distfiles
-DISTFILES= ${CT_DISTFILES}
-EXTRACT_DIR= ${WRKSRC}
-
-MAINTAINER= taca@NetBSD.org
-HOMEPAGE= http://www.contao.org/download.html
-COMMENT= Language files for Contao CMS
-LICENSE= gnu-lgpl-v3
-
-DEPENDS+= contao${CT_VER}>=${CT_PKGVER}:../../www/contao${CT_VER}
-
-USE_TOOLS= pax
-NO_BUILD= yes
-NO_CONFIGURE= yes
-PLIST_SRC= ${WRKDIR}/PLIST
-
-INSTALL_TEMPLATES?= ${.CURDIR}/../../www/contao/INSTALL.translations
-
-pre-install:
- ${RM} -f ${WRKSRC}/system/modules/backend/languages/*/tl_task.php
- ${FIND} ${WRKSRC}/system/modules \
- \( -name "*.orig*" -o -name tl_flash.php \) -exec ${RM} -f {} \;
- ${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
-
-do-install:
- cd ${WRKSRC}; pax -rw . ${DESTDIR}${PREFIX}/${CT_WEBDIR}
- ${SED} -e 1q PLIST.master > ${PLIST_SRC}
- for lang in ${CT_LANGUAGES}; do \
- ${SED} -e 1d -e "s|@lang@|$${lang}|" PLIST.master; \
- done | ${SORT} >> ${PLIST_SRC}
diff --git a/www/contao/options.translations.mk b/www/contao/options.translations.mk
deleted file mode 100644
index fef4360ad4e..00000000000
--- a/www/contao/options.translations.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: options.translations.mk,v 1.3 2012/08/12 08:55:54 taca Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.contao${CT_VERS}-translations
-
-.for l in ${CT_SUPPORTED_LANGUAGES}
-PKG_SUPPORTED_OPTIONS+= lang-${l}
-PKG_SUGGESTED_OPTIONS+= lang-${l}
-.endfor
-
-.include "../../mk/bsd.options.mk"
-
-.for l in ${PKG_OPTIONS:Mlang-*}
-CT_LANGUAGES+= ${l:S/^lang-//1}
-.endfor
-
-.for l in ${CT_LANGUAGES}
-CT_DISTFILES+= ${CT_TRANSLATIONS.${l}}
-SITES.${CT_TRANSLATIONS.${l}}= \
- http://www.contao.org/en/download.html?iso=${l}&file=files/languages/${l}/
-PLIST_SRC+= PLIST.${l}
-.endfor