2000-01-09 03:10:32 +00:00
|
|
|
# New ports collection makefile for: libnids
|
|
|
|
# Date created: 08 Jan 2000
|
|
|
|
# Whom: kris@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2000-04-09 18:14:07 +00:00
|
|
|
#
|
2000-01-09 03:10:32 +00:00
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= libnids
|
2003-10-29 14:13:08 +00:00
|
|
|
PORTVERSION= 1.18
|
2000-04-24 07:42:58 +00:00
|
|
|
CATEGORIES= net security
|
2003-10-29 14:13:08 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-01-09 03:10:32 +00:00
|
|
|
|
2000-11-25 08:13:46 +00:00
|
|
|
MAINTAINER= roam@FreeBSD.org
|
2003-10-29 14:13:08 +00:00
|
|
|
COMMENT= Network monitoring library with TCP/IP reassembly
|
2000-01-09 03:10:32 +00:00
|
|
|
|
2003-10-29 14:13:08 +00:00
|
|
|
.if defined(WITH_LIBNET_DEVEL)
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel
|
|
|
|
.else
|
2000-01-09 03:10:32 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
|
2003-10-29 14:13:08 +00:00
|
|
|
.endif
|
2000-01-09 03:10:32 +00:00
|
|
|
|
2000-01-28 05:58:50 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-10-29 14:13:08 +00:00
|
|
|
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2000-01-28 05:58:50 +00:00
|
|
|
|
2000-02-18 02:15:27 +00:00
|
|
|
MAN3= libnids.3
|
2000-01-28 05:58:50 +00:00
|
|
|
|
2000-01-09 03:10:32 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/nids.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/libnids.a ${PREFIX}/lib
|
2003-10-29 14:13:08 +00:00
|
|
|
${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
|
2000-01-09 03:10:32 +00:00
|
|
|
|
2003-10-29 14:13:08 +00:00
|
|
|
.include <bsd.port.mk>
|