aboutsummaryrefslogtreecommitdiff
path: root/net/corkscrew
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-08-28 09:29:16 +0000
committerMark Pulford <markp@FreeBSD.org>2001-08-28 09:29:16 +0000
commita57ede897d6736a5450632e2f2f01da6a2f85eff (patch)
treee3a9fb4645f9a4497546a914995b04414032d05b /net/corkscrew
parent740ff991fe03a16b2b2f555db5ebdf0d126a7a85 (diff)
downloadports-a57ede897d6736a5450632e2f2f01da6a2f85eff.tar.gz
ports-a57ede897d6736a5450632e2f2f01da6a2f85eff.zip
Notes
Diffstat (limited to 'net/corkscrew')
-rw-r--r--net/corkscrew/Makefile11
-rw-r--r--net/corkscrew/distinfo2
-rw-r--r--net/corkscrew/files/patch-corkscrew.c21
-rw-r--r--net/corkscrew/pkg-plist4
4 files changed, 35 insertions, 3 deletions
diff --git a/net/corkscrew/Makefile b/net/corkscrew/Makefile
index 003627370004..4ebeb3f0f240 100644
--- a/net/corkscrew/Makefile
+++ b/net/corkscrew/Makefile
@@ -6,13 +6,20 @@
#
PORTNAME= corkscrew
-PORTVERSION= 1.5
+PORTVERSION= 2.0
CATEGORIES= net
MASTER_SITES= http://www.agroman.net/corkscrew/
MAINTAINER= markp@FreeBSD.org
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in NEWS README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/net/corkscrew/distinfo b/net/corkscrew/distinfo
index cac61d89bea0..1889e19a4892 100644
--- a/net/corkscrew/distinfo
+++ b/net/corkscrew/distinfo
@@ -1 +1 @@
-MD5 (corkscrew-1.5.tar.gz) = 8419f6e3c80eb84e6b767aacebaa6b4c
+MD5 (corkscrew-2.0.tar.gz) = 35df77e7f0e59c0ec4f80313be52c10a
diff --git a/net/corkscrew/files/patch-corkscrew.c b/net/corkscrew/files/patch-corkscrew.c
new file mode 100644
index 000000000000..a9c115d26816
--- /dev/null
+++ b/net/corkscrew/files/patch-corkscrew.c
@@ -0,0 +1,21 @@
+--- corkscrew.c.orig Mon Aug 27 16:42:20 2001
++++ corkscrew.c Mon Aug 27 16:44:02 2001
+@@ -1,15 +1,15 @@
+ #include "config.h"
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <netdb.h>
+-#include <netinet/in.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <sys/socket.h>
+ #include <sys/time.h>
+-#include <sys/types.h>
+ #include <unistd.h>
+
+ #if HAVE_SYS_FILIO_H
diff --git a/net/corkscrew/pkg-plist b/net/corkscrew/pkg-plist
index 3e2514ba36ff..379592c4e3cb 100644
--- a/net/corkscrew/pkg-plist
+++ b/net/corkscrew/pkg-plist
@@ -1 +1,5 @@
bin/corkscrew
+%%PORTDOCS%%share/doc/corkscrew/NEWS
+%%PORTDOCS%%share/doc/corkscrew/README
+%%PORTDOCS%%share/doc/corkscrew/TODO
+%%PORTDOCS%%@dirrm share/doc/corkscrew