On 06/13/18 18:53, Elias M. Mariani wrote:
I think you had forgotten the tarball :).

Cheers,

Remi.

Maybe...
Thanks for pointing that up. xD

Cheers.


Hi,

you could read /usr/ports/lang/python/python.port.mk because you redefine variables that already exist:

my remarks:

1) add whitespace around variables, "COMMENT=" -> "COMMENT ="
2) use ${MODPY_MAJOR_VERSION} instead of PY_MAJOR, it will be 2 for Python 2.7 and 3 for 3.6; but I think you don't need it (see point 4)
3) PKGNAME = py-${DISTNAME}
4) we traditionnaly use ${MODPY_BIN_SUFFIX} for binary, and some people like to remove the ".py" extension for script, so I would do:

post-install:
mv ${PREFIX}/bin/runxlrd.py ${PREFIX}/bin/runxlrd${MODPY_BIN_SUFFIX}

Cheers,

Remi.

Reply via email to