1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # $OpenBSD: Makefile,v 1.2 2016/05/04 05:44:33 rpointel Exp $
- COMMENT = information gathering suite
- VERSION = 2.7
- REVISION = 0
- DISTNAME = theharvester-${VERSION}
- GH_ACCOUNT = laramies
- GH_PROJECT = theHarvester
- GH_TAGNAME = 2.7
- CATEGORIES = security
- HOMEPAGE = http://www.edge-security.com/theharvester.php
- MAINTAINER = Remi Pointel <rpointel@openbsd.org>
- # GPLv2
- PERMIT_PACKAGE_CDROM = Yes
- MODULES = lang/python
- BUILD_DEPENDS = lang/python/${MODPY_VERSION}
- RUN_DEPENDS = www/py-requests
- MODPY_ADJ_FILES = theHarvester.py
- NO_BUILD = Yes
- INSTDIR = ${PREFIX}/share/theharvester
- do-test:
- cd ${WRKSRC} && PYTHONPATH=. ${MODPY_BIN} tests/myparser_test.py
- do-install:
- rm ${WRKDIST}/.gitignore
- cp -r ${WRKDIST} ${INSTDIR}
- chmod 755 ${INSTDIR}/theHarvester.py
- ln -s ${TRUEPREFIX}/share/theharvester/theHarvester.py ${PREFIX}/bin/theHarvester
- ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${INSTDIR}
- .include <bsd.port.mk>
|