From owner-freebsd-ports@FreeBSD.ORG Thu Apr 22 04:47:21 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C53C2106564A for ; Thu, 22 Apr 2010 04:47:21 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [95.108.130.92]) by mx1.freebsd.org (Postfix) with ESMTP id 7171C8FC08 for ; Thu, 22 Apr 2010 04:47:21 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward14.mail.yandex.net (Yandex) with ESMTP id 9302B4E50DB7 for ; Thu, 22 Apr 2010 08:47:19 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1271911639; bh=S/OJYQfqj2dMwpfeb8Vl6a5IZeNIhDNZlM3OdFc/rac=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=mwe5yyKK5GAMvlpNp64i2DLSiZhZPol+QsEp+xYM68d/hExzaM48FtzA5DH2sNQJa y51sHy6zhqA5MclCtyVjSePLp0D9zTGvDs58OYUd/oXYDLT4otoRsmDMeLOemeBy6N 8YJPimTZJyODfO9sXjAyJGd/WBaDaJyCObumqqf8= Received: from smeshariki2.local (unknown [77.66.250.137]) by smtp11.mail.yandex.net (Yandex) with ESMTPSA id 6344944D8081 for ; Thu, 22 Apr 2010 08:47:19 +0400 (MSD) Message-ID: <4BCFD4A7.60105@yandex.ru> Date: Thu, 22 Apr 2010 08:46:31 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.1.8) Gecko/20100303 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4BCF6A12.5030000@yandex.ru> <4BCF7AF5.5000004@FreeBSD.org> In-Reply-To: <4BCF7AF5.5000004@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1271911639 X-Yandex-Spam: 1 X-Yandex-Front: smtp11.mail.yandex.net Subject: Re: How to depend on package in EGG? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 04:47:21 -0000 22.04.2010 02:23, Greg Larkin пишет: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ruslan Mahmatkhanov wrote: >> Good day! >> >> I want add option in port's Makefile to depend on textproc/py-enchant. >> But how i can do it? It installs as python egg. >> >> .if defined(WITH_ENCHANT) >> RUN_DEPENDS+=${LOCALBASE}/????/enchant/__init__.py:${PORTSDIR}/textproc/py-enchant >> >> .endif >> >> What should i wrote instead ???? in left part of this RUN_DEPENDS string? >> >> Thanks in advance for answer. >> > > Hi Ruslan, > > You can depend on the installed package name, instead of a file in the > port like so: > > RUN_DEPENDS+= py-enchant>=0:${PORTSDIR}/textproc/py-enchant Thank you much, Greg! It's what i need. > > If you require a specific version, just change ">=0" to the minimum > version like ">=1.4". > > Best regards, > Greg > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > http://twitter.com/sourcehosting/ - Follow me, follow you > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iD8DBQFLz3r00sRouByUApARAmwKAJ915F035jUjUSj3Ap33RdyHyA3JJQCbBVa4 > vk468ZZmDtRq9/IziUz3CMI= > =R13m > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > -- Regards, Ruslan