diff options
author | taca <taca@pkgsrc.org> | 2011-08-12 12:55:26 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-08-12 12:55:26 +0000 |
commit | 7ca8a202ae3cb945341cb51211cd246634161894 (patch) | |
tree | b3900893510b801eaf95fd79623d6ebba1a16549 /www | |
parent | 620501d2f1aa09a078677d47e03c9cddc7e2839d (diff) | |
download | pkgsrc-7ca8a202ae3cb945341cb51211cd246634161894.tar.gz |
Switch to use common Makefiles. No functional change.
Diffstat (limited to 'www')
-rw-r--r-- | www/contao29-translations/INSTALL | 15 | ||||
-rw-r--r-- | www/contao29-translations/Makefile | 35 | ||||
-rw-r--r-- | www/contao29-translations/options.mk | 22 |
3 files changed, 5 insertions, 67 deletions
diff --git a/www/contao29-translations/INSTALL b/www/contao29-translations/INSTALL deleted file mode 100644 index 441839d5c58..00000000000 --- a/www/contao29-translations/INSTALL +++ /dev/null @@ -1,15 +0,0 @@ -# $NetBSD: INSTALL,v 1.1 2011/05/12 14:49:23 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/contao29-translations/Makefile b/www/contao29-translations/Makefile index 57a8f3398ef..936f9db24f3 100644 --- a/www/contao29-translations/Makefile +++ b/www/contao29-translations/Makefile @@ -1,43 +1,14 @@ -# $NetBSD: Makefile,v 1.49 2011/06/29 14:47:08 taca Exp $ +# $NetBSD: Makefile,v 1.50 2011/08/12 12:55:26 taca Exp $ # -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 time stamp of latest translation. VERS= 20110629 -USE_TOOLS= pax -NO_BUILD= yes -NO_CONFIGURE= yes +CT_VERS= 29 PKG_DESTDIR_SUPPORT= user-destdir -SEPARATED_MODULES= development dfGallery glossary memberlist pun_bridge - .include "options.mk" - -pre-install: - ${FIND} ${WRKSRC}/system/modules \ - \( -name "*.orig*" -o -name tl_flash.php \) -exec ${RM} -f {} \; -.for d in ${SEPARATED_MODULES} - ${RM} -fr ${WRKSRC}/system/modules/${d} -.endfor - ${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \; - -do-install: - cd ${WRKSRC}; pax -rw . ${DESTDIR}${PREFIX}/${CT_WEBDIR} - -.include "../../www/contao29/Makefile.version" +.include "../../www/contao/Makefile.translations" .include "../../www/contao/Makefile.common" .include "../../lang/php/phpversion.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/contao29-translations/options.mk b/www/contao29-translations/options.mk index 4e8c468c752..8ac7721bd32 100644 --- a/www/contao29-translations/options.mk +++ b/www/contao29-translations/options.mk @@ -1,6 +1,4 @@ -# $NetBSD: options.mk,v 1.47 2011/06/29 14:47:08 taca Exp $ - -PKG_OPTIONS_VAR= PKG_OPTIONS.contao-translations +# $NetBSD: options.mk,v 1.48 2011/08/12 12:55:26 taca Exp $ # Not yet ready for Contao 2.9: af ca gl id is no pt th tl zh # @@ -47,20 +45,4 @@ CT_TRANSLATIONS.tr= Contao-Turkish-v14.zip # 2011/03/24 CT_TRANSLATIONS.uk= Contao-Ukrainian-v15.zip # 2011/03/09 CT_TRANSLATIONS.zh= TYPOlight-Chinese-v20.zip # 2010/01/29 -.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/download.html?iso=${l}&file=tl_files/languages/${l}/ -PLIST_SRC+= PLIST.${l} -.endfor +.include "../../www/contao/options.translations.mk" |