freebsd-ports/security/umit/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: umit
# Date created: 20 April 2007
# Whom: Elisey Savateev <b3k@mail.ru>
#
# $FreeBSD$
#
PORTNAME= umit
PORTVERSION= 0.9.3
PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-RC2 \
http://bio3k.softboard.ru/uploads/arch/
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_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
USE_BZIP2= yes
USE_PYTHON= yes
USE_GNOME= pygtk2
INSTALLS_EGGINFO= yes
.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>