aboutsummaryrefslogtreecommitdiff
path: root/dns/libdjbdns
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-12 01:19:08 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-12 01:19:08 +0000
commit17c223577e04d0569158078d34acb4ed08f360b6 (patch)
tree8d66bcc1c88d4170a94f7504fd2f0d9ced6f1b82 /dns/libdjbdns
parent7fe23e87b1a8bb1ca4dee40a025109b3e0b89730 (diff)
downloadports-17c223577e04d0569158078d34acb4ed08f360b6.tar.gz
ports-17c223577e04d0569158078d34acb4ed08f360b6.zip
Notes
Diffstat (limited to 'dns/libdjbdns')
-rw-r--r--dns/libdjbdns/Makefile34
-rw-r--r--dns/libdjbdns/distinfo1
-rw-r--r--dns/libdjbdns/files/patch-Makefile10
-rw-r--r--dns/libdjbdns/pkg-descr8
-rw-r--r--dns/libdjbdns/pkg-plist28
5 files changed, 81 insertions, 0 deletions
diff --git a/dns/libdjbdns/Makefile b/dns/libdjbdns/Makefile
new file mode 100644
index 000000000000..232272f193a6
--- /dev/null
+++ b/dns/libdjbdns/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: libdjbdns
+# Date created: 01 Apr 2002
+# Whom: Sergei Kolobov <sergei@kolobov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdjbdns
+PORTVERSION= 1.05
+CATEGORIES= devel
+MASTER_SITES= http://smarden.org/pape/djb/manpages/
+DISTNAME= djbdns-pd-${PORTVERSION}
+
+MAINTAINER= sergei@kolobov.com
+COMMENT= Public domain DNS client library
+
+INSTALLS_SHLIB= yes
+USE_GMAKE= yes
+ALL_TARGET= it
+
+LIBS= libdjbdns.a libdjbdns.so.1
+INCLUDES= alloc.h byte.h case.h dns.h env.h error.h fmt.h \
+ gen_alloc.h gen_allocdefs.h iopause.h ip4.h ndelay.h \
+ open.h openreadclose.h readclose.h scan.h select.h \
+ socket.h str.h stralloc.h tai.h taia.h uint16.h \
+ uint32.h uint64.h
+
+do-install:
+ @${MKDIR} ${PREFIX}/include/libdjbdns
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} ${LIBS} ${PREFIX}/lib && \
+ ${INSTALL_DATA} ${INCLUDES} ${PREFIX}/include/libdjbdns
+
+.include <bsd.port.mk>
diff --git a/dns/libdjbdns/distinfo b/dns/libdjbdns/distinfo
new file mode 100644
index 000000000000..ff69b5e26fa6
--- /dev/null
+++ b/dns/libdjbdns/distinfo
@@ -0,0 +1 @@
+MD5 (djbdns-pd-1.05.tar.gz) = 9ef72439245b125a5111cba4df6ccb8f
diff --git a/dns/libdjbdns/files/patch-Makefile b/dns/libdjbdns/files/patch-Makefile
new file mode 100644
index 000000000000..14cb11becd98
--- /dev/null
+++ b/dns/libdjbdns/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig Sat May 3 02:54:00 2003
++++ Makefile Sat May 3 02:56:15 2003
+@@ -1,7 +1,3 @@
+-CC=gcc
+-CFLAGS=-O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \
+--Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
+-
+ IT=libdjbdns.a libdjbdns.so.1
+ SYSDEPS=iopause.h select.h uint32.h uint64.h
+
diff --git a/dns/libdjbdns/pkg-descr b/dns/libdjbdns/pkg-descr
new file mode 100644
index 000000000000..203c68cee636
--- /dev/null
+++ b/dns/libdjbdns/pkg-descr
@@ -0,0 +1,8 @@
+This port contains a subset of djbdns (net/djbdns) -
+a DNS client library released to the public domain by its author.
+
+The library was packaged by Gerrit Pape. The port contains both static
+and shared versions of the DNS client library.
+
+Author: D.J. Bernstein
+WWW: http://cr.yp.to/djbdns/dns.html
diff --git a/dns/libdjbdns/pkg-plist b/dns/libdjbdns/pkg-plist
new file mode 100644
index 000000000000..9b157872f6cc
--- /dev/null
+++ b/dns/libdjbdns/pkg-plist
@@ -0,0 +1,28 @@
+include/libdjbdns/alloc.h
+include/libdjbdns/byte.h
+include/libdjbdns/case.h
+include/libdjbdns/dns.h
+include/libdjbdns/env.h
+include/libdjbdns/error.h
+include/libdjbdns/fmt.h
+include/libdjbdns/gen_alloc.h
+include/libdjbdns/gen_allocdefs.h
+include/libdjbdns/iopause.h
+include/libdjbdns/ip4.h
+include/libdjbdns/ndelay.h
+include/libdjbdns/open.h
+include/libdjbdns/openreadclose.h
+include/libdjbdns/readclose.h
+include/libdjbdns/scan.h
+include/libdjbdns/select.h
+include/libdjbdns/socket.h
+include/libdjbdns/str.h
+include/libdjbdns/stralloc.h
+include/libdjbdns/tai.h
+include/libdjbdns/taia.h
+include/libdjbdns/uint16.h
+include/libdjbdns/uint32.h
+include/libdjbdns/uint64.h
+lib/libdjbdns.a
+lib/libdjbdns.so.1
+@dirrm include/libdjbdns