diff options
author | Martin Holzer <mholzer@gentoo.org> | 2002-12-24 11:01:57 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2002-12-24 11:01:57 +0000 |
commit | 22d6a292339d2cdc745050abf3d82a0f5617656a (patch) | |
tree | 0a602e259f61b71c1906796b05056e3a64f8c256 /app-editors/ted/ted-2.12.ebuild | |
parent | New portage-2.0.47_pre2 (diff) | |
download | gentoo-2-22d6a292339d2cdc745050abf3d82a0f5617656a.tar.gz gentoo-2-22d6a292339d2cdc745050abf3d82a0f5617656a.tar.bz2 gentoo-2-22d6a292339d2cdc745050abf3d82a0f5617656a.zip |
Version pump submitted by Mark Hollomon #12625.
Diffstat (limited to 'app-editors/ted/ted-2.12.ebuild')
-rw-r--r-- | app-editors/ted/ted-2.12.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app-editors/ted/ted-2.12.ebuild b/app-editors/ted/ted-2.12.ebuild new file mode 100644 index 000000000000..0cfb774c5ff0 --- /dev/null +++ b/app-editors/ted/ted-2.12.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.12.ebuild,v 1.1 2002/12/24 11:01:57 mholzer Exp $ + +DESCRIPTION="ted is an X-based rich text editor." +HOMEPAGE="http://www.nllgg.nl/Ted" +SRC_URI="ftp://ftp.nluug.nl/pub/editors/ted/${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc sparc" + +DEPEND=">=x11-libs/openmotif-2.1.30 + >=media-libs/tiff-3.5.7 + >=media-libs/jpeg-6b + >=media-libs/libpng-1.2.3 + >=media-libs/xpm-3.4k" + +S="${WORKDIR}/Ted-${PV}" + +src_unpack() { + unpack ${A} + cd ${S}/Ted + mv makefile.in makefile.in.orig + sed 's@^CFLAGS=@CFLAGS= -DDOCUMENT_DIR=\\"/usr/share/doc/${PF}/Ted/\\"@' makefile.in.orig > makefile.in +} + +src_compile() { + cd ${S} || die "where are we? `pwd`" + + for dir in Ted tedPackage appFrame appUtil ind bitmap libreg; do + ( + cd ${dir} + econf --cache-file=../config.cache + ) + done + + # The makefile doesn't really allow parallel make, but it does + # no harm either. + emake DEF_AFMDIR=-DAFMDIR=\\\"/usr/share/Ted/afm\\\" \ + DEF_INDDIR=-DINDDIR=\\\"/usr/share/Ted/ind\\\" \ + package.shared || die "couldnt emake" +} + +src_install() { + cd ${BUILDDIR} + + mkdir ${T}/pkg + cd ${T}/pkg || die "Couldn't cd to package" + tar --use=gzip -xvf ${S}/tedPackage/Ted*.tar.gz || die "couldnt unpack tedPackage/Ted*.tar.gz" + + cd ${BUILDDIR} + + dodir /usr/share/Ted + cp -R ${T}/pkg/afm ${D}/usr/share/Ted/afm || die "couldnt cp temp/pkg/afm" + cp -R ${T}/pkg/ind ${D}/usr/share/Ted/ind || die "couldnt cp temp/pkg/ind" + + exeinto /usr/bin + doexe ${T}/pkg/bin/* || die "couldnt doexe temp/pkg/bin/*" + + dodir /usr/share/doc/${P} + cp -R ${T}/pkg/Ted ${D}/usr/share/doc/${P} || die "couldnt cp temp/pkg/Ted" + + rm -rf ${T} +} + |