aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-29 11:12:02 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-29 11:12:02 +0000
commit82f34cee44e22e59bc8227d7196564ab16066b8c (patch)
tree23389ceacedc095919bfa57c4901e7e32638f184
parent647df4c5e970798838dc39915c36d6fd4f325665 (diff)
downloadports-82f34cee44e22e59bc8227d7196564ab16066b8c.tar.gz
ports-82f34cee44e22e59bc8227d7196564ab16066b8c.zip
Notes
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/lbrate/Makefile31
-rw-r--r--archivers/lbrate/distinfo1
-rw-r--r--archivers/lbrate/files/patch-Makefile20
-rw-r--r--archivers/lbrate/pkg-comment1
-rw-r--r--archivers/lbrate/pkg-descr14
-rw-r--r--archivers/lbrate/pkg-plist6
7 files changed, 74 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 126d63700343..533fce412967 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -14,6 +14,7 @@
SUBDIR += gtar
SUBDIR += ha
SUBDIR += hpack.non-usa.only
+ SUBDIR += lbrate
SUBDIR += lha
SUBDIR += libarc
SUBDIR += libcabinet
diff --git a/archivers/lbrate/Makefile b/archivers/lbrate/Makefile
new file mode 100644
index 000000000000..4424dcab50a2
--- /dev/null
+++ b/archivers/lbrate/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: lbrate
+# Date created: 26 August 2001
+# Whom: Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
+#
+# $FreeBSD$
+#
+
+PORTNAME= lbrate
+PORTVERSION= 1.0
+CATEGORIES= archivers
+MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/utils/compress/
+
+MAINTAINER= gslin@ccca.nctu.edu.tw
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+MAN1= lbrate.1
+
+post-patch:
+ @${PERL} -pi -e "s,^CC,#CC,g ; s,^PREFIX,#PREFIX,g ; \
+ s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in COPYING ChangeLog README TODO
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/archivers/lbrate/distinfo b/archivers/lbrate/distinfo
new file mode 100644
index 000000000000..8c7efdc6037d
--- /dev/null
+++ b/archivers/lbrate/distinfo
@@ -0,0 +1 @@
+MD5 (lbrate-1.0.tar.gz) = 5ccf0a60e993ca6e6ff7d4b1a7d4140b
diff --git a/archivers/lbrate/files/patch-Makefile b/archivers/lbrate/files/patch-Makefile
new file mode 100644
index 000000000000..8ed29bafdf4c
--- /dev/null
+++ b/archivers/lbrate/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig Wed Aug 29 19:07:24 2001
++++ Makefile Wed Aug 29 19:08:13 2001
+@@ -1,7 +1,7 @@
+ # Makefile - makefile for lbrate
+
+ CC=gcc
+-CFLAGS=-O2 -Wall
++CFLAGS+=-I%%LOCALBASE%%/include
+
+ # Set BINDIR to directory for binary,
+ # MANDIR to directory for man page.
+@@ -19,7 +19,7 @@
+ all: lbrate
+
+ lbrate: $(OBJ)
+- $(CC) $(CFLAGS) -o lbrate $(OBJ)
++ $(CC) $(CFLAGS) -o lbrate $(OBJ) -L%%LOCALBASE%%/lib -lgnugetopt
+
+ installdirs:
+ /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
diff --git a/archivers/lbrate/pkg-comment b/archivers/lbrate/pkg-comment
new file mode 100644
index 000000000000..b7257f83a166
--- /dev/null
+++ b/archivers/lbrate/pkg-comment
@@ -0,0 +1 @@
+Extract/decompress CP/M LBR archives
diff --git a/archivers/lbrate/pkg-descr b/archivers/lbrate/pkg-descr
new file mode 100644
index 000000000000..7904ca322833
--- /dev/null
+++ b/archivers/lbrate/pkg-descr
@@ -0,0 +1,14 @@
+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
+deals with the required decompression/renaming.
+
+lbrate is also (I believe) 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.
+
+WWW: http://rus.members.beeb.net/lbrate.html
+
+- Gea-Suan Lin
+ gslin@ccca.nctu.edu.tw
diff --git a/archivers/lbrate/pkg-plist b/archivers/lbrate/pkg-plist
new file mode 100644
index 000000000000..828cb19c3c75
--- /dev/null
+++ b/archivers/lbrate/pkg-plist
@@ -0,0 +1,6 @@
+bin/lbrate
+%%PORTDOCS%%share/doc/lbrate/COPYING
+%%PORTDOCS%%share/doc/lbrate/ChangeLog
+%%PORTDOCS%%share/doc/lbrate/README
+%%PORTDOCS%%share/doc/lbrate/TODO
+%%PORTDOCS%%@dirrm share/doc/lbrate