1999-05-08 21:16:35 -04:00
|
|
|
# Ports collection makefile for: libnet
|
|
|
|
# Date created: Sun Feb 3, 1999
|
|
|
|
# Whom: shipley@dis.org
|
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1999-05-08 21:16:35 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 14:14:07 -04:00
|
|
|
PORTNAME= libnet
|
2001-07-12 17:32:41 -04:00
|
|
|
PORTVERSION= 1.0.2a
|
2000-04-20 16:06:48 -04:00
|
|
|
CATEGORIES= net
|
1999-05-08 21:16:35 -04:00
|
|
|
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
|
|
|
|
|
|
|
|
MAINTAINER= shipley@dis.org
|
|
|
|
|
|
|
|
MAN3= libnet.3
|
|
|
|
|
2001-07-12 17:32:41 -04:00
|
|
|
USE_AUTOCONF= yes
|
1999-05-08 21:16:35 -04:00
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION}
|
2000-06-02 18:51:20 -04:00
|
|
|
MAN3= libnet.3
|
1999-05-08 21:16:35 -04:00
|
|
|
|
|
|
|
post-install:
|
2000-06-02 18:51:20 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 ${PREFIX}/man/man3
|
1999-05-08 21:16:35 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/libnet
|
2001-07-12 17:32:41 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/libnet/examples
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/libnet/ancillary
|
|
|
|
.for i in CHANGELOG CHANGELOG-NEWFUNCTIONS COPYING README TODO-1.0 TODO-1.1
|
2000-06-02 18:51:20 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/libnet
|
|
|
|
.endfor
|
2001-07-12 17:32:41 -04:00
|
|
|
.for i in README.asn.1 README.bpf README.legacy-applications README.libnet-config README.linux README.rawsockets
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/Ancillary/${i} ${PREFIX}/share/doc/libnet/ancillary
|
2000-06-02 18:51:20 -04:00
|
|
|
.endfor
|
|
|
|
.for i in libnet-example-1.c libnet-example-2.c libnet-example-3.c libnet-example-4.c
|
2001-07-12 17:32:41 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/example/${i} ${PREFIX}/share/doc/libnet/examples
|
2000-06-02 18:51:20 -04:00
|
|
|
.endfor
|
1999-05-08 21:16:35 -04:00
|
|
|
.endif
|
|
|
|
|
2000-06-02 18:51:20 -04:00
|
|
|
.include <bsd.port.mk>
|