aboutsummaryrefslogtreecommitdiff
path: root/archivers/libcabinet
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-11-30 16:29:46 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-11-30 16:29:46 +0000
commit2fc7b0201595e25577dcbeb0597b19b36b06e593 (patch)
treef9af0240d7652c187a719d0984275626987494ae /archivers/libcabinet
parent8baa4f6657f9f6a3ce890d9ea8c887606f0cb990 (diff)
downloadports-2fc7b0201595e25577dcbeb0597b19b36b06e593.tar.gz
ports-2fc7b0201595e25577dcbeb0597b19b36b06e593.zip
Notes
Diffstat (limited to 'archivers/libcabinet')
-rw-r--r--archivers/libcabinet/Makefile27
-rw-r--r--archivers/libcabinet/distinfo1
-rw-r--r--archivers/libcabinet/files/patch-aa16
-rw-r--r--archivers/libcabinet/files/patch-ab11
-rw-r--r--archivers/libcabinet/pkg-comment1
-rw-r--r--archivers/libcabinet/pkg-descr4
-rw-r--r--archivers/libcabinet/pkg-plist18
7 files changed, 78 insertions, 0 deletions
diff --git a/archivers/libcabinet/Makefile b/archivers/libcabinet/Makefile
new file mode 100644
index 000000000000..4a87b957ec86
--- /dev/null
+++ b/archivers/libcabinet/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: libcabinet
+# Date Created: 30 November 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libcabinet
+PORTVERSION= 0.30
+CATEGORIES= archivers
+MASTER_SITES= http://trill.cis.fordham.edu/~barbacha/cabinet_library/
+
+MAINTAINER= sobomax@FreeBSD.org
+
+SRCFILE= ${WRKSRC}/listcab.cpp
+PROGFILE= ${SRCFILE:S/.cpp$//}
+
+post-build:
+ ${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet
+
+pre-install:
+ ${MKDIR} ${PREFIX}/include/cabinet
+
+post-install:
+ ${INSTALL_PROGRAM} ${PROGFILE} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/archivers/libcabinet/distinfo b/archivers/libcabinet/distinfo
new file mode 100644
index 000000000000..f77ff3cca192
--- /dev/null
+++ b/archivers/libcabinet/distinfo
@@ -0,0 +1 @@
+MD5 (libcabinet-0.30.tar.gz) = f6b0683b4cf57ee3b9614135d0f8d0fe
diff --git a/archivers/libcabinet/files/patch-aa b/archivers/libcabinet/files/patch-aa
new file mode 100644
index 000000000000..f679e77eb7e1
--- /dev/null
+++ b/archivers/libcabinet/files/patch-aa
@@ -0,0 +1,16 @@
+--- Makefile.orig Thu Nov 30 17:28:23 2000
++++ Makefile Thu Nov 30 17:35:00 2000
+@@ -0,0 +1,13 @@
++LIB= cabinet
++LIBDIR= ${PREFIX}/lib
++INCDIR= ${PREFIX}/include/cabinet
++SHLIB_MAJOR= 1
++SHLIB_MINOR= 0
++SRCS= bstring.cpp cfcreate.cpp cfdblock.cpp cffdrmgr.cpp cffile.cpp \
++ cffolder.cpp cfheader.cpp cfreader.cpp cftypes.cpp object.cpp
++INCS= bstring.h cfcreate.h cfdblock.h cffdrmgr.h cffile.h cffolder.h \
++ cfheader.h cfreader.h cftypes.h darray.h dos_comp.h object.hpp \
++ queue.hpp
++LDADD= -lz
++
++.include <bsd.lib.mk>
diff --git a/archivers/libcabinet/files/patch-ab b/archivers/libcabinet/files/patch-ab
new file mode 100644
index 000000000000..b36dca6cc36a
--- /dev/null
+++ b/archivers/libcabinet/files/patch-ab
@@ -0,0 +1,11 @@
+--- bstring.cpp 2000/11/30 14:50:57 1.1
++++ bstring.cpp 2000/11/30 14:57:48
+@@ -150,7 +150,7 @@
+ if(strlen(str) < strlen(s)) // If more memory is needed
+ *this = s; // Use assign function
+ else // If stpcpy can be used
+- stpcpy(str, s); // Copy s into str
++ strcpy(str, s); // Copy s into str
+ }
+
+ return *this; // Return a refrence to this object
diff --git a/archivers/libcabinet/pkg-comment b/archivers/libcabinet/pkg-comment
new file mode 100644
index 000000000000..605d6580bab3
--- /dev/null
+++ b/archivers/libcabinet/pkg-comment
@@ -0,0 +1 @@
+A portable library and utility to use Microsoft cabinet files (.cab)
diff --git a/archivers/libcabinet/pkg-descr b/archivers/libcabinet/pkg-descr
new file mode 100644
index 000000000000..bcee7c679f04
--- /dev/null
+++ b/archivers/libcabinet/pkg-descr
@@ -0,0 +1,4 @@
+A portable library and small utility that can be used to create, use, and
+modify Microsoft cabinet files (.cab) on any system.
+
+WWW: http://trill.cis.fordham.edu/~barbacha/cabinet_library/
diff --git a/archivers/libcabinet/pkg-plist b/archivers/libcabinet/pkg-plist
new file mode 100644
index 000000000000..54eb447d3ebd
--- /dev/null
+++ b/archivers/libcabinet/pkg-plist
@@ -0,0 +1,18 @@
+bin/listcab
+include/cabinet/bstring.h
+include/cabinet/cfcreate.h
+include/cabinet/cfdblock.h
+include/cabinet/cffdrmgr.h
+include/cabinet/cffile.h
+include/cabinet/cffolder.h
+include/cabinet/cfheader.h
+include/cabinet/cfreader.h
+include/cabinet/cftypes.h
+include/cabinet/darray.h
+include/cabinet/dos_comp.h
+include/cabinet/object.hpp
+include/cabinet/queue.hpp
+lib/libcabinet.a
+lib/libcabinet.so
+lib/libcabinet.so.1
+@dirrm include/cabinet