summaryrefslogtreecommitdiffstats
path: root/net/libnet10/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-06-02 22:51:20 +0000
committerkris <kris@FreeBSD.org>2000-06-02 22:51:20 +0000
commitb09a970e08c65943e1cb972563b4a4c7e11780c2 (patch)
tree97e34033ace6c4582c8cdea4261bf5bb855f1ddd /net/libnet10/Makefile
parentf22d68576919514cd563a8ac4fedf9babedf2465 (diff)
downloadFreeBSD-ports-b09a970e08c65943e1cb972563b4a4c7e11780c2.zip
FreeBSD-ports-b09a970e08c65943e1cb972563b4a4c7e11780c2.tar.gz
Update to libnet-1.0.1b and portlint
No response from: Maintainer
Diffstat (limited to 'net/libnet10/Makefile')
-rw-r--r--net/libnet10/Makefile36
1 files changed, 16 insertions, 20 deletions
diff --git a/net/libnet10/Makefile b/net/libnet10/Makefile
index 6dc6d23..bf50118 100644
--- a/net/libnet10/Makefile
+++ b/net/libnet10/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= libnet
-PORTVERSION= 0.99g
+PORTVERSION= 1.0.1b
CATEGORIES= net
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
-EXTRACT_SUFX= .tgz
MAINTAINER= shipley@dis.org
@@ -17,27 +16,24 @@ MAN3= libnet.3
GNU_CONFIGURE= yes
-#NOPROFILE= true
-
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} <= 300000
-BROKEN= does not build
-.endif
-
-WRKSRC= ${WRKDIR}/Libnet-0.99g
+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
- ${INSTALL_MAN} ${WRKSRC}/doc/PORTS ${PREFIX}/share/doc/libnet
- ${INSTALL_MAN} ${WRKSRC}/doc/README ${PREFIX}/share/doc/libnet
- ${INSTALL_MAN} ${WRKSRC}/doc/README.bpf ${PREFIX}/share/doc/libnet
- ${INSTALL_MAN} ${WRKSRC}/doc/README.asn.1 ${PREFIX}/share/doc/libnet
- ${INSTALL_MAN} ${WRKSRC}/doc/README.bpf ${PREFIX}/share/doc/libnet
- ${INSTALL_MAN} ${WRKSRC}/doc/README.examples ${PREFIX}/share/doc/libnet
- ${INSTALL_MAN} ${WRKSRC}/doc/README.linux ${PREFIX}/share/doc/libnet
- ${INSTALL_MAN} ${WRKSRC}/doc/README.rawsockets ${PREFIX}/share/doc/libnet
- ${INSTALL_MAN} ${WRKSRC}/doc/README.stubs ${PREFIX}/share/doc/libnet
+ @${MKDIR} ${PREFIX}/share/doc/libnet/html
+ @${MKDIR} ${PREFIX}/share/doc/libnet/html/examples
+.for i in CHANGELOG CHANGELOG-NEWFUNCTIONS COPYING README README.asn.1 README.bpf README.legacy-applications README.libnet-config README.linux README.rawsockets TODO-1.0 TODO-1.1
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/libnet
+.endfor
+.for i in 1.html 2.html 3.html 4.html 5.html 6.html 7.html contrib.html fig-3a.gif figure-1.gif figure-2.gif figure-3.gif figure-3a.gif lrm.html
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/${i} ${PREFIX}/share/doc/libnet/html
+.endfor
+.for i in libnet-example-1.c libnet-example-2.c libnet-example-3.c libnet-example-4.c
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/examples/${i} ${PREFIX}/share/doc/libnet/html/examples
+.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud