1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net-mgmt/packit/Makefile
Sergey Matveychuk e1c4707bab libnet update:
- move 1.0 obsoleted version to net/libnet10
  net/libnet is latest Stable Version
  net/libnet is latest Beta Version

- Fix all depended ports with a new DEPENDS scheme

- While I'm here fix security/yersinia build on 4.x
  (getopt_long and ncurses issues)

PR:		ports/85519 (based on)
Submitted by:	Stas Yakovlev <stas.yakovlev_at_gmail.com>
2005-11-14 17:07:08 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: packit
# Date created: 02.06.2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= packit
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://packit.sourceforge.net/downloads/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Network auditing tool
BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config
MAN8= packit.8
PLIST_FILES= sbin/packit
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.if defined(WITHOUT_CAPTURE)
CONFIGURE_ARGS+= --without-capture
.endif
.if defined(WITHOUT_INJECTION)
CONFIGURE_ARGS+= --without-injection
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} ""#######################################################
@${ECHO_MSG} ""
@${ECHO_MSG} "You need ${PORTSDIR}/net/libnet to build this port
@${ECHO_MSG} ""
@${ECHO_MSG} ""#######################################################
@${ECHO_MSG} ""
.include <bsd.port.mk>