Am 03.05.19 um 19:39 schrieb Kurt Mosiejczuk:
> On Fri, May 03, 2019 at 06:43:06PM +0200, Landry Breuil wrote:
> 
>>> Note the port packages three scripts into bin/, leading to collisions
>>> when installing the python3 flavor. Any hint on how to handle this is
>>> very much appreciated.
> 
>> See geo/py-rasterio/Makefile for an example (check the corresponding
>> PLIST):
> 
>> post-install:
>>      mv ${PREFIX}/bin/rio{,${MODPY_BIN_SUFFIX}}
> 
> Pamela once pointed me at www/py-gunicorn for an excellent source of
> code for many special cases.
> 
> It has:
> 
> post-install:
>         for i in ${PREFIX}/bin/*; do \
>                 mv $${i} $${i}${MODPY_BIN_SUFFIX} ;\
>         done
> 
> Which is nice and generic, so even if the name of binaries in a port
> changes, you are fine.

Looks good and works for me, thanks. Updated tarball attached.

Attachment: py-netcdf4.tgz
Description: GNU Zip compressed data

Reply via email to