mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
e1c4707bab
- 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>
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: nast
|
|
# Date created: Sun Apr 6 10:12:16 CEST 2003
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nast
|
|
PORTVERSION= 0.2.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://download.berlios.de/${PORTNAME}/ \
|
|
http://voodoo.bawue.com/download/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Nast is a packet sniffer
|
|
|
|
BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
|
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config
|
|
|
|
MAN8= nast.8
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
PLIST_FILES= bin/nast
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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} ""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|CFLAGS="-Wall -O2 -pthread"||g' \
|
|
${WRKSRC}/configure
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
|
|
|
|
post-install:
|
|
${CHMOD} 0755 ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.post.mk>
|