1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/net/libnids/Makefile

42 lines
986 B
Makefile
Raw Normal View History

# New ports collection makefile for: libnids
# Date created: 08 Jan 2000
# Whom: kris@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= libnids
PORTVERSION= 1.18
2000-04-24 07:42:58 +00:00
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= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel
.else
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
.endif
2000-01-28 05:58:50 +00:00
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
2000-01-28 05:58:50 +00:00
MAN3= libnids.3
2000-01-28 05:58:50 +00:00
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>