summaryrefslogtreecommitdiff
path: root/archivers/lhasa
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-07-20 19:56:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-07-20 19:56:26 +0000
commit242e6f8584641aeeec366cbcdfe1818b4839497a (patch)
tree6375c1fcdcdf180bfdbcfd5271efd8a0f308f984 /archivers/lhasa
parent- Remove un-needed GH_TAGNAME (diff)
- Add archivers/lhasa
Lhasa is a command line tool and library for parsing LHA archives. Currently it is only possible to decompress archives. Compressing LHA archives may be an enhancement for future versions. The aim is to be compatible with as many different variants of the LHA file format as possible, including LArc (.lzs) and PMarc (.pma). The command line tool aims to be interface-compatible with Unix LHA tool (command line syntax and output), for backwards compatibility with tools that expect particular output. WWW: http://fragglet.github.io/lhasa/ PR: 211177 Submitted by: cs@innolan.dk
Notes
Notes: svn path=/head/; revision=418852
Diffstat (limited to 'archivers/lhasa')
-rw-r--r--archivers/lhasa/Makefile34
-rw-r--r--archivers/lhasa/distinfo3
-rw-r--r--archivers/lhasa/pkg-descr12
-rw-r--r--archivers/lhasa/pkg-plist12
4 files changed, 61 insertions, 0 deletions
diff --git a/archivers/lhasa/Makefile b/archivers/lhasa/Makefile
new file mode 100644
index 000000000000..9cf50308214d
--- /dev/null
+++ b/archivers/lhasa/Makefile
@@ -0,0 +1,34 @@
+# Created by: Carsten Larsen <cs@innolan.dk>
+# $FreeBSD$
+
+PORTNAME= lhasa
+PORTVERSION= 0.3.1
+CATEGORIES= archivers
+MASTER_SITES= https://soulsphere.org/projects/lhasa/ \
+ http://suyai.innolan.net/
+
+MAINTAINER= cs@innolan.dk
+COMMENT= Command line tool and library for parsing LHA archives
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= autoreconf pathfix libtool
+PATHFIX_MAKEFILEIN= Makefile.am
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --disable-silent-rules \
+ --program-suffix=sa
+INSTALL_TARGET= install-strip
+
+PORTDOCS= ChangeLog README AUTHORS TODO NEWS
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
+.endfor
+
+.include <bsd.port.mk>
diff --git a/archivers/lhasa/distinfo b/archivers/lhasa/distinfo
new file mode 100644
index 000000000000..50a197e54cc3
--- /dev/null
+++ b/archivers/lhasa/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1468768769
+SHA256 (lhasa-0.3.1.tar.gz) = 3fb08e5f85a9b9dd023922896be9157d5fb5c0448424681810aaa2b0558a5f24
+SIZE (lhasa-0.3.1.tar.gz) = 2933084
diff --git a/archivers/lhasa/pkg-descr b/archivers/lhasa/pkg-descr
new file mode 100644
index 000000000000..a1dc5954c657
--- /dev/null
+++ b/archivers/lhasa/pkg-descr
@@ -0,0 +1,12 @@
+Lhasa is a command line tool and library for parsing LHA archives.
+
+Currently it is only possible to decompress archives. Compressing
+LHA archives may be an enhancement for future versions. The aim is
+to be compatible with as many different variants of the LHA file
+format as possible, including LArc (.lzs) and PMarc (.pma).
+
+The command line tool aims to be interface-compatible with Unix LHA
+tool (command line syntax and output), for backwards compatibility
+with tools that expect particular output.
+
+WWW: http://fragglet.github.io/lhasa/
diff --git a/archivers/lhasa/pkg-plist b/archivers/lhasa/pkg-plist
new file mode 100644
index 000000000000..b60ef622a4b6
--- /dev/null
+++ b/archivers/lhasa/pkg-plist
@@ -0,0 +1,12 @@
+bin/lhasa
+include/liblhasa-1.0/lha_decoder.h
+include/liblhasa-1.0/lha_file_header.h
+include/liblhasa-1.0/lha_input_stream.h
+include/liblhasa-1.0/lha_reader.h
+include/liblhasa-1.0/lhasa.h
+lib/liblhasa.a
+lib/liblhasa.so
+lib/liblhasa.so.0
+lib/liblhasa.so.0.0.0
+libdata/pkgconfig/liblhasa.pc
+man/man1/lhasa.1.gz