Date: Mon, 13 Mar 2023 09:22:59 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: aa4c061dc691 - main - rchivers/lha: add support for DISABLE_LICENSES Message-ID: <202303130922.32D9Mx4I099098@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=aa4c061dc691318acfe83b71793b9a9b520cc8a9 commit aa4c061dc691318acfe83b71793b9a9b520cc8a9 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2023-03-13 09:22:43 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2023-03-13 09:22:43 +0000 rchivers/lha: add support for DISABLE_LICENSES PR: 270082 --- archivers/lha/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archivers/lha/Makefile b/archivers/lha/Makefile index 4deffef197ca..b18c8b01cbef 100644 --- a/archivers/lha/Makefile +++ b/archivers/lha/Makefile @@ -20,13 +20,17 @@ 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 +.if !defined(DISABLE_LICENSES) PLIST_FILES+= share/licenses/${PKGNAME}/LICENSE.en +.endif do-install: -${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}/ +.if !defined(DISABLE_LICENSES) ${INSTALL_DATA} ${FILESDIR}/LICENSE.en ${STAGEDIR}${_LICENSE_DIR}/ +.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303130922.32D9Mx4I099098>