diff options
author | 2013-08-09 21:35:22 +0000 | |
---|---|---|
committer | 2013-08-09 21:35:22 +0000 | |
commit | f2165a60011507d452b28e850aa11afc2a408776 (patch) | |
tree | deef763dd50d89071fd0cef4410f2e9d0c862f72 /sys-freebsd/freebsd-contrib | |
parent | Version bump, based on work of Yuta SATOH in bug #476646 (diff) | |
download | gentoo-2-f2165a60011507d452b28e850aa11afc2a408776.tar.gz gentoo-2-f2165a60011507d452b28e850aa11afc2a408776.tar.bz2 gentoo-2-f2165a60011507d452b28e850aa11afc2a408776.zip |
Version bump, based on work of Yuta SATOH in bug #476646
(Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd/freebsd-contrib')
-rw-r--r-- | sys-freebsd/freebsd-contrib/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/freebsd-contrib/freebsd-contrib-9.2_rc1.ebuild | 60 |
2 files changed, 67 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-contrib/ChangeLog b/sys-freebsd/freebsd-contrib/ChangeLog index 238075fada67..95a281091266 100644 --- a/sys-freebsd/freebsd-contrib/ChangeLog +++ b/sys-freebsd/freebsd-contrib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-contrib # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.44 2013/08/09 15:08:10 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.45 2013/08/09 21:35:22 aballier Exp $ + +*freebsd-contrib-9.2_rc1 (09 Aug 2013) + + 09 Aug 2013; Alexis Ballier <aballier@gentoo.org> + +freebsd-contrib-9.2_rc1.ebuild: + Version bump, based on work of Yuta SATOH in bug #476646 09 Aug 2013; Alexis Ballier <aballier@gentoo.org> -freebsd-contrib-9.0.ebuild: diff --git a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.2_rc1.ebuild b/sys-freebsd/freebsd-contrib/freebsd-contrib-9.2_rc1.ebuild new file mode 100644 index 000000000000..8c9e632e08d0 --- /dev/null +++ b/sys-freebsd/freebsd-contrib/freebsd-contrib-9.2_rc1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/freebsd-contrib-9.2_rc1.ebuild,v 1.1 2013/08/09 21:35:22 aballier Exp $ + +inherit bsdmk freebsd flag-o-matic multilib + +DESCRIPTION="Contributed sources for FreeBSD." +if [[ ${PV} != *9999* ]]; then + KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" + SRC_URI="mirror://gentoo/${GNU}.tar.bz2 + mirror://gentoo/${P}.tar.bz2" +fi +LICENSE="BSD GPL-2+ libodialog" +SLOT="0" +IUSE="" + +RDEPEND="" +DEPEND="=sys-freebsd/freebsd-sources-${RV}* + =sys-freebsd/freebsd-mk-defs-${RV}*" + +S="${WORKDIR}/gnu" + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + freebsd_src_unpack + else + echo ">>> Unpacking needed parts of ${GNU}.tar.bz2 to ${WORKDIR}" + tar -jxpf "${DISTDIR}/${GNU}.tar.bz2" gnu/lib/libodialog gnu/usr.bin/sort gnu/usr.bin/patch + echo ">>> Unpacking needed parts of ${CONTRIB}.tar.bz2 to ${WORKDIR}" + tar -jxpf "${DISTDIR}/${CONTRIB}.tar.bz2" contrib/gnu-sort + + freebsd_do_patches + freebsd_rename_libraries + fi +} + +src_compile() { + cd "${S}/lib/libodialog" + freebsd_src_compile + + cd "${S}/usr.bin/sort" + freebsd_src_compile + + cd "${S}/usr.bin/patch" + freebsd_src_compile +} + +src_install() { + use profile || mymakeopts="${mymakeopts} NO_PROFILE= " + mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " + + cd "${S}/lib/libodialog" + mkinstall LIBDIR="/usr/$(get_libdir)" || die "libodialog install failed" + + cd "${S}/usr.bin/sort" + mkinstall BINDIR="/bin/" || die "sort install failed" + + cd "${S}/usr.bin/patch" + mkinstall BINDIR="/usr/bin/" || die "patch install failed" +} |