Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2023 14:29:19 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9009f2cfb80d - main - archivers/lha: allow package
Message-ID:  <202303091429.329ETJWe016407@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9009f2cfb80d5dbc624956449a937c6697015fe8

commit 9009f2cfb80d5dbc624956449a937c6697015fe8
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-03-09 14:29:06 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-03-09 14:29:06 +0000

    archivers/lha: allow package
    
    PR: 269732
---
 archivers/lha/Makefile         | 10 +++++---
 archivers/lha/files/LICENSE.en | 55 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 3 deletions(-)

diff --git a/archivers/lha/Makefile b/archivers/lha/Makefile
index 84c9cd86fa06..4deffef197ca 100644
--- a/archivers/lha/Makefile
+++ b/archivers/lha/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	lha
 PORTVERSION=	1.14i
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	archivers
 MASTER_SITES=	http://www2m.biglobe.ne.jp/~dolphin/lha/prog/
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//}
@@ -12,17 +12,21 @@ WWW=		http://www2m.biglobe.ne.jp/~dolphin/lha/lha.htm
 LICENSE=	LHA
 LICENSE_NAME=	License of lha
 LICENSE_FILE=	${FILESDIR}/LICENSE
-LICENSE_PERMS=	dist-mirror dist-sell auto-accept
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 USES=		cpe
 CPE_VENDOR=	tsugio_okamoto
 
 PLIST_FILES=	bin/lha
 PLIST_FILES+=	man/ja/man1/lha.1.gz
+PLIST_FILES+=	share/${UNIQUE_PREFIX}${PORTNAME}/lha-114i.tar.gz
+PLIST_FILES+=	share/licenses/${PKGNAME}/LICENSE.en
 
 do-install:
-	-${MKDIR} ${STAGEDIR}${PREFIX}/man/ja/man1
+	-${MKDIR} ${STAGEDIR}${PREFIX}/man/ja/man1 ${STAGEDIR}${DATADIR} ${STAGEDIR}${_LICENSE_DIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_MAN} ${WRKSRC}/man/lha.n ${STAGEDIR}${PREFIX}/man/ja/man1/lha.1
+	${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${FILESDIR}/LICENSE.en ${STAGEDIR}${_LICENSE_DIR}/
 
 .include <bsd.port.mk>
diff --git a/archivers/lha/files/LICENSE.en b/archivers/lha/files/LICENSE.en
new file mode 100644
index 000000000000..e0412d6bc0dc
--- /dev/null
+++ b/archivers/lha/files/LICENSE.en
@@ -0,0 +1,55 @@
+(Following sentences are from man/lha.man of lha-114i.tar.gz.
+encoded with UTF-8 and written in Japanese.)
+
+Redistribution, reproduction, and modification are permitted under the following conditions.
+
+1. Do not remove any copyright notices.
+
+2. Regarding the distribution contents,
+
+a. Content present at the time of distribution (i.e. source code, document
+   documentation, programmer's guides, etc.) are redistributed.
+   Always exist in things. if it has been modified
+   , prepare a document that clearly states it.
+
+b. When redistributed with added value for LHa
+   try to include them as much as possible. again,
+   At that time, the
+   prepare documentation.
+
+c. Binary-only distribution is not permitted. (including value-added
+   include)
+
+3. Commit to distributing the latest version. (no obligation)
+
+Note: Although distribution on the Internet is free,
+    Distribution (by magazine, CD-ROM, etc.)
+    Please send an e-mail to here before distribution. before distribution
+    If you are unable to do so, please be sure to e-mail me at a later date.
+
+4. damages caused by the existence or use of this program;
+   No harm is guaranteed.
+
+5. The author corrects any defects in this program.
+   shall not be obliged to do so.
+
+6. Part or all of this program to other programs
+   You can incorporate it and use it. In this case, the professional
+   Gram is not LHa and must not call himself LHa.
+
+7. Regarding commercial use, in addition to the above conditions, the following conditions shall apply.
+   and admit this.
+
+a. Commercial use of this program as the main is prohibited.
+
+b. the other party of the commercial use is inappropriate as a user of this program;
+   Do not distribute if determined.
+
+c. When used as a means of installation, this program
+   Do not force your opponent to use In this case, commercial users
+   does the work. In addition, the damage at that time shall be entirely the responsibility of the commercial user.
+   Take responsible.
+
+d. use this program for commercial use as an added value;
+   If so, the commercial user will provide that support.
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303091429.329ETJWe016407>