1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/net-mgmt/packit/Makefile
Kirill Ponomarev 5e147280ef - SIZEify
2004-01-30 14:05:15 +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= 0.7.1
CATEGORIES= net
MASTER_SITES= http://packit.sourceforge.net/downloads/
EXTRACT_SUFX= .tgz
MAINTAINER= krion@FreeBSD.org
COMMENT= Network auditing tool
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config
MAN8= packit.8
PLIST_FILES= sbin/packit
USE_SIZE= yes
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-devel to build this port
@${ECHO_MSG} ""
@${ECHO_MSG} ""#######################################################
@${ECHO_MSG} ""
.include <bsd.port.mk>