summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-08-11 08:05:59 +0000
committeritojun <itojun@pkgsrc.org>2000-08-11 08:05:59 +0000
commit9ab435966dedb792f509bb9d62d7786093907bad (patch)
tree0597c608d786bff582f0e4f9156237e8132583d5 /net
parent133ad30cbb64b74928fce1b4e4457acc73d2ca90 (diff)
downloadpkgsrc-9ab435966dedb792f509bb9d62d7786093907bad.tar.gz
adapt to netbsd build
Diffstat (limited to 'net')
-rw-r--r--net/libnet/Makefile21
-rw-r--r--net/libnet/files/md52
-rw-r--r--net/libnet/files/patch-sum4
-rw-r--r--net/libnet/patches/patch-aa1
-rw-r--r--net/libnet/patches/patch-ab1
-rw-r--r--net/libnet/pkg/COMMENT2
-rw-r--r--net/libnet/pkg/PLIST1
7 files changed, 17 insertions, 15 deletions
diff --git a/net/libnet/Makefile b/net/libnet/Makefile
index 2dea6ec57eb..240653ca0a2 100644
--- a/net/libnet/Makefile
+++ b/net/libnet/Makefile
@@ -1,27 +1,21 @@
-# Ports collection makefile for: libnet
-# Date created: Sun Feb 3, 1999
-# Whom: shipley@dis.org
-#
+# $NetBSD: Makefile,v 1.2 2000/08/11 08:05:59 itojun Exp $
# $FreeBSD: ports/net/libnet/Makefile,v 1.8 2000/06/02 22:51:19 kris Exp $
#
-PORTNAME= libnet
-PORTVERSION= 1.0.1b
+DISTNAME= libnet-${VERSION}
CATEGORIES= net
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
-MAINTAINER= shipley@dis.org
-
-MAN3= libnet.3
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.packetfactory.net/libnet/
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION}
-MAN3= libnet.3
+VERSION= 1.0.1b
+WRKSRC= ${WRKDIR}/Libnet-${VERSION}
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 ${PREFIX}/man/man3
-.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libnet
@${MKDIR} ${PREFIX}/share/doc/libnet/html
@${MKDIR} ${PREFIX}/share/doc/libnet/html/examples
@@ -34,6 +28,5 @@ post-install:
.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.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/libnet/files/md5 b/net/libnet/files/md5
index bfc76cf8354..f11ece8db99 100644
--- a/net/libnet/files/md5
+++ b/net/libnet/files/md5
@@ -1 +1,3 @@
+$NetBSD: md5,v 1.2 2000/08/11 08:06:00 itojun Exp $
+
MD5 (libnet-1.0.1b.tar.gz) = 6eed9efc6c806911721b8830f18b5237
diff --git a/net/libnet/files/patch-sum b/net/libnet/files/patch-sum
new file mode 100644
index 00000000000..e62d030ca5f
--- /dev/null
+++ b/net/libnet/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1 2000/08/11 08:06:00 itojun Exp $
+
+MD5 (patch-aa) = 48f15088964d164268b19bf0cc7ab92f
+MD5 (patch-ab) = e8bbd0920f419f0794c1689e8179e18b
diff --git a/net/libnet/patches/patch-aa b/net/libnet/patches/patch-aa
index bbdf71b6d0c..575942dcf15 100644
--- a/net/libnet/patches/patch-aa
+++ b/net/libnet/patches/patch-aa
@@ -1,3 +1,4 @@
+$NetBSD: patch-aa,v 1.2 2000/08/11 08:06:00 itojun Exp $
--- configure.orig Wed Oct 27 11:47:27 1999
+++ configure Sat Apr 22 04:01:09 2000
@@ -903,7 +903,7 @@
diff --git a/net/libnet/patches/patch-ab b/net/libnet/patches/patch-ab
index 6c877fe4269..744cae08734 100644
--- a/net/libnet/patches/patch-ab
+++ b/net/libnet/patches/patch-ab
@@ -1,3 +1,4 @@
+$NetBSD: patch-ab,v 1.2 2000/08/11 08:06:00 itojun Exp $
--- Makefile.in.orig Thu Oct 7 20:17:43 1999
+++ Makefile.in Thu Oct 7 20:17:56 1999
@@ -104,7 +104,7 @@
diff --git a/net/libnet/pkg/COMMENT b/net/libnet/pkg/COMMENT
index 92b86b07372..6f9758bfb1c 100644
--- a/net/libnet/pkg/COMMENT
+++ b/net/libnet/pkg/COMMENT
@@ -1 +1 @@
-A C library for creating IP packets
+C library for creating IP packets
diff --git a/net/libnet/pkg/PLIST b/net/libnet/pkg/PLIST
index 91658979404..1c043922fd8 100644
--- a/net/libnet/pkg/PLIST
+++ b/net/libnet/pkg/PLIST
@@ -42,3 +42,4 @@ share/doc/libnet/html/lrm.html
@dirrm share/doc/libnet/html
@dirrm share/doc/libnet
@dirrm include/libnet
+man/man3/libnet.3