Makefile 696 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.6 2017/06/11 09:02:43 dcoppa Exp $
  2. COMMENT = minimalistic console file manager
  3. MODPY_EGG_VERSION = 1.7.2
  4. DISTNAME = ranger-${MODPY_EGG_VERSION}
  5. REVISION = 0
  6. CATEGORIES = sysutils misc
  7. HOMEPAGE = http://www.nongnu.org/ranger/
  8. # GPLv3+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = ${HOMEPAGE}
  11. MODULES = lang/python
  12. # libarchive (bsdtar) used as an alternative to atool; see scope.sh patch
  13. RUN_DEPENDS = archivers/libarchive \
  14. textproc/py-chardet
  15. TEST_DEPENDS = devel/gmake \
  16. sysutils/ggrep
  17. pre-configure:
  18. ${SUBST_CMD} ${WRKSRC}/doc/ranger.1 \
  19. ${WRKSRC}/ranger/ext/img_display.py
  20. do-test:
  21. cd ${WRKSRC}; PYTHON=${MODPY_BIN} gmake test
  22. .include <bsd.port.mk>