mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
597afc47ba
With hat: portmgr Sponsored by: Absolight
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# 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>
|