1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/security/umit/Makefile
Eitan Adler bf644bdfc6 - update to version 1.0
- remove stale mastersite
- bump USE_PYTHON to 2.5+
- use databases/py-sqlite3 instead of databases/py-pysqlite2x
- set WITHOUT_PSYCO if python 2.6+ since py-psyco doesn't work with it
- switch from custom do-build and do-install targets to USE_PYDISTUTILS
- add INSTALLS_ICONS, remove INSTALLS_EGGINFO (pydistutils will handle it)
- update WWW
- update pkg-plist
- patch out documentation build

PR:		ports/160072
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by:	maintainer timeout (30 days)
Approved by:	bapt (mentor)
2011-09-23 18:51:40 +00:00

45 lines
1006 B
Makefile

# New ports collection makefile for: umit
# Date created: 20 April 2007
# Whom: Elisey Savateev <b3k@mail.ru>
#
# $FreeBSD$
#
PORTNAME= umit
PORTVERSION= 1.0
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>