Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.14 2015/12/20 15:43:46 ajacoutot Exp $
  2. COMMENT= utilities for jailing a user or process
  3. DISTNAME= jailkit-2.19
  4. CATEGORIES= security sysutils
  5. HOMEPAGE= http://olivier.sessink.nl/jailkit/
  6. MASTER_SITES= http://olivier.sessink.nl/jailkit/
  7. # BSD - LGPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MODULES= lang/python
  10. WANTLIB += c pthread
  11. NO_TEST= Yes
  12. CONFIGURE_STYLE= gnu
  13. CONFIGURE_ENV= PYTHONINTERPRETER=${MODPY_BIN} \
  14. PROCMAILPATH=${LOCALBASE}/bin/procmail
  15. CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR}
  16. FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples
  17. MAN_P= jailkit.8 jk_check.8 jk_chrootlaunch.8 jk_chrootsh.8 jk_cp.8 \
  18. jk_init.8 jk_jailuser.8 jk_lsh.8 jk_socketd.8 jk_uchroot.8 \
  19. jk_update.8
  20. pre-configure:
  21. ${SUBST_CMD} ${WRKSRC}/ini/jk_init.ini
  22. for i in ${MAN_P}; do \
  23. ${SUBST_CMD} ${WRKSRC}/man/$${i}; done
  24. post-install:
  25. # recreate the .pyc file, otherwise it would change
  26. # after installation
  27. rm ${PREFIX}/share/jailkit/jk_lib.pyc
  28. ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
  29. ${PREFIX}/share/jailkit
  30. .include <bsd.port.mk>