diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-07 21:49:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-07 21:49:19 +0000 |
commit | aa674790c0eebb49fb436db778158f9d442f4b81 (patch) | |
tree | e634afb14f9e503820d1550a978330190427fae4 /app-text/dvipdfmx | |
parent | add inherit eutils (diff) | |
download | gentoo-2-aa674790c0eebb49fb436db778158f9d442f4b81.tar.gz gentoo-2-aa674790c0eebb49fb436db778158f9d442f4b81.tar.bz2 gentoo-2-aa674790c0eebb49fb436db778158f9d442f4b81.zip |
add inherit eutils
Diffstat (limited to 'app-text/dvipdfmx')
-rw-r--r-- | app-text/dvipdfmx/dvipdfmx-20031009.ebuild | 36 | ||||
-rw-r--r-- | app-text/dvipdfmx/dvipdfmx-20031110.ebuild | 36 | ||||
-rw-r--r-- | app-text/dvipdfmx/dvipdfmx-20031116.ebuild | 38 | ||||
-rw-r--r-- | app-text/dvipdfmx/dvipdfmx-20031207.ebuild | 38 |
4 files changed, 52 insertions, 96 deletions
diff --git a/app-text/dvipdfmx/dvipdfmx-20031009.ebuild b/app-text/dvipdfmx/dvipdfmx-20031009.ebuild index 3aafac9e91fd..5c4d91e33fff 100644 --- a/app-text/dvipdfmx/dvipdfmx-20031009.ebuild +++ b/app-text/dvipdfmx/dvipdfmx-20031009.ebuild @@ -1,16 +1,16 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031009.ebuild,v 1.4 2004/03/11 19:47:42 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031009.ebuild,v 1.5 2004/04/07 21:46:03 vapier Exp $ -IUSE="" +inherit eutils DESCRIPTION="DVI to PDF translator with multi-byte character support" -SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/release/${P}.tar.gz" HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/" +SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/release/${P}.tar.gz" -KEYWORDS="x86 alpha ppc sparc" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 alpha ppc sparc" DEPEND="app-text/ptex !app-text/tetex @@ -27,36 +27,26 @@ src_unpack() { epatch ${FILESDIR}/${PN}-config-gentoo.diff } -src_install () { +src_install() { einstall || die - - dodoc BUGS COPYING ChangeLog FONTMAP INSTALL README TODO + dodoc BUGS ChangeLog FONTMAP INSTALL README TODO } -pkg_postinst () { - - einfo - einfo "Automatically adding CMAPINPUTS to /usr/share/texmf/web2c/texmf.cnf" - if [ ! `grep -q CMAPINPUTS /usr/share/texmf/web2c/texmf.cnf` ]; then - cat >>/usr/share/texmf/web2c/texmf.cnf<<-EOF +pkg_postinst() { + if [ ! `grep -q CMAPINPUTS ${ROOT}/usr/share/texmf/web2c/texmf.cnf` ]; then + cat >>${ROOT}/usr/share/texmf/web2c/texmf.cnf<<-EOF % automatically added by ${PF}.ebuild -- do not edit by hand! CMAPINPUTS = .;/opt/Acrobat5/Resource/Font//;/usr/share/xpdf// % done EOF fi - - sleep 3 - einfo "Done." - einfo - mktexlsr } -pkg_postrm () { - if [ -e /usr/share/texmf/web2c/texmf.cnf ] ; then +pkg_postrm() { + if [ -e ${ROOT}/usr/share/texmf/web2c/texmf.cnf ] ; then sed -i -e "/${PF}\.ebuild/,+2d" \ - /usr/share/texmf/web2c/texmf.cnf + ${ROOT}/usr/share/texmf/web2c/texmf.cnf fi - mktexlsr } diff --git a/app-text/dvipdfmx/dvipdfmx-20031110.ebuild b/app-text/dvipdfmx/dvipdfmx-20031110.ebuild index ae1ced23412b..a7ee21c41163 100644 --- a/app-text/dvipdfmx/dvipdfmx-20031110.ebuild +++ b/app-text/dvipdfmx/dvipdfmx-20031110.ebuild @@ -1,16 +1,16 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031110.ebuild,v 1.4 2004/03/14 21:03:23 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031110.ebuild,v 1.5 2004/04/07 21:46:46 vapier Exp $ -IUSE="" +inherit eutils DESCRIPTION="DVI to PDF translator with multi-byte character support" -SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/release/${P}.tar.gz" HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/" +SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/release/${P}.tar.gz" -KEYWORDS="x86 alpha ~sparc" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 alpha ~sparc" DEPEND="app-text/ptex !app-text/tetex @@ -28,36 +28,26 @@ src_unpack() { epatch ${FILESDIR}/${PN}-config-gentoo.diff } -src_install () { +src_install() { einstall || die - - dodoc BUGS COPYING ChangeLog FONTMAP INSTALL README TODO + dodoc BUGS ChangeLog FONTMAP INSTALL README TODO } -pkg_postinst () { - - einfo - einfo "Automatically adding CMAPINPUTS to /usr/share/texmf/web2c/texmf.cnf" - if [ ! `grep -q CMAPINPUTS /usr/share/texmf/web2c/texmf.cnf` ]; then - cat >>/usr/share/texmf/web2c/texmf.cnf<<-EOF +pkg_postinst() { + if [ ! `grep -q CMAPINPUTS ${ROOT}/usr/share/texmf/web2c/texmf.cnf` ]; then + cat >>${ROOT}/usr/share/texmf/web2c/texmf.cnf<<-EOF % automatically added by ${PF}.ebuild -- do not edit by hand! CMAPINPUTS = .;/opt/Acrobat5/Resource/Font//;/usr/share/xpdf// % done EOF fi - - sleep 3 - einfo "Done." - einfo - mktexlsr } -pkg_postrm () { - if [ -e /usr/share/texmf/web2c/texmf.cnf ] ; then +pkg_postrm() { + if [ -e ${ROOT}/usr/share/texmf/web2c/texmf.cnf ] ; then sed -i -e "/${PF}\.ebuild/,+2d" \ - /usr/share/texmf/web2c/texmf.cnf + ${ROOT}/usr/share/texmf/web2c/texmf.cnf fi - mktexlsr } diff --git a/app-text/dvipdfmx/dvipdfmx-20031116.ebuild b/app-text/dvipdfmx/dvipdfmx-20031116.ebuild index fa822ba6c124..6b997fbe0c98 100644 --- a/app-text/dvipdfmx/dvipdfmx-20031116.ebuild +++ b/app-text/dvipdfmx/dvipdfmx-20031116.ebuild @@ -1,17 +1,17 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031116.ebuild,v 1.1 2004/03/11 19:47:42 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031116.ebuild,v 1.2 2004/04/07 21:48:07 vapier Exp $ -IUSE="" +inherit eutils DESCRIPTION="DVI to PDF translator with multi-byte character support" +HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/" SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/release/${P}.tar.gz http://project.ktug.or.kr/dvipdfmx/snapshot/patch/${P}.patch" -HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/" -KEYWORDS="~x86 ~alpha" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~alpha" DEPEND="app-text/ptex !app-text/tetex @@ -21,8 +21,6 @@ DEPEND="app-text/ptex >=sys-libs/zlib-1.1.4 >=dev-libs/openssl-0.9.6i" -S=${WORKDIR}/${P} - src_unpack() { unpack ${A} cd ${S} @@ -31,36 +29,26 @@ src_unpack() { epatch ${DISTDIR}/${P}.patch } -src_install () { +src_install() { einstall || die - - dodoc BUGS COPYING ChangeLog FONTMAP INSTALL README TODO + dodoc BUGS ChangeLog FONTMAP INSTALL README TODO } -pkg_postinst () { - - einfo - einfo "Automatically adding CMAPINPUTS to /usr/share/texmf/web2c/texmf.cnf" - if [ ! `grep -q CMAPINPUTS /usr/share/texmf/web2c/texmf.cnf` ]; then - cat >>/usr/share/texmf/web2c/texmf.cnf<<-EOF +pkg_postinst() { + if [ ! `grep -q CMAPINPUTS ${ROOT}/usr/share/texmf/web2c/texmf.cnf` ]; then + cat >>${ROOT}/usr/share/texmf/web2c/texmf.cnf<<-EOF % automatically added by ${PF}.ebuild -- do not edit by hand! CMAPINPUTS = .;/opt/Acrobat5/Resource/Font//;/usr/share/xpdf// % done EOF fi - - sleep 3 - einfo "Done." - einfo - mktexlsr } -pkg_postrm () { - if [ -e /usr/share/texmf/web2c/texmf.cnf ] ; then +pkg_postrm() { + if [ -e ${ROOT}/usr/share/texmf/web2c/texmf.cnf ] ; then sed -i -e "/${PF}\.ebuild/,+2d" \ - /usr/share/texmf/web2c/texmf.cnf + ${ROOT}/usr/share/texmf/web2c/texmf.cnf fi - mktexlsr } diff --git a/app-text/dvipdfmx/dvipdfmx-20031207.ebuild b/app-text/dvipdfmx/dvipdfmx-20031207.ebuild index 15c6ec3d37a7..64c25c3b7968 100644 --- a/app-text/dvipdfmx/dvipdfmx-20031207.ebuild +++ b/app-text/dvipdfmx/dvipdfmx-20031207.ebuild @@ -1,16 +1,16 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031207.ebuild,v 1.1 2004/03/11 19:47:42 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031207.ebuild,v 1.2 2004/04/07 21:48:21 vapier Exp $ -IUSE="" +inherit eutils DESCRIPTION="DVI to PDF translator with multi-byte character support" -SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/current/${P}.tar.gz" HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/" +SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/current/${P}.tar.gz" -KEYWORDS="~x86 ~alpha" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~alpha" DEPEND="app-text/ptex !app-text/tetex @@ -20,44 +20,32 @@ DEPEND="app-text/ptex >=sys-libs/zlib-1.1.4 >=dev-libs/openssl-0.9.6i" -S=${WORKDIR}/${P} - src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-config-gentoo.diff } -src_install () { +src_install() { einstall || die - - dodoc BUGS COPYING ChangeLog FONTMAP INSTALL README TODO + dodoc BUGS ChangeLog FONTMAP INSTALL README TODO } -pkg_postinst () { - - einfo - einfo "Automatically adding CMAPINPUTS to /usr/share/texmf/web2c/texmf.cnf" - if [ ! `grep -q CMAPINPUTS /usr/share/texmf/web2c/texmf.cnf` ]; then - cat >>/usr/share/texmf/web2c/texmf.cnf<<-EOF +pkg_postinst() { + if [ ! `grep -q CMAPINPUTS ${ROOT}/usr/share/texmf/web2c/texmf.cnf` ]; then + cat >>${ROOT}/usr/share/texmf/web2c/texmf.cnf<<-EOF % automatically added by ${PF}.ebuild -- do not edit by hand! CMAPINPUTS = .;/opt/Acrobat5/Resource/Font//;/usr/share/xpdf// % done EOF fi - - sleep 3 - einfo "Done." - einfo - mktexlsr } -pkg_postrm () { - if [ -e /usr/share/texmf/web2c/texmf.cnf ] ; then +pkg_postrm() { + if [ -e ${ROOT}/usr/share/texmf/web2c/texmf.cnf ] ; then sed -i -e "/${PF}\.ebuild/,+2d" \ - /usr/share/texmf/web2c/texmf.cnf + ${ROOT}/usr/share/texmf/web2c/texmf.cnf fi - mktexlsr } |