freebsd-ports/net/libproxy-python/pkg-plist
Raphael Kubo da Costa e799f2f50a Modernize net/libproxy-python and fix dependencies.
In preparation for updating the libproxy ports to 0.4.12, first land some
changes that also apply to 0.4.6 and can be MFH'ed.

- Make net/libproxy a run-time dependency: we only install .py files in this
  port, and they only load libproxy.so when being run. Consequently, also set
  NO_ARCH=yes.
- Set NO_BUILD=yes and modernize the installation. Instead of having an empty
  do-build target and invoking Python's compileall.py in post-build, do it like
  most other ports and call it in post-install (this requires guarding the
  post-install target in net/libproxy's Makefile).
  We also pass -d to compileall.py to avoid having ${STAGEDIR} in the .pyc and
  .pyo files (and shown in exception tracebacks).
- Let the port handle installation instead of defining do-install. We just need
  to set INSTALL_WRKSRC appropriately to avoid installing more files than we
  want.

Approved by:	gnome (kwm)
2016-01-19 09:50:10 +00:00

4 lines
104 B
Plaintext

%%PYTHON_SITELIBDIR%%/libproxy.py
%%PYTHON_SITELIBDIR%%/libproxy.pyc
%%PYTHON_SITELIBDIR%%/libproxy.pyo