From owner-freebsd-ports@FreeBSD.ORG Sat Apr 19 14:35:13 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC5DF545 for ; Sat, 19 Apr 2014 14:35:13 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A8B7E1813 for ; Sat, 19 Apr 2014 14:35:13 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) for freebsd-ports@freebsd.org with esmtp (envelope-from ) id <1WbWMJ-002YW0-C0>; Sat, 19 Apr 2014 16:35:11 +0200 Received: from g226180135.adsl.alicedsl.de ([92.226.180.135] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) for freebsd-ports@freebsd.org with esmtpsa (envelope-from ) id <1WbWMJ-000Ao3-8j>; Sat, 19 Apr 2014 16:35:11 +0200 Date: Sat, 19 Apr 2014 16:35:06 +0200 From: "O. Hartmann" To: FreeBSD Ports Subject: [PYTHON]: Howto check dependency PyOpenGL in port's Makefile? Message-ID: <20140419163506.6eb14cca.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/ZILJ+QzdCVMRtzEzJZ_TeYN"; protocol="application/pgp-signature" X-Originating-IP: 92.226.180.135 X-ZEDAT-Hint: A X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 14:35:14 -0000 --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--