Prev: FreeBSD Port: lightning-0.9_3
Next: LUAR BIASA!!! ABSENSI SIDIK JARI HANYA 1, 3 JUTA => LIFETIME WARANTY
From: Ruslan Mahmatkhanov on 22 Apr 2010 00:46 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(a)freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" > -- Regards, Ruslan _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Max Brazhnikov on 22 Apr 2010 01:32
On Thu, 22 Apr 2010 08:46:31 +0400, Ruslan Mahmatkhanov wrote: > 22.04.2010 02:23, Greg Larkin пиÑеÑ: > > 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 You have to use ${PYTHON_PKGNAMEPREFIX}enchant>=0 in this case. Max _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" |