1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/archivers/lha-ac/Makefile
Baptiste Daroussin d4329229fb MANPREFIX: eliminate its usage
While here move manpages to share/man
2024-01-12 16:11:29 +01:00

43 lines
1.0 KiB
Makefile

PORTNAME= lha
PORTVERSION= 1.14i.20211125
PORTREVISION= 1
CATEGORIES= archivers
PKGNAMESUFFIX= -ac
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Archive files using LZSS and Huffman compression (.lzh files)
WWW= https://lha.osdn.jp
# 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 \
share/man/ja/man1/lha-ac.1.gz \
share/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}${PREFIX}/share/man/ja/man1
${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${STAGEDIR}${PREFIX}/bin/lha-ac
${INSTALL_MAN} ${WRKSRC}/man/lha.1 ${STAGEDIR}${PREFIX}/share/man/man1/lha-ac.1
${INSTALL_MAN} ${WRKSRC}/man/lha.n ${STAGEDIR}${PREFIX}/share/man/ja/man1/lha-ac.1
.include <bsd.port.mk>