Makefile 931 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.2 2016/05/04 05:44:33 rpointel Exp $
  2. COMMENT = information gathering suite
  3. VERSION = 2.7
  4. REVISION = 0
  5. DISTNAME = theharvester-${VERSION}
  6. GH_ACCOUNT = laramies
  7. GH_PROJECT = theHarvester
  8. GH_TAGNAME = 2.7
  9. CATEGORIES = security
  10. HOMEPAGE = http://www.edge-security.com/theharvester.php
  11. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  12. # GPLv2
  13. PERMIT_PACKAGE_CDROM = Yes
  14. MODULES = lang/python
  15. BUILD_DEPENDS = lang/python/${MODPY_VERSION}
  16. RUN_DEPENDS = www/py-requests
  17. MODPY_ADJ_FILES = theHarvester.py
  18. NO_BUILD = Yes
  19. INSTDIR = ${PREFIX}/share/theharvester
  20. do-test:
  21. cd ${WRKSRC} && PYTHONPATH=. ${MODPY_BIN} tests/myparser_test.py
  22. do-install:
  23. rm ${WRKDIST}/.gitignore
  24. cp -r ${WRKDIST} ${INSTDIR}
  25. chmod 755 ${INSTDIR}/theHarvester.py
  26. ln -s ${TRUEPREFIX}/share/theharvester/theHarvester.py ${PREFIX}/bin/theHarvester
  27. ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${INSTDIR}
  28. .include <bsd.port.mk>