freebsd-ports/archivers/lha-ac/Makefile
Hiroki Tagato 964ae21d09 archivers/lha-ac: switch to new upstream and update to 1.14i.20211125
While here:
- take maintainership
- install English manpage
- add test target
- make portclippy happy

PR:		261073
Reviewed by:	diizzy
2022-01-25 19:31:34 +09:00

40 lines
992 B
Makefile

PORTNAME= lha
PORTVERSION= 1.14i.20211125
CATEGORIES= archivers
PKGNAMESUFFIX= -ac
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Archive files using LZSS and Huffman compression (.lzh files)
# Converted from RESTRICTED
LICENSE= LHA
LICENSE_NAME= LHA
LICENSE_TEXT= No redistribution allowed
LICENSE_PERMS= auto-accept
USES= autoreconf cpe
CPE_VENDOR= tsugio_okamoto
USE_GITHUB= yes
GH_ACCOUNT= jca02266
GH_TAGNAME= release-${PORTVERSION:E}
GNU_CONFIGURE= yes
TEST_TARGET= check
PLIST_FILES= bin/lha-ac \
man/ja/man1/lha-ac.1.gz \
man/man1/lha-ac.1.gz
OPTIONS_DEFINE= NLS
NLS_CONFIGURE_ON= --enable-multibyte-filename=auto
NLS_CONFIGURE_OFF= --disable-multibyte-filename
do-install:
-${MKDIR} ${STAGEDIR}${MANPREFIX}/man/ja/man1
${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${STAGEDIR}${PREFIX}/bin/lha-ac
${INSTALL_MAN} ${WRKSRC}/man/lha.1 ${STAGEDIR}${MANPREFIX}/man/man1/lha-ac.1
${INSTALL_MAN} ${WRKSRC}/man/lha.n ${STAGEDIR}${MANPREFIX}/man/ja/man1/lha-ac.1
.include <bsd.port.mk>