2007-04-20 14:05:55 -04:00
|
|
|
# New ports collection makefile for: umit
|
|
|
|
# Date created: 20 April 2007
|
|
|
|
# Whom: Elisey Savateev <b3k@mail.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= umit
|
|
|
|
PORTVERSION= 0.9.3
|
2009-07-31 09:57:52 -04:00
|
|
|
PORTREVISION= 5
|
2007-04-20 14:05:55 -04:00
|
|
|
CATEGORIES= security
|
2009-08-21 20:35:32 -04:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-RC2 \
|
2007-04-20 14:05:55 -04:00
|
|
|
http://bio3k.softboard.ru/uploads/arch/
|
2009-08-21 20:35:32 -04:00
|
|
|
|
2007-04-20 14:05:55 -04:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2009-09-19 06:45:18 -04:00
|
|
|
MAINTAINER= ayu@commun.jp
|
2007-04-20 14:05:55 -04:00
|
|
|
COMMENT= UMIT is the nmap frontend developed with Python and PyGTK
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap \
|
|
|
|
${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_GNOME= pygtk2
|
2007-07-30 05:42:28 -04:00
|
|
|
INSTALLS_EGGINFO= yes
|
2007-04-20 14:05:55 -04:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
WITHOUT_PSYCO= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.ifndef(WITHOUT_PSYCO)
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.ifndef(WITHOUT_PSYCO)
|
|
|
|
@${ECHO_MSG} '===> Define WITHOUT_PSYCO to disable devel/py-psyco optimization'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${PYTHON_CMD} setup.py build
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${PYTHON_CMD} setup.py install --prefix ${PREFIX}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|