Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2000 23:16:31 -0400
From:      Will Andrews <andrews@technologist.com>
To:        Michael Urban <murban@tznet.com>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Need help with a porting project.
Message-ID:  <20000606231631.B17941@argon.gryphonsoft.com>
In-Reply-To: <393DBC2C.31790FC3@tznet.com>; from murban@tznet.com on Tue, Jun 06, 2000 at 10:06:20PM -0500
References:  <393DBC2C.31790FC3@tznet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 06, 2000 at 10:06:20PM -0500, Michael Urban wrote:
> The port depends on py-gtk, which is a toolkit that allows you to use
> GTK in Python. I am not sure what to put this under as a depandancy, or
> how to even check for it.

When you need this sort of thing, all you have to do is look in
pkg/PLIST for the port.  In this case, we observe that py-gtk installs
${PREFIX}/include/pygtk/pygtk.h, so we will put:

BUILD_DEPENDS=  ${LOCALBASE}/include/pygtk/pygtk.h:${PORTSDIR}/x11-toolkits/py-gtk

in your port's Makefile.

> Right now, I am thinking of checking for it by using a
> RUN_DEPENDS statement, and looking for "/usr/lib/pygtk.h". That is one

It better NOT be installing a file to THAT directory!!!

-- 
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000606231631.B17941>