Portage is a package management system used by Gentoo Linux
# ChangeLog for app-arch/stuffit
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/stuffit/ChangeLog,v 1.18 2008/06/09 02:43:07 darkside Exp $
09 Jun 2008; Jeremy Olexa
Ebuild cleanup, fix SRC_URI, and fix env.d file issue in bug #133620
02 Jul 2007; Piotr JaroszyĆski
stuffit-5.2.0.611.ebuild:
(QA) RESTRICT clean up.
23 Jan 2007; Marius Mauch
Replacing einfo with elog
26 Oct 2006;
remove emul-linux-x86 use flag
21 Apr 2005; Simon Stelling
stable on amd64
12 Jan 2005; Jason Huebel
fixed SRC_URI
11 Jan 2005; Jeremy Huddleston
stuffit-5.2.0.611.ebuild:
emul-linux-x86 update
13 Sep 2004;
removed all arches except x86 and added ~amd64 and added
emul-linux-x86-baselibs-dependency for amd64
16 Jun 2003; Patrick Kursawe
Filled SRC_URI again, put download hints into pkg_nofetch, corrected
tarball name - should fix bug 22679. Removed unnecessary ARCH test.
15 May 2003; Patrick Kursawe
www. was missing in homepage URL
06 Dec 2002; Rodney Rees
*stuffit-5.2.0.611 (29 Oct 2002)
26 Nov 2002; Jon Nall
fixed SRC_URI to be blank. this fixes bug #10917
19 Nov 2002; Jon Nall
fixed commented RESTRICT
29 Oct 2002; Jon Nall
Initial import. Ebuild thanks to CJ Kucera
in bug #9845.
DIST stuffit520.611linux-i386.tar.gz 1955619 RMD160 58800fff4b9d8b37d4bcf8617b2895127c5101be SHA1 492cf11a7e6c38c76551c1ff3521abf1fff753b2 SHA256 69ccd8659000f7cdeba640157ed42e360b2e448c8e8333b1db491f2c4daf7998
EBUILD stuffit-5.2.0.611.ebuild 1735 RMD160 d6d75ac36abc1df3a5876d6bbd0e0ed87f1452a5 SHA1 d30da1a84750a89dc3a078d63dd99dd7b96fb293 SHA256 625502b07c7713185d2e256612bced8826ae6970f5c8102c726fe3c96fa1d7e1
MISC ChangeLog 1950 RMD160 4fa3bcc1f6f1b3a4cb4bef1b0d875b31aa8a55fa SHA1 37afec8d4bff43b4484c36c7247f2eb258d9fd84 SHA256 ff40176ad16c61672f344f2700e7c747850648a6d64bdd9a47bf61e720e990a3
MISC metadata.xml 369 RMD160 af3e11f91ea28a05908d5fe193916bf54d753450 SHA1 0d0775d05fa791ff991cee43d1f5045ce5eb5d53 SHA256 1073606f4a6dabfe004ada1e59a0dffe202b1e1e82a1f9bb9f5bda3718ddc277
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/stuffit/stuffit-5.2.0.611.ebuild,v 1.19 2008/06/09 02:43:07 darkside Exp $
MY_P="stuffit520.611linux-i386"
DESCRIPTION="Aladdin Software's StuffIt and StuffIt Expander"
HOMEPAGE="http://www.stuffit.com/"
SRC_URI="http://my.smithmicro.com/downloads/files/stuffit520.611linux-i386.tar.gz"
LICENSE="Stuffit"
SLOT="0"
KEYWORDS="-* x86 amd64"
IUSE=""
DEPEND=""
RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs )"
S=${WORKDIR}
INSTALLDIR="/opt/stuffit"
RESTRICT="fetch strip"
pkg_nofetch() {
einfo "Please download stuffit from"
einfo "${SRC_URI}"
einfo "and put the file in ${DISTDIR}"
einfo
einfo "Note that StuffIt requires registration within 30 days,"
einfo "but StuffIt Expander is freeware."
einfo
}
src_install() {
# First do the binaries
exeinto ${INSTALLDIR}/bin
doexe bin/stuff
doexe bin/unstuff
# Now the registration binary
exeinto ${INSTALLDIR}/extra
doexe bin/register
# Now the documentation
docinto stuff
dodoc doc/stuff/README
dohtml doc/stuff/stuff.html
docinto unstuff
dodoc doc/unstuff/README
dohtml doc/unstuff/unstuff.html
# And now the man pages
doman man/man1/*
# Also add the executables to the path
dodir /etc/env.d
echo -e "PATH=${INSTALLDIR}/bin\nROOTPATH=${INSTALLDIR}/bin" > \
${D}/etc/env.d/10stuffit
}
pkg_postinst() {
env-update
elog
elog "Reminder: StuffIt requires registration within 30 days."
elog "The registration program is located in ${INSTALLDIR}/extra"
elog
elog "The binaries are named 'stuff' and 'unstuff'"
elog
}
pkg_postrm() {
# Get rid of those extraneous PATH entries.
env-update
}