diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-03-25 22:43:41 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-03-25 22:43:41 +0000 |
commit | 62fe0b7960d828eb990513ebd1f23361fbaed692 (patch) | |
tree | 4bb48724254a7d5feb8846bc7914da09c29233f8 /app-text | |
parent | USE fix (diff) | |
download | gentoo-2-62fe0b7960d828eb990513ebd1f23361fbaed692.tar.gz gentoo-2-62fe0b7960d828eb990513ebd1f23361fbaed692.tar.bz2 gentoo-2-62fe0b7960d828eb990513ebd1f23361fbaed692.zip |
cleaned out old ebuilds
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/tetex/files/digest-tetex-1.0.7-r10 | 4 | ||||
-rw-r--r-- | app-text/tetex/files/digest-tetex-1.0.7-r11 | 4 | ||||
-rw-r--r-- | app-text/tetex/files/digest-tetex-1.0.7-r9 | 4 | ||||
-rw-r--r-- | app-text/tetex/files/digest-tetex-2.0 | 3 | ||||
-rw-r--r-- | app-text/tetex/tetex-1.0.7-r10.ebuild | 177 | ||||
-rw-r--r-- | app-text/tetex/tetex-1.0.7-r11.ebuild | 191 | ||||
-rw-r--r-- | app-text/tetex/tetex-1.0.7-r9.ebuild | 168 | ||||
-rw-r--r-- | app-text/tetex/tetex-2.0.ebuild | 180 |
8 files changed, 0 insertions, 731 deletions
diff --git a/app-text/tetex/files/digest-tetex-1.0.7-r10 b/app-text/tetex/files/digest-tetex-1.0.7-r10 deleted file mode 100644 index b0dad1273c70..000000000000 --- a/app-text/tetex/files/digest-tetex-1.0.7-r10 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 2c6da2a45096c2fdc41b8de6a8af1a52 teTeX-src-1.0.7.tar.gz 8040192 -MD5 984530be5cc0dd73738de9d0067bc130 teTeX-texmf-gg-1.0.3.tar.bz2 35037546 -MD5 12925188fdadcd6a970c21bba3269fc2 ec-ready-mf-tfm.tar.gz 386630 -MD5 37393316b285926214c247acd55db743 teTeX-french.tar.gz 268161 diff --git a/app-text/tetex/files/digest-tetex-1.0.7-r11 b/app-text/tetex/files/digest-tetex-1.0.7-r11 deleted file mode 100644 index b0dad1273c70..000000000000 --- a/app-text/tetex/files/digest-tetex-1.0.7-r11 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 2c6da2a45096c2fdc41b8de6a8af1a52 teTeX-src-1.0.7.tar.gz 8040192 -MD5 984530be5cc0dd73738de9d0067bc130 teTeX-texmf-gg-1.0.3.tar.bz2 35037546 -MD5 12925188fdadcd6a970c21bba3269fc2 ec-ready-mf-tfm.tar.gz 386630 -MD5 37393316b285926214c247acd55db743 teTeX-french.tar.gz 268161 diff --git a/app-text/tetex/files/digest-tetex-1.0.7-r9 b/app-text/tetex/files/digest-tetex-1.0.7-r9 deleted file mode 100644 index b0dad1273c70..000000000000 --- a/app-text/tetex/files/digest-tetex-1.0.7-r9 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 2c6da2a45096c2fdc41b8de6a8af1a52 teTeX-src-1.0.7.tar.gz 8040192 -MD5 984530be5cc0dd73738de9d0067bc130 teTeX-texmf-gg-1.0.3.tar.bz2 35037546 -MD5 12925188fdadcd6a970c21bba3269fc2 ec-ready-mf-tfm.tar.gz 386630 -MD5 37393316b285926214c247acd55db743 teTeX-french.tar.gz 268161 diff --git a/app-text/tetex/files/digest-tetex-2.0 b/app-text/tetex/files/digest-tetex-2.0 deleted file mode 100644 index c66b7d12ee72..000000000000 --- a/app-text/tetex/files/digest-tetex-2.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 47aed744f1311d49dd9fbd60581da2c4 tetex-src-2.0.tar.gz 11339755 -MD5 91eb7e7aa77a6559e49eecef69211307 tetex-texmfsrc-2.0.tar.gz 22681178 -MD5 56dbbb48f40d795da18c2695666fd175 tetex-texmf-2.0.tar.gz 51697826 diff --git a/app-text/tetex/tetex-1.0.7-r10.ebuild b/app-text/tetex/tetex-1.0.7-r10.ebuild deleted file mode 100644 index b70b97123ad8..000000000000 --- a/app-text/tetex/tetex-1.0.7-r10.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r10.ebuild,v 1.14 2003/03/11 21:11:45 seemant Exp $ - -TEXMFSRC="teTeX-texmf-gg-1.0.3.tar.bz2" -S=${WORKDIR}/teTeX-1.0 - -DESCRIPTION="a complete TeX distribution" -SRC_URI="ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-${PV}.tar.gz - ftp://ftp.dante.de/pub/tex/systems/unix/teTeX/1.0/contrib/ghibo/${TEXMFSRC} - http://www.ibiblio.org/gentoo/distfiles/ec-ready-mf-tfm.tar.gz - http://www.ibiblio.org/gentoo/distfiles/teTeX-french.tar.gz" -HOMEPAGE="http://tug.cs.umb.edu/tetex/" - -KEYWORDS="x86 ppc sparc" -SLOT="0" -LICENSE="GPL-2" -IUSE="ncurses X libwww png" - -DEPEND="sys-apps/ed - sys-libs/zlib - X? ( virtual/x11 ) - png? ( >=media-libs/libpng-1.2.1 ) - ncurses? ( sys-libs/ncurses ) - libwww? ( >=net-libs/libwww-5.3.2-r1 )" -RDEPEND=">=dev-lang/perl-5.2 - dev-util/dialog" - -src_unpack() { - unpack teTeX-src-1.0.7.tar.gz - - mkdir ${S}/texmf - cd ${S}/texmf - umask 022 - echo ">>> Unpacking ${TEXMFSRC}" - tar --no-same-owner -xjf ${DISTDIR}/${TEXMFSRC} || die - echo ">>> Unpacking ec-ready-mf-tfm.tar.gz" - tar --no-same-owner -xzf ${DISTDIR}/ec-ready-mf-tfm.tar.gz -C .. || die - echo ">>> Unpacking teTeX-french.tar.gz" - tar --no-same-owner -xzf ${DISTDIR}/teTeX-french.tar.gz || die - - # Fixes from way back ... not sure even Achim will - # still know why :/ - cd ${WORKDIR} - patch -p0 < ${FILESDIR}/teTeX-1.0-gentoo.diff || die - cd ${S} - patch -p0 < ${FILESDIR}/teTeX-1.0.dif || die - - # Do not run config stuff - patch -p1 < ${FILESDIR}/${P}-dont-run-config.diff || die - - # Fix problem where the *.fmt files are not generated due to the LaTeX - # source being older than a year. -# local x -# for x in `find ${S}/texmf/ -type f -name '*.ini'` -# do -# cp ${x} ${x}.orig -# sed -e '1i \\scrollmode' ${x}.orig > ${x} -# rm -f ${x}.orig -# done - -} - -src_compile() { - - local myconf="" - use X \ - && myconf="--with-x" \ - || myconf="--without-x" - - use libwww \ - && myconf="${myconf} --with-system-wwwlib \ - --with-libwww-include=/usr/include" - - use png \ - && myconf="${myconf} --with-system-pnglib" - - - use ncurses \ - && myconf="${myconf} --with-system-ncurses" - - - # Does it make sense to compile the included libwww with mysql ? - - ./configure --host=${CHOST} \ - --prefix=/usr \ - --bindir=/usr/bin \ - --datadir=/usr/share \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --datadir=${S} \ - --without-texinfo \ - --without-dialog \ - --with-system-zlib \ - --disable-multiplatform \ - --with-epsfwin \ - --with-mftalkwin \ - --with-regiswin \ - --with-tektronixwin \ - --with-unitermwin \ - --with-ps=gs \ - --enable-ipc \ - --with-etex \ - ${myconf} || die - - make texmf=/usr/share/texmf || die -} - -src_install() { - - dodir /usr/share/ - # Install texmf files - einfo "Installing texmf..." - mv -f texmf ${D}/usr/share - - make prefix=${D}/usr \ - bindir=${D}/usr/bin \ - datadir=${D}/usr/share \ - mandir=${D}/usr/share/man/man1 \ - infodir=${D}/usr/share/info \ - texmf=${D}/usr/share/texmf \ - install || die - - dodoc PROBLEMS README - docinto texk - dodoc texk/ChangeLog texk/README - docinto kpathesa - cd ${S}/texk/kpathsea - dodoc README* NEWS PROJECTS HIER - docinto dviljk - cd ${S}/texk/dviljk - dodoc AUTHORS README NEWS - docinto dvipsk - cd ${S}/texk/dvipsk - dodoc AUTHORS ChangeLog INSTALLATION README - docinto makeindexk - cd ${S}/texk/makeindexk - dodoc CONTRIB COPYING NEWS NOTES PORTING README - docinto ps2pkm - cd ${S}/texk/ps2pkm - dodoc ChangeLog CHANGES.type1 INSTALLATION README* - docinto web2c - cd ${S}/texk/web2c - dodoc AUTHORS ChangeLog NEWS PROJECTS README - docinto xdvik - cd ${S}/texk/xdvik - dodoc BUGS FAQ README* - - #fix for conflicting readlink binary: - rm -f ${D}/bin/readlink - rm -f ${D}/usr/bin/readlink - #add /var/cache/fonts directory - dodir /var/cache/fonts - - #fix for lousy upstream permisssions on /usr/share/texmf files - #NOTE: do not use fowners, as its not recursive ... - einfo "Fixing permissions..." - chown -R root.root ${D}/usr/share/texmf -} - -pkg_postinst() { - - if [ $ROOT = "/" ] - then - einfo "Configuring teTeX..." - mktexlsr &>/dev/null - texlinks &>/dev/null - texconfig init &>/dev/null - texconfig confall &>/dev/null - texconfig font vardir /var/cache/fonts &>/dev/null - - echo - einfo "Use 'texconfig font rw' to allow all users to generate fonts." - echo - fi -} - diff --git a/app-text/tetex/tetex-1.0.7-r11.ebuild b/app-text/tetex/tetex-1.0.7-r11.ebuild deleted file mode 100644 index 699c7ca21b4d..000000000000 --- a/app-text/tetex/tetex-1.0.7-r11.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r11.ebuild,v 1.14 2003/03/11 21:11:45 seemant Exp $ - -inherit flag-o-matic - -TEXMFSRC="teTeX-texmf-gg-1.0.3.tar.bz2" -S=${WORKDIR}/teTeX-1.0 - -DESCRIPTION="a complete TeX distribution" -SRC_URI="ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-${PV}.tar.gz - ftp://ftp.dante.de/pub/tex/systems/unix/teTeX/1.0/contrib/ghibo/${TEXMFSRC} - http://www.ibiblio.org/gentoo/distfiles/ec-ready-mf-tfm.tar.gz - http://www.ibiblio.org/gentoo/distfiles/teTeX-french.tar.gz" -HOMEPAGE="http://tug.cs.umb.edu/tetex/" - -KEYWORDS="x86 ppc sparc alpha" -SLOT="0" -LICENSE="GPL-2" -IUSE="ncurses X libwww png" - -DEPEND="sys-apps/ed - sys-libs/zlib - X? ( virtual/x11 ) - png? ( >=media-libs/libpng-1.2.1 ) - ncurses? ( sys-libs/ncurses ) - libwww? ( >=net-libs/libwww-5.3.2-r1 )" -RDEPEND=">=dev-lang/perl-5.2 - dev-util/dialog" - -src_unpack() { - unpack teTeX-src-${PV}.tar.gz - - cd ${S} - patch -p1 < ${FILESDIR}/${PF}-gentoo.diff - - mkdir ${S}/texmf - cd ${S}/texmf - umask 022 - echo ">>> Unpacking ${TEXMFSRC}" - tar --no-same-owner -xjf ${DISTDIR}/${TEXMFSRC} || die - echo ">>> Unpacking ec-ready-mf-tfm.tar.gz" - tar --no-same-owner -xzf ${DISTDIR}/ec-ready-mf-tfm.tar.gz -C .. || die - echo ">>> Unpacking teTeX-french.tar.gz" - tar --no-same-owner -xzf ${DISTDIR}/teTeX-french.tar.gz || die - - # Fixes from way back ... not sure even Achim will - # still know why :/ - cd ${WORKDIR} - patch -p0 < ${FILESDIR}/teTeX-1.0-gentoo.diff || die - cd ${S} - patch -p0 < ${FILESDIR}/teTeX-1.0.dif || die - - # Do not run config stuff - patch -p1 < ${FILESDIR}/${P}-dont-run-config.diff || die - - # Fix for dvips to print directly. - patch -p1 < ${FILESDIR}/teTeX-1.0-dvips.diff || die - - # Fix problem where the *.fmt files are not generated due to the LaTeX - # source being older than a year. - local x - for x in `find ${S}/texmf/ -type f -name '*.ini'` - do - cp ${x} ${x}.orig - sed -e '1i \\scrollmode' ${x}.orig > ${x} - rm -f ${x}.orig - done - - # IMPORTANT! If you're having *.fmt problems, do this: - # fmtutil --all - # after the merge. - -} - -src_compile() { - - local myconf="" - use X \ - && myconf="--with-x" \ - || myconf="--without-x" - - use libwww \ - && myconf="${myconf} --with-system-wwwlib \ - --with-libwww-include=/usr/include/w3c-libwww" - - use png \ - && myconf="${myconf} --with-system-pnglib" - - - use ncurses \ - && myconf="${myconf} --with-system-ncurses" - - - # Does it make sense to compile the included libwww with mysql ? - - ./configure --host=${CHOST} \ - --prefix=/usr \ - --bindir=/usr/bin \ - --datadir=/usr/share \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --datadir=${S} \ - --without-texinfo \ - --without-dialog \ - --with-system-zlib \ - --disable-multiplatform \ - --with-epsfwin \ - --with-mftalkwin \ - --with-regiswin \ - --with-tektronixwin \ - --with-unitermwin \ - --with-ps=gs \ - --enable-ipc \ - --with-etex \ - ${myconf} || die - - make texmf=/usr/share/texmf || die -} - -src_install() { - - dodir /usr/share/ - # Install texmf files - einfo "Installing texmf..." - mv -f texmf ${D}/usr/share - - make prefix=${D}/usr \ - bindir=${D}/usr/bin \ - datadir=${D}/usr/share \ - mandir=${D}/usr/share/man/man1 \ - infodir=${D}/usr/share/info \ - texmf=${D}/usr/share/texmf \ - install || die - - dodoc PROBLEMS README - docinto texk - dodoc texk/ChangeLog texk/README - docinto kpathesa - cd ${S}/texk/kpathsea - dodoc README* NEWS PROJECTS HIER - docinto dviljk - cd ${S}/texk/dviljk - dodoc AUTHORS README NEWS - docinto dvipsk - cd ${S}/texk/dvipsk - dodoc AUTHORS ChangeLog INSTALLATION README - docinto makeindexk - cd ${S}/texk/makeindexk - dodoc CONTRIB COPYING NEWS NOTES PORTING README - docinto ps2pkm - cd ${S}/texk/ps2pkm - dodoc ChangeLog CHANGES.type1 INSTALLATION README* - docinto web2c - cd ${S}/texk/web2c - dodoc AUTHORS ChangeLog NEWS PROJECTS README - docinto xdvik - cd ${S}/texk/xdvik - dodoc BUGS FAQ README* - - #fix for conflicting readlink binary: - rm -f ${D}/bin/readlink - rm -f ${D}/usr/bin/readlink - #add /var/cache/fonts directory - dodir /var/cache/fonts - - #fix for lousy upstream permisssions on /usr/share/texmf files - #NOTE: do not use fowners, as its not recursive ... - einfo "Fixing permissions..." - chown -R root.root ${D}/usr/share/texmf -} - -pkg_postinst() { - - if [ $ROOT = "/" ] - then - einfo "Configuring teTeX..." - mktexlsr &>/dev/null - texlinks &>/dev/null - texconfig init &>/dev/null - texconfig confall &>/dev/null - texconfig font vardir /var/cache/fonts &>/dev/null - einfo "Generating format files..." - fmtutil --missing &>/dev/null # This should generate all missing fmt files. - - echo - einfo "Use 'texconfig font rw' to allow all users to generate fonts." - echo - fi -} - diff --git a/app-text/tetex/tetex-1.0.7-r9.ebuild b/app-text/tetex/tetex-1.0.7-r9.ebuild deleted file mode 100644 index 86be1eea0086..000000000000 --- a/app-text/tetex/tetex-1.0.7-r9.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r9.ebuild,v 1.15 2003/03/25 22:42:17 seemant Exp $ - -IUSE="X libwww png" - -TEXMFSRC="teTeX-texmf-gg-1.0.3.tar.bz2" -S=${WORKDIR}/teTeX-1.0 - -DESCRIPTION="a complete TeX distribution" -HOMEPAGE="http://tug.cs.umb.edu/tetex/" -SRC_URI="ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-1.0.7.tar.gz - ftp://ftp.dante.de/pub/tex/systems/unix/teTeX/1.0/contrib/ghibo/${TEXMFSRC} - http://www.ibiblio.org/gentoo/distfiles/ec-ready-mf-tfm.tar.gz - http://www.ibiblio.org/gentoo/distfiles/teTeX-french.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc" - -DEPEND="sys-apps/ed - sys-libs/zlib - X? ( virtual/x11 ) - png? ( >=media-libs/libpng-1.2.1 ) - libwww? ( >=net-libs/libwww-5.3.2-r1 )" - -RDEPEND=">=dev-lang/perl-5.2 - dev-util/dialog" - -src_unpack() { - - unpack teTeX-src-1.0.7.tar.gz - - mkdir ${S}/texmf - cd ${S}/texmf - echo ">>> Unpacking ${TEXMFSRC}" - tar xjf ${DISTDIR}/${TEXMFSRC} - echo ">>> Unpacking ec-ready-mf-tfm.tar.gz" - tar xzf ${DISTDIR}/ec-ready-mf-tfm.tar.gz -C .. - echo ">>> Unpacking teTeX-french.tar.gz" - tar xzf ${DISTDIR}/teTeX-french.tar.gz - - cd ${WORKDIR} - patch -p0 < ${FILESDIR}/teTeX-1.0-gentoo.diff || die - - cd ${S} - patch -p0 < ${FILESDIR}/teTeX-1.0.dif || die - - # Fix problem where the *.fmt files are not generated due to the LaTeX - # source being older than a year. -# local x -# for x in `find ${S}/texmf/ -type f -name '*.ini'` -# do -# cp ${x} ${x}.orig -# sed -e '1i \\scrollmode' ${x}.orig > ${x} -# rm -f ${x}.orig -# done - -} - -src_compile() { - - local myconf - use X \ - && myconf="--with-x" \ - || myconf="--without-x" - - use libwww \ - && myconf="${myconf} --with-system-wwwlib" - - use png \ - && myconf="${myconf} --with-system-pnglib" - - - myconf="${myconf} --with-system-ncurses" - - - # Does it make sense to compile the included libwww with mysql ? - - ./configure --host=${CHOST} \ - --prefix=/usr \ - --bindir=/usr/bin \ - --datadir=/usr/share \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --datadir=${S} \ - --without-texinfo \ - --without-dialog \ - --with-system-zlib \ - --disable-multiplatform \ - --with-epsfwin \ - --with-mftalkwin \ - --with-regiswin \ - --with-tektronixwin \ - --with-unitermwin \ - --with-ps=gs \ - --enable-ipc \ - --with-etex \ - ${myconf} || die - - make texmf=/usr/share/texmf || die -} - -src_install() { - - cd ${S} - dodir /usr/share/ - cp -af texmf ${D}/usr/share - sed -e 's: \$(scriptdir)/mktexlsr: echo:' \ - -e 's:\$(scriptdir)/texconfig init:echo:' \ - Makefile > Makefile.install - make prefix=${D}/usr \ - bindir=${D}/usr/bin \ - datadir=${D}/usr/share \ - mandir=${D}/usr/share/man/man1 \ - infodir=${D}/usr/share/info \ - texmf=${D}/usr/share/texmf \ - -f Makefile.install \ - install || die - - dodoc PROBLEMS README - docinto texk - dodoc texk/ChangeLog texk/README - docinto kpathesa - cd ${S}/texk/kpathsea - dodoc README* NEWS PROJECTS HIER - docinto dviljk - cd ${S}/texk/dviljk - dodoc AUTHORS README NEWS - docinto dvipsk - cd ${S}/texk/dvipsk - dodoc AUTHORS ChangeLog INSTALLATION README - docinto makeindexk - cd ${S}/texk/makeindexk - dodoc CONTRIB COPYING NEWS NOTES PORTING README - docinto ps2pkm - cd ${S}/texk/ps2pkm - dodoc ChangeLog CHANGES.type1 INSTALLATION README* - docinto web2c - cd ${S}/texk/web2c - dodoc AUTHORS ChangeLog NEWS PROJECTS README - docinto xdvik - cd ${S}/texk/xdvik - dodoc BUGS FAQ README* - - #fix for conflicting readlink binary: - rm ${D}/bin/readlink - #add /var/cache/fonts directory - dodir /var/cache/fonts - - #fix for lousy upstream permisssions on /usr/share/texmf files - fowners root.root /usr/share/texmf/* -} - -pkg_postinst() { - - if [ $ROOT = "/" ] - then - echo ">>> Configuring teTeX..." - mktexlsr >/dev/null 2>&1 - texlinks >/dev/null 2>&1 - texconfig init >/dev/null 2>&1 - texconfig confall >/dev/null 2>&1 - texconfig font vardir /var/cache/fonts >/dev/null 2>&1 - echo - einfo "Use 'texconfig font rw' to allow all users to generate fonts." - fi -} diff --git a/app-text/tetex/tetex-2.0.ebuild b/app-text/tetex/tetex-2.0.ebuild deleted file mode 100644 index d516ae0f92e3..000000000000 --- a/app-text/tetex/tetex-2.0.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.ebuild,v 1.7 2003/03/11 21:11:45 seemant Exp $ - -inherit eutils flag-o-matic - -S=${WORKDIR}/tetex-src-${PV} -TETEXSRC="tetex-src-${PV}.tar.gz" -TEXMFSRC="tetex-texmfsrc-${PV}.tar.gz" -TEXMF="tetex-texmf-${PV}.tar.gz" - -DESCRIPTION="a complete TeX distribution" -SRC_URI="ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TETEXSRC} - ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TEXMFSRC} - ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TEXMF}" -HOMEPAGE="http://tug.cs.umb.edu/tetex/" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -SLOT="0" -LICENSE="GPL-2" -IUSE="ncurses X libwww png" - -DEPEND="sys-apps/ed - sys-libs/zlib - X? ( virtual/x11 ) - png? ( >=media-libs/libpng-1.2.1 ) - ncurses? ( sys-libs/ncurses ) - libwww? ( >=net-libs/libwww-5.3.2-r1 )" -RDEPEND=">=dev-lang/perl-5.2 - dev-util/dialog" - -src_unpack() { - unpack ${TETEXSRC} - - cd ${S} - #epatch ${FILESDIR}/${PF}-gentoo.diff - - mkdir ${S}/texmf - cd ${S}/texmf - umask 022 - pwd - einfo "Unpacking ${TEXMFSRC}" - tar --no-same-owner -xzf ${DISTDIR}/${TEXMFSRC} || die - - einfo "Unpacking ${TEXMF}" - tar --no-same-owner -xzf ${DISTDIR}/${TEXMF} || die - - # Do not run config stuff - cd ${WORKDIR} - cd ${S} - epatch ${FILESDIR}/${P}-dont-run-config.diff - - # Fix for dvips to print directly. - #epatch ${FILESDIR}/teTeX-1.0-dvips.diff - -} - -src_compile() { - - local myconf="" - use X \ - && myconf="--with-x" \ - || myconf="--without-x" - - use libwww \ - && myconf="${myconf} --with-system-wwwlib \ - --with-libwww-include=/usr/include/w3c-libwww" - - use png \ - && myconf="${myconf} --with-system-pnglib" - - - use ncurses \ - && myconf="${myconf} --with-system-ncurses" - - - # Does it make sense to compile the included libwww with mysql ? - - ./configure --host=${CHOST} \ - --prefix=/usr \ - --bindir=/usr/bin \ - --datadir=/usr/share \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --datadir=${S} \ - --without-texinfo \ - --without-dialog \ - --with-system-zlib \ - --disable-multiplatform \ - --with-epsfwin \ - --with-mftalkwin \ - --with-regiswin \ - --with-tektronixwin \ - --with-unitermwin \ - --with-ps=gs \ - --enable-ipc \ - --with-etex \ - ${myconf} || die - - make texmf=/usr/share/texmf || die -} - -src_install() { - - dodir /usr/share/ - # Install texmf files - einfo "Installing texmf..." - cp -Rv texmf ${D}/usr/share - - make prefix=${D}/usr \ - bindir=${D}/usr/bin \ - datadir=${D}/usr/share \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - texmf=${D}/usr/share/texmf \ - install || die - - dodoc PROBLEMS README - docinto texk - dodoc texk/ChangeLog texk/README - docinto kpathesa - cd ${S}/texk/kpathsea - dodoc README* NEWS PROJECTS HIER - docinto dviljk - cd ${S}/texk/dviljk - dodoc AUTHORS README NEWS - docinto dvipsk - cd ${S}/texk/dvipsk - dodoc AUTHORS ChangeLog INSTALLATION README - docinto makeindexk - cd ${S}/texk/makeindexk - dodoc CONTRIB COPYING NEWS NOTES PORTING README - docinto ps2pkm - cd ${S}/texk/ps2pkm - dodoc ChangeLog CHANGES.type1 INSTALLATION README* - docinto web2c - cd ${S}/texk/web2c - dodoc AUTHORS ChangeLog NEWS PROJECTS README - docinto xdvik - cd ${S}/texk/xdvik - dodoc BUGS FAQ README* - - #fix for conflicting readlink binary: - rm -f ${D}/bin/readlink - rm -f ${D}/usr/bin/readlink - #add /var/cache/fonts directory - dodir /var/cache/fonts - - #fix for lousy upstream permisssions on /usr/share/texmf files - #NOTE: do not use fowners, as its not recursive ... - einfo "Fixing permissions..." - chown -R root.root ${D}/usr/share/texmf -} - -pkg_preinst() { - if [ -d "/usr/share/texmf/dvipdfm/config" ] - then - ewarn "Removing /usr/share/texmf/dvipdfm/config/" - rm -rf /usr/share/texmf/dvipdfm/config - fi -} - -pkg_postinst() { - - if [ $ROOT = "/" ] - then - einfo "Configuring teTeX..." - mktexlsr &>/dev/null - texlinks &>/dev/null - texconfig init &>/dev/null - texconfig confall &>/dev/null - texconfig font vardir /var/cache/fonts &>/dev/null - einfo "Generating format files..." - fmtutil --missing &>/dev/null # This should generate all missing fmt files. - echo - einfo "Use 'texconfig font rw' to allow all users to generate fonts." - echo - fi -} - |