aboutsummaryrefslogtreecommitdiff
path: root/net/libnet/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-03-27 00:04:09 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-03-27 00:04:09 +0000
commit86f5027b08d2a2ba02171e0cb56f4264264c253c (patch)
tree3bc973f6444b444f3018454f193b42101807e043 /net/libnet/Makefile
parent81c9d4b34132c8f9c116562008cc2577d02feda5 (diff)
downloadports-86f5027b08d2a2ba02171e0cb56f4264264c253c.tar.gz
ports-86f5027b08d2a2ba02171e0cb56f4264264c253c.zip
Notes
Diffstat (limited to 'net/libnet/Makefile')
-rw-r--r--net/libnet/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/net/libnet/Makefile b/net/libnet/Makefile
index 6453e5379d8e..ac1667e963d8 100644
--- a/net/libnet/Makefile
+++ b/net/libnet/Makefile
@@ -6,29 +6,36 @@
#
PORTNAME= libnet
-PORTVERSION= 1.1.0
+PORTVERSION= 1.0.2a
+PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
MAINTAINER= shipley@dis.org
COMMENT= A C library for creating IP packets
-USE_AUTOMAKE= yes
-CONFIGURE_ENV= ACLOCAL=${ACLOCAL}
+MAN3= libnet.3
+
+USE_AUTOCONF= yes
-WRKSRC= ${WRKDIR}/Libnet-latest
+WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION}
MAN3= libnet.3
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 ${PREFIX}/man/man3
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libnet
+ @${MKDIR} ${PREFIX}/share/doc/libnet/examples
@${MKDIR} ${PREFIX}/share/doc/libnet/ancillary
-.for i in BUGS CHANGELOG DESIGN_NOTES MIGRATION PACKET_BUILDING PORTED RAWSOCKET_NON_SEQUITUR SUPPORTED_PROTOCOLS TODO
+.for i in CHANGELOG CHANGELOG-NEWFUNCTIONS COPYING README TODO-1.0 TODO-1.1
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/libnet
.endfor
.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
.endfor
+.for i in libnet-example-1.c libnet-example-2.c libnet-example-3.c libnet-example-4.c
+ ${INSTALL_DATA} ${WRKSRC}/example/${i} ${PREFIX}/share/doc/libnet/examples
+.endfor
.endif
.include <bsd.port.mk>