diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-17 08:15:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-11-17 08:15:36 +0000 |
commit | 75b723e725e5d45b23f71c9a086f8e2ed4abbb5a (patch) | |
tree | 6b7bcea6c1fa84f07bfcca21232255ff07c8f7a4 /sys-apps/miscfiles | |
parent | old (diff) | |
download | gentoo-2-75b723e725e5d45b23f71c9a086f8e2ed4abbb5a.tar.gz gentoo-2-75b723e725e5d45b23f71c9a086f8e2ed4abbb5a.tar.bz2 gentoo-2-75b723e725e5d45b23f71c9a086f8e2ed4abbb5a.zip |
Version bump #345839 by Jeroen Roovers.
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/miscfiles')
-rw-r--r-- | sys-apps/miscfiles/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/miscfiles/miscfiles-1.5.ebuild | 61 |
2 files changed, 67 insertions, 1 deletions
diff --git a/sys-apps/miscfiles/ChangeLog b/sys-apps/miscfiles/ChangeLog index b9379e5887df..f97e305e27d1 100644 --- a/sys-apps/miscfiles/ChangeLog +++ b/sys-apps/miscfiles/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/miscfiles # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/ChangeLog,v 1.35 2010/10/08 02:10:47 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/ChangeLog,v 1.36 2010/11/17 08:15:36 vapier Exp $ + +*miscfiles-1.5 (17 Nov 2010) + + 17 Nov 2010; Mike Frysinger <vapier@gentoo.org> +miscfiles-1.5.ebuild: + Version bump #345839 by Jeroen Roovers. 08 Oct 2010; Mart Raudsepp <leio@gentoo.org> miscfiles-1.4.2.ebuild: Drop to ~mips diff --git a/sys-apps/miscfiles/miscfiles-1.5.ebuild b/sys-apps/miscfiles/miscfiles-1.5.ebuild new file mode 100644 index 000000000000..0c1f15392faa --- /dev/null +++ b/sys-apps/miscfiles/miscfiles-1.5.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.5.ebuild,v 1.1 2010/11/17 08:15:36 vapier Exp $ + +EAPI="3" + +UNI_PV=6.0.0 +DESCRIPTION="Miscellaneous files" +HOMEPAGE="http://savannah.gnu.org/projects/miscfiles/" +# http://www.unicode.org/Public/${UNI_PV}/ucd/UnicodeData.txt +SRC_URI="mirror://gnu/miscfiles/${P}.tar.gz + mirror://gentoo/UnicodeData-${UNI_PV}.txt.xz" + +LICENSE="GPL-2 unicode" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris" +IUSE="minimal" + +# Collides with older versions/revisions +RDEPEND="!<sys-freebsd/freebsd-share-7.2-r1" + +src_prepare() { + mv "${WORKDIR}"/UnicodeData-${UNI_PV}.txt unicode || die +} + +src_configure() { + econf --datadir=/usr/share/misc || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc NEWS ORIGIN README dict-README + + # not sure if this is still needed ... + dodir /usr/share/dict + cd "${ED}"/usr/share/misc + mv $(awk '$1=="dictfiles"{$1="";$2="";print}' "${S}"/Makefile) ../dict/ || die + cd ../dict + ln -s web2 words || die + ln -s web2a extra.words || die + + if use minimal ; then + cd "${ED}"/usr/share/dict + rm -f words extra.words + gzip -9 * + ln -s web2.gz words + ln -s web2a.gz extra.words + ln -s connectives{.gz,} + ln -s propernames{.gz,} + cd .. + rm -r misc rfc + fi +} + +pkg_postinst() { + if [[ ${ROOT} == "/" ]] && type -P create-cracklib-dict >/dev/null ; then + ebegin "Regenerating cracklib dictionary" + create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null + eend $? + fi +} |