diff options
Diffstat (limited to 'net/libnet/Makefile')
-rw-r--r-- | net/libnet/Makefile | 17 |
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> |