aboutsummaryrefslogtreecommitdiffstats
path: root/www/cgi-lib
diff options
context:
space:
mode:
Diffstat (limited to 'www/cgi-lib')
-rw-r--r--www/cgi-lib/Makefile28
-rw-r--r--www/cgi-lib/distinfo1
-rw-r--r--www/cgi-lib/files/patch-aa11
-rw-r--r--www/cgi-lib/pkg-comment1
-rw-r--r--www/cgi-lib/pkg-descr8
-rw-r--r--www/cgi-lib/pkg-plist6
6 files changed, 55 insertions, 0 deletions
diff --git a/www/cgi-lib/Makefile b/www/cgi-lib/Makefile
new file mode 100644
index 000000000000..98847095c055
--- /dev/null
+++ b/www/cgi-lib/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: libcgi
+# Version required: 1.3
+# Date created: 7 January 2000
+# Whom: Sergey Samoyloff <gonza@techline.ru>
+#
+# $FreeBSD$
+#
+
+DISTNAME= cgi-lib
+PKGNAME= cgi-lib-1.3
+CATEGORIES= www
+MASTER_SITES= http://www.geocities.com/SiliconValley/Vista/6493/projects/code/
+
+MAINTAINER= gonza@techline.ru
+
+MAKEFILE= makefile
+
+NO_WRKSUBDIR= yes
+
+do-install:
+ @ ${INSTALL_DATA} ${WRKSRC}/cgi-lib.a ${PREFIX}/lib/libcgi.a
+.for file in cgi-lib.h html-lib.h list-lib.h
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include
+.endfor
+ @ ${MKDIR} ${PREFIX}/share/doc/cgi-lib
+ @ ${INSTALL_DATA} ${WRKSRC}/cgi-lib.html ${PREFIX}/share/doc/cgi-lib
+
+.include <bsd.port.mk>
diff --git a/www/cgi-lib/distinfo b/www/cgi-lib/distinfo
new file mode 100644
index 000000000000..87a71caf2047
--- /dev/null
+++ b/www/cgi-lib/distinfo
@@ -0,0 +1 @@
+MD5 (cgi-lib.tar.gz) = 345647dbad4b07c19838f2a9b54d9022
diff --git a/www/cgi-lib/files/patch-aa b/www/cgi-lib/files/patch-aa
new file mode 100644
index 000000000000..aebde55d48df
--- /dev/null
+++ b/www/cgi-lib/files/patch-aa
@@ -0,0 +1,11 @@
+--- makefile.orig Sun Jan 23 20:40:47 2000
++++ makefile Sun Jan 23 20:41:08 2000
+@@ -24,7 +24,7 @@
+ #
+
+ CGI-LIB=cgi-lib.a
+-CC=gcc
++CC?=gcc
+ CCFLAGS=-c
+ AR=ar
+ ARFLAGS=rc
diff --git a/www/cgi-lib/pkg-comment b/www/cgi-lib/pkg-comment
new file mode 100644
index 000000000000..50c6a859c030
--- /dev/null
+++ b/www/cgi-lib/pkg-comment
@@ -0,0 +1 @@
+ANSI C Library for CGI Programming
diff --git a/www/cgi-lib/pkg-descr b/www/cgi-lib/pkg-descr
new file mode 100644
index 000000000000..b16602eaa7d2
--- /dev/null
+++ b/www/cgi-lib/pkg-descr
@@ -0,0 +1,8 @@
+CGI-LIB is a free ANSI C library that will
+facilitate the creation of CGI programs.
+
+The library is written entirely in C using ANSI
+C functions. The functions are easy to use and
+the source code is included.
+
+http://www.geocities.com/SiliconValley/Vista/6493/projects/cgi-lib.html
diff --git a/www/cgi-lib/pkg-plist b/www/cgi-lib/pkg-plist
new file mode 100644
index 000000000000..50e0194949f9
--- /dev/null
+++ b/www/cgi-lib/pkg-plist
@@ -0,0 +1,6 @@
+lib/libcgi.a
+include/cgi-lib.h
+include/html-lib.h
+include/list-lib.h
+share/doc/cgi-lib/cgi-lib.html
+@dirrm share/doc/cgi-lib