summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorcjep <cjep>2002-12-13 17:50:50 +0000
committercjep <cjep>2002-12-13 17:50:50 +0000
commit412845cef4b5ed6ba6b470f7b2961b803c6255fb (patch)
tree191456dc4eadc43b6f071bf4889744697d0d8d1c /archivers
parent7e6210e2fed87d94df4e4230c490a09d5bc1de37 (diff)
downloadpkgsrc-412845cef4b5ed6ba6b470f7b2961b803c6255fb.tar.gz
Initial import of lbrate 1.1 into the NetBSD packages collection
as archivers/lbrate. lbrate extracts/decompresses files from the CP/M LBR format. (It can also list and test such archives.) It does this in an `unzip'-like manner, mostly hiding the details of individually compressed and renamed files, and transparently dealing with the required decompression/renaming. From the FreeBSD ports collection.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/lbrate/DESCR9
-rw-r--r--archivers/lbrate/Makefile21
-rw-r--r--archivers/lbrate/PLIST7
-rw-r--r--archivers/lbrate/distinfo5
-rw-r--r--archivers/lbrate/patches/patch-aa32
5 files changed, 74 insertions, 0 deletions
diff --git a/archivers/lbrate/DESCR b/archivers/lbrate/DESCR
new file mode 100644
index 00000000000..96c6cf0b860
--- /dev/null
+++ b/archivers/lbrate/DESCR
@@ -0,0 +1,9 @@
+lbrate extracts/decompresses files from the CP/M LBR format. (It can also list
+and test such archives.) It does this in an `unzip'-like manner, mostly hiding
+the details of individually compressed and renamed files, and transparently
+dealing with the required decompression/renaming.
+
+lbrate is apparently the only non-CP/M program to fully support
+decompressing files from all three CP/M compression schemes (Q, Z, Y). With
+this in mind, it can decompress such files directly, treating them as if they
+were single-entry LBRs.
diff --git a/archivers/lbrate/Makefile b/archivers/lbrate/Makefile
new file mode 100644
index 00000000000..13d4bc0b5a5
--- /dev/null
+++ b/archivers/lbrate/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/13 17:50:50 cjep Exp $
+# FreeBSD Id: ports/archivers/lbrate/Makefile,v 1.4 2002/06/19 08:18:05 sobomax Exp
+
+DISTNAME= lbrate-1.1
+CATEGORIES= archivers
+MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/utils/compress/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://rus.members.beeb.net/lbrate.html
+COMMENT= Extract/decompress CP/M LBR archives
+
+USE_BUILDLINK2= YES
+MAKE_FLAGS+= PREFIX=${PREFIX}
+LBRATE_DOCSDIR= ${PREFIX}/share/doc/lbrate
+
+post-install:
+ @${INSTALL_DATA_DIR} ${LBRATE_DOCSDIR}
+ for f in COPYING ChangeLog README TODO; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${LBRATE_DOCSDIR}; done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/lbrate/PLIST b/archivers/lbrate/PLIST
new file mode 100644
index 00000000000..9423dfb553b
--- /dev/null
+++ b/archivers/lbrate/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/13 17:50:50 cjep Exp $
+bin/lbrate
+share/doc/lbrate/COPYING
+share/doc/lbrate/ChangeLog
+share/doc/lbrate/README
+share/doc/lbrate/TODO
+@dirrm share/doc/lbrate
diff --git a/archivers/lbrate/distinfo b/archivers/lbrate/distinfo
new file mode 100644
index 00000000000..d46ffeaafba
--- /dev/null
+++ b/archivers/lbrate/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/13 17:50:50 cjep Exp $
+
+SHA1 (lbrate-1.1.tar.gz) = 8731283e79fa6c7a73ebd6c821b42854cb864ea9
+Size (lbrate-1.1.tar.gz) = 29907 bytes
+SHA1 (patch-aa) = ad34e92fefc99c16fe067810d3ed6c160557e0ae
diff --git a/archivers/lbrate/patches/patch-aa b/archivers/lbrate/patches/patch-aa
new file mode 100644
index 00000000000..fc93abab930
--- /dev/null
+++ b/archivers/lbrate/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/13 17:50:50 cjep Exp $
+
+--- Makefile.orig Thu Aug 30 17:03:17 2001
++++ Makefile
+@@ -1,7 +1,8 @@
+ # Makefile - makefile for lbrate
+
+ CC=gcc
+-CFLAGS=-O2 -Wall
++#CFLAGS=-O2 -Wall
++CFLAGS+=-Wall
+
+ # Set BINDIR to directory for binary,
+ # MANDIR to directory for man page.
+@@ -19,14 +20,14 @@ OBJ=main.o readrle.o readhuff.o readlzw.
+ all: lbrate
+
+ lbrate: $(OBJ)
+- $(CC) $(CFLAGS) -o lbrate $(OBJ)
++ $(CC) $(CFLAGS) -o lbrate $(OBJ) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib
+
+ installdirs:
+ /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
+
+ install: lbrate installdirs
+- install -m 755 lbrate $(BINDIR)
+- install -m 644 lbrate.1 $(MANDIR)
++ install -c -m 755 lbrate $(BINDIR)
++ install -c -m 644 lbrate.1 $(MANDIR)
+
+ uninstall:
+ $(RM) $(BINDIR)/lbrate $(MANDIR)/lbrate.1