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>
42 lines
980 B
Makefile
42 lines
980 B
Makefile
# New ports collection makefile for: libnids
|
|
# Date created: 08 Jan 2000
|
|
# Whom: kris@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libnids
|
|
PORTVERSION= 1.20
|
|
PORTREVISION= 1
|
|
CATEGORIES= net security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= roam@FreeBSD.org
|
|
COMMENT= Network monitoring library with TCP/IP reassembly
|
|
|
|
.if defined(WITH_LIBNET_DEVEL)
|
|
BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
|
|
.else
|
|
BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
|
|
.endif
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAN3= libnids.3
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/src/nids.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/src/libnids.a ${PREFIX}/lib
|
|
${INSTALL_MAN} ${WRKSRC}/src/libnids.3 ${PREFIX}/man/man3
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in README doc/*
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|