/[gentoo-x86]/dev-db/pgaccess/pgaccess-0.99.0.20040219-r1.ebuild
Gentoo

Diff of /dev-db/pgaccess/pgaccess-0.99.0.20040219-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-db/pgaccess/Attic/pgaccess-0.99.0.20040219-r1.ebuild,v 1.1 2009/08/09 03:06:31 mescalinum Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-db/pgaccess/Attic/pgaccess-0.99.0.20040219-r1.ebuild,v 1.2 2009/08/18 06:19:09 fauli Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7MY_P=${P//./_} 7MY_P=${P//./_}
8 8
9DESCRIPTION="a database frontend for postgresql" 9DESCRIPTION="a database frontend for postgresql"
10HOMEPAGE="http://www.pgaccess.org/" 10HOMEPAGE="http://sourceforge.net/projects/pgaccess/"
11SRC_URI="mirror://sourceforge/pgaccess/${MY_P}.tgz" 11SRC_URI="mirror://sourceforge/pgaccess/${MY_P}.tgz"
12LICENSE="POSTGRESQL" 12LICENSE="POSTGRESQL"
13 13
14SLOT="0" 14SLOT="0"
15KEYWORDS="~amd64 ~ppc ~x86" 15KEYWORDS="~amd64 ~ppc ~x86"
23 >=dev-lang/tk-8.3.4 23 >=dev-lang/tk-8.3.4
24 >=virtual/postgresql-server-7.3 24 >=virtual/postgresql-server-7.3
25 dev-tcltk/tcllib" 25 dev-tcltk/tcllib"
26 26
27src_compile() { 27src_compile() {
28 cd ${S}
29 epatch ${FILESDIR}/${P}.patch 28 epatch "${FILESDIR}"/${P}.patch
30 epatch ${FILESDIR}/${P}-tcl8.5.patch 29 epatch "${FILESDIR}"/${P}-tcl8.5.patch
31} 30}
32 31
33src_install() { 32src_install() {
34 make prefix=${D} install || die 33 make prefix="${D}" install || die
35 rm -rf ${D}/usr/lib/pgaccess/win32 \ 34 rm -rf "${D}"/usr/lib/pgaccess/win32 \
36 ${D}/usr/lib/pgaccess/Makefile 35 "${D}"/usr/lib/pgaccess/Makefile
37 rm -rf ${D}/usr/lib/pgaccess/osx 36 rm -rf "${D}"/usr/lib/pgaccess/osx
38 dodir /usr/share/doc/${PF} 37 dodir /usr/share/doc/${PF}
39 mv ${D}/usr/lib/pgaccess/{README,changelog,copyright,demo,doc/html,todo} ${D}/usr/share/doc/${PF} 38 mv "${D}"/usr/lib/pgaccess/{README,changelog,copyright,demo,doc/html,todo} "${D}"/usr/share/doc/${PF}
40 rmdir ${D}/usr/lib/pgaccess/doc 39 rmdir "${D}"/usr/lib/pgaccess/doc
41} 40}
42 41
43pkg_postinst() { 42pkg_postinst() {
44 einfo "When running the program, if you encount the error " 43 einfo "When running the program, if you encount the error "
45 einfo "\"Error: Shared library file: '/usr/lib/libpgtcl.so' does not exist.\"," 44 einfo "\"Error: Shared library file: '/usr/lib/libpgtcl.so' does not exist.\","

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20