Date: Sat, 19 Apr 2014 16:35:06 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: [PYTHON]: Howto check dependency PyOpenGL in port's Makefile? Message-ID: <20140419163506.6eb14cca.ohartman@zedat.fu-berlin.de>
next in thread | raw e-mail | index | archive | help
--Sig_/ZILJ+QzdCVMRtzEzJZ_TeYN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I try to port PyOpenCL and one dependency is PyOpenGL and Mako. For Mako (textproc/py-mako) the check for dependecy seems simple as I can check BUILD_DEPENDS+=3D ${PYTHONBASE}/bin/mako-render:${PORTSDIR}/textproc/py-mako But how can I check for PyOpenGL? As far as I came, it must be something li= ke ${PYTHON_SITELIBDIR}/PyOpenGL-BLABLA-${PYTHON_PKGNAMEPREFIX}, PYTHON_PKGNAM= EPREFIX expand to py27- (in my case) and NOT py2.7- as requested by the PyOpenGL port: /usr/local/lib/python2.7/site-packages/PyOpenGL-3.0.1-py2.7.egg-info/ I'd like to have a general solution not nailed down to version 3.0.1 of PyO= penGL and maybe an elegant way to check for the correct file. Is there an official way to do so? Thanks in advance, Oliver --Sig_/ZILJ+QzdCVMRtzEzJZ_TeYN Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTUomeAAoJEOgBcD7A/5N83joIAK89j/4Uh89jI8FLPMr1+nH1 PXjfSKzePsh/wvpg5A+Ikt6h0D+N4927PibRbPsJ5ndsFCGth6ytiJb3TxNd+HMh h+ynNps0Gnt7DVVbgvLUnOLTw3zT19VDtCo3/YTsMrKllQ3xlTsNX4rGNYMsaTH1 Amkke8zn1Wy1IBxWCnW3j/9WIudvPMz0zClKnEtgTrqUF3EjgTgQf44oxx6CQzes 89oqHtGzue7+HfTw7/qHAViJSmSUY3j/W8Pb/NV7XXGE34KtUgaGvOtapMvgJ1OV lezmDwk1gIIfyTBhtPNDsOPZQW2VoF0J5/lACDt9F/RG09qWEsgEHpDboKwEPKw= =C4RD -----END PGP SIGNATURE----- --Sig_/ZILJ+QzdCVMRtzEzJZ_TeYN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140419163506.6eb14cca.ohartman>