blob: 1873e5ae359b3690b4ae9f8fe88ef516d22bb8c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: umit
# Date created: 20 April 2007
# Whom: 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_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GNOME= pygtk2
USE_PYTHON= 2.5+
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>
|