1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/security/umit/Makefile

42 lines
944 B
Makefile

# Created by: Elisey Savateev <b3k@mail.ru>
# $FreeBSD$
PORTNAME= umit
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ayu@commun.jp
COMMENT= UMIT is the nmap frontend developed with Python and PyGTK
RUN_DEPENDS= ${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GNOME= pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386" || ${PYTHON_REL} > 260
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
post-patch:
${REINPLACE_CMD} 's/self.build_html_doc()//' ${WRKSRC}/setup.py
.include <bsd.port.post.mk>