blob: e8ca3c5fc2c7150b2cfee949c40d109aec08657d (
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
46
47
48
|
# Created by: Elisey Savateev <b3k@mail.ru>
# $FreeBSD$
PORTNAME= umit
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Nmap frontend developed with Python and PyGTK
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
${LOCALBASE}/bin/nmap:security/nmap
NO_ARCH= yes
USES= python tar:bzip2
USE_GNOME= pygtk2
USE_PYTHON= distutils
INSTALLS_ICONS= yes
PORTDOCS= *
DESKTOP_ENTRIES="Umit" "GUI frontend for Nmap security/port scanner" "umit" \
"umit" "System;GTK;" ""
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx
post-patch:
@${REINPLACE_CMD} -e \
's|distutils\(.command.install\) |setuptools\1 | ; \
s|sphinx\.main|sphinx\.build_main| ; \
/self.create_uninstaller()/d ; \
/self.pkgmaintainer/s|0|1|' ${WRKSRC}/setup.py
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps
@${LN} -sf ${PREFIX}/share/pixmaps/umit/umit_48x48.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/umit.png
.include <bsd.port.mk>
|