ChangeLog

# ChangeLog for app-misc/getopt
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/ChangeLog,v 1.2 2007/07/11 20:38:10 uberlord Exp $

11 Jul 2007; Roy Marples getopt-1.1.4.ebuild:
Keyworded ~sparc-fbsd.

*getopt-1.1.4 (24 May 2006)

24 May 2006; Diego Pettenò
+files/getopt-1.1.4-libintl.patch, +files/getopt-1.1.4-longrename.patch,
+metadata.xml, +getopt-1.1.4.ebuild:
Add getopt package providing getopt-long for platforms where getopt(1) does
not support GNU style long options.

Manifest

AUX getopt-1.1.4-libintl.patch 1119 RMD160 95e722e15e3a568a0731f769897cb4b494d84474 SHA1 f23a24a0e2a960114e248036127e49b5eb114ea8 SHA256 59566da700ae2dec970a5bc3c7e5112c63b55dba93a24138db5097204f462a8d
AUX getopt-1.1.4-longrename.patch 4825 RMD160 3e2b2eba6696e759a7e5143de8db3c615f0542eb SHA1 7768c4499b90049c3494de27b9e69fe4e357bd35 SHA256 c6331d44293dc315251ab3014f039456bf99e32880084ddc792b9a2ac2b971d0
DIST getopt-1.1.4.tar.gz 37163 RMD160 79fffccf1b48956bfc1fbb19c22c2d94adf10dff SHA1 8b9b329b3a8f5d52c91c0381616ecbd1ba291486 SHA256 41083d9993c26792851e79b81a0991996a3f61e14998fdd607615cc3bf933bab
EBUILD getopt-1.1.4.ebuild 1205 RMD160 ec1fd5abaffbf664adced96961cbec9107eb0bea SHA1 ed606cbc0facdd3ab5a126352cb1d9fe15bb4e64 SHA256 baa284d6dd9d318f8b39115b6f750b65b0a0b4f7a1b8348027d566435dd0a1ad
MISC ChangeLog 614 RMD160 7cd7bd6a8fdba0ee3d25ac711b125d81879eb46f SHA1 430fcc618a7a9083c207b0cc7e49d50e7360a7b6 SHA256 29a7bbe70d44639f87a37f030ac0a76613042089116e9e66a98560c20e20cc5f
MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7

files

getopt-1.1.4.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/getopt-1.1.4.ebuild,v 1.2 2007/07/11 20:38:10 uberlord Exp $

inherit toolchain-funcs eutils

DESCRIPTION="getopt(1) replacement supporting GNU-style long options"
HOMEPAGE="http://software.frodo.looijaard.name/getopt/"
SRC_URI="http://software.frodo.looijaard.name/getopt/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~sparc-fbsd ~x86-fbsd"
IUSE="nls"

RDEPEND="nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}/${P}-libintl.patch"
epatch "${FILESDIR}/${P}-longrename.patch"
}

src_compile() {
local nogettext="1"
local libintl=""

if use nls; then
nogettext=0
has_version sys-libs/glibc || libintl="-lintl"
fi

emake CC="$(tc-getCC)" prefix="/usr" \
WITHOUT_GETTEXT=${nogettext} LIBINTL=${libintl} \
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_install() {
use nls && make prefix="/usr" DESTDIR="${D}" install_po

into /usr
newbin getopt getopt-long
newman getopt.1 getopt-long.1

dodoc "${S}/getopt-"*sh
}

metadata.xml




bsd