-----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 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-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"