mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
02a5f6113a
- Add INSTALL_TARGET=install-strip Approved by: portmgr (implicit, bump unstaged port)
36 lines
797 B
Makefile
36 lines
797 B
Makefile
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= packit
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= http://packit.sourceforge.net/downloads/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Network auditing tool
|
|
|
|
LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= `${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --cflags`
|
|
|
|
PLIST_FILES= sbin/packit \
|
|
man/man8/packit.8.gz
|
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
|
|
|
|
.if defined(WITHOUT_CAPTURE)
|
|
CONFIGURE_ARGS+= --without-capture
|
|
.endif
|
|
.if defined(WITHOUT_INJECTION)
|
|
CONFIGURE_ARGS+= --without-injection
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
.include <bsd.port.mk>
|