freebsd-ports/security/yersinia/Makefile
Mark Linimon 45cb752a04 Begin deorbit burn of ia64. We have not attempted to build packages for
it for many years.

While here, alphabetize ARCHs, pet portlint, and modernize usages.

Approved by:	portmgr (tier-2 blanket)
2017-06-25 00:29:09 +00:00

38 lines
831 B
Makefile

# Created by: se
# $FreeBSD$
PORTNAME= yersinia
PORTVERSION= 0.7.1
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.yersinia.net/download/
MAINTAINER= ayu@commun.jp
COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...)
LIB_DEPENDS= libnet.so:net/libnet
.if !defined(WITHOUT_GTK)
.if exists(${LOCALBASE}/include/gtk-2.0/gtk/gtk.h)
WITH_GTK= true
.endif
.endif
.if defined(WITH_GTK)
USES= pkgconfig
USE_GNOME+= gtk20
PKGNAMESUFFIX= -gtk
CONFLICTS= yersinia-[0-9]*
.else
CONFIGURE_ARGS+= --disable-gtk
CONFLICTS= yersinia-gtk-[0-9]*
.endif
GNU_CONFIGURE= yes
PLIST_FILES= sbin/yersinia \
man/man8/yersinia.8.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
.include <bsd.port.mk>