Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196622 Details for
Bug 254549
www-apps/concretecms (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new ebuild vor concretecms 5.3.1.1
concretecms-5.3.1.1.ebuild (text/plain), 4.04 KB, created by
Christoph Erdle
on 2009-07-04 12:10:21 UTC
(
hide
)
Description:
new ebuild vor concretecms 5.3.1.1
Filename:
MIME Type:
Creator:
Christoph Erdle
Created:
2009-07-04 12:10:21 UTC
Size:
4.04 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit webapp depend.php > >DESCRIPTION="PHP based Content Management System (CMS), that makes it easy for >everyone to run a website" >HOMEPAGE="http://concrete5.org" >SRC_URI="mirror://sourceforge/${PN}/concrete${PV}.zip > linguas_de? ( mirror://sourceforge/${PN}/de_DE-5.2.0.zip ) > linguas_fr? ( mirror://sourceforge/${PN}/fr_FR-5.2.0.zip ) > linguas_da? ( mirror://sourceforge/${PN}/da_DK-5.2.0.zip ) > linguas_pt_BR? ( mirror://sourceforge/${PN}/pt_BR-5.2.0.zip ) > linguas_sv? ( mirror://sourceforge/${PN}/sv_SE-5.2.0.zip )" > >LICENSE="MIT" >KEYWORDS="~x86" >IUSE_LINGUAS="linguas_de linguas_da linguas_fr linguas_pt_BR linguas_sv" >IUSE="nls ${IUSE_LINGUAS}" > >DEPEND="nls? ( sys-devel/gettext )" >RDEPEND="" > >need_httpd_cgi >need_php_httpd > >S="${WORKDIR}/concrete${PV}" > >pkg_setup() { > webapp_pkg_setup > require_php_with_any_use mysql mysqli > if use linguas_de || use linguas_da || use linguas_fr || use linguas_pt_BR || use linguas_sv && ! use nls > then > #if { use linguas_de || use linguas_da || use linguas_fr || use > # linguas_pt_BR || use linguas_sv } && ! use nls; then > ewarn "Translations will not be built. To enable translations set the nls use flag." > fi >} > >src_unpack() { > unpack concrete${PV}.zip > if use nls > then > if use linguas_de > then > unpack de_DE-5.2.0.zip > mv messages.po de_DE.po > #msgfmt -o de_DE.mo de_DE.po || die "Could not compile translation" > fi > if use linguas_da && use nls > then > unpack da_DK-5.2.0.zip > mv messages.po da_DK.po > #msgfmt -o da_DK.mo da_DK.po || die "Could not compile translation" > fi > if use linguas_fr && use nls > then > unpack fr_FR-5.2.0.zip > mv messages.po fr_FR.po > #msgfmt -o fr_FR.mo fr_FR.po || die "Could not compile translation" > fi > if use linguas_pt_BR && use nls > then > unpack pt_BR-5.2.0.zip > mv messages.po pt_BR.po > #msgfmt -o pt_BR.mo pt_BR.po || die "Could not compile translation" > fi > if use linguas_sv || use nls > then > unpack sv_SE-5.2.0.zip > mv messages.po sv_SE.po > #msgfmt -o sv_SE.mo sv_SE.po || die "Could not compile translation" > fi > fi >} > >src_compile() { > if use nls > then > local langdir_prefix="languages" > local langdir_suffix="LC_MESSAGES" > if use linguas_de > then > local lang="de_DE" > local langdir="${langdir_prefix}/${lang}/${langdir_suffix}" > mkdir -p ${langdir} > mv ../${lang}.po ${langdir}/messages.po > msgfmt -o ${langdir}/messages.mo ${langdir}/messages.po || die "Could not compile translation" > fi > if use linguas_fr > then > local lang="fr_FR" > local langdir="${langdir_prefix}/${lang}/${langdir_suffix}" > mkdir -p ${langdir} > mv ../${lang}.po ${langdir}/messages.po > msgfmt -o ${langdir}/messages.mo ${langdir}/messages.po || die "Could not compile translation" > fi > if use linguas_da > then > local lang="da_DK" > local langdir="${langdir_prefix}/${lang}/${langdir_suffix}" > mkdir -p ${langdir} > mv ../${lang}.po ${langdir}/messages.po > msgfmt -o ${langdir}/messages.mo ${langdir}/messages.po || die "Could not compile translation" > fi > if use linguas_pt_BR > then > local lang="pt_BR" > local langdir="${langdir_prefix}/${lang}/${langdir_suffix}" > mkdir -p ${langdir} > mv ../${lang}.po ${langdir}/messages.po > msgfmt -o ${langdir}/messages.mo ${langdir}/messages.po || die "Could not compile translation" > fi > if use linguas_sv > then > local lang="sv_SE" > local langdir="${langdir_prefix}/${lang}/${langdir_suffix}" > mkdir -p ${langdir} > mv ../${lang}.po ${langdir}/messages.po > msgfmt -o ${langdir}/messages.mo ${langdir}/messages.po || die "Could not compile translation" > fi > fi >} > >src_install() { > webapp_src_preinst > > local docs="README LICENSE.TXT" > dodoc $docs > rm -f $docs > insinto "${MY_HTDOCSDIR}" > doins -r . > > webapp_serverowned -R "${MY_HTDOCSDIR}/files" > webapp_serverowned -R "${MY_HTDOCSDIR}/config" > webapp_serverowned -R "${MY_HTDOCSDIR}/packages" > webapp_configfile "${MY_HTDOCSDIR}/config/site_theme_paths.php" > > webapp_src_install > > webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 254549
:
178060
|
178061
|
189102
|
196620
|
196622
|
196671