1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

archivers/lha: use ${PREFIX}/share/man

This commit is contained in:
Dirk Meyer 2024-01-11 17:46:18 +01:00
parent 08a491cd74
commit a39cbe0e3c

View File

@ -1,6 +1,6 @@
PORTNAME= lha
PORTVERSION= 1.14i
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= archivers
MASTER_SITES= http://www2m.biglobe.ne.jp/~dolphin/lha/prog/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
@ -18,16 +18,17 @@ USES= cpe
CPE_VENDOR= tsugio_okamoto
PLIST_FILES= bin/lha
PLIST_FILES+= man/ja/man1/lha.1.gz
PLIST_FILES+= share/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}
-${MKDIR} ${STAGEDIR}${PREFIX}/share/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_MAN} ${WRKSRC}/man/lha.n ${STAGEDIR}${PREFIX}/share/man/ja/man1/lha.1
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${DATADIR}/
.if !defined(DISABLE_LICENSES)
${INSTALL_DATA} ${FILESDIR}/LICENSE.en ${STAGEDIR}${_LICENSE_DIR}/