- Update `archivers/rar' to version 5.5.0 (and actually unbreak)

- Changelog: https://www.rarlab.com/rarnew.htm
- SFX module no longer depends on `misc/compat9x', so SFX option
  can be removed
- While here, install more complete set of documentation files
- TIMESTAMP (rarbsd-5.5.0.tar.gz) = 1502460028

PR:		222970
Submitted by:	Ralf van der Enden
Approved by:	maintainer (gabor, 3+ weeks)
This commit is contained in:
Alexey Dokuchaev 2017-11-06 13:33:00 +00:00
parent 8008ff109e
commit 21f7ef49e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453616
2 changed files with 9 additions and 17 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= rar
PORTVERSION= 5.4.0
PORTVERSION= 5.5.0
PORTEPOCH= 3
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
@ -23,12 +23,9 @@ RESTRICTED= only unmodified original package can be distributed
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rar
PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1.gz
PORTDOCS= license.txt whatsnew.txt order.htm readme.txt
PORTDOCS= *
OPTIONS_DEFINE= DOCS SFX
OPTIONS_DEFAULT=SFX
SFX_DESC= SFX archive support (implies compat9x on FreeBSD 10 and up)
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
@ -41,20 +38,15 @@ IGNORE= requires a kernel with compiled-in IA32 compatibility
.endif
.endif
.if ${OPSYS} == FreeBSD && ${PORT_OPTIONS:MSFX}
RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${STAGEDIR}${PREFIX}/bin/rar
${INSTALL_PROGRAM} ${WRKSRC}/rar ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/rar.txt ${STAGEDIR}${PREFIX}/man/cat1/rar.1
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/default.sfx ${STAGEDIR}${PREFIX}/lib
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/*.txt ${WRKSRC}/order.htm \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1473360405
SHA256 (rarbsd-5.4.0.tar.gz) = 55698e907dba868c04d3e98e715938cf51999b3f4a5b9af95b2c8f5f60c0a309
SIZE (rarbsd-5.4.0.tar.gz) = 1602855
TIMESTAMP = 1502460028
SHA256 (rarbsd-5.5.0.tar.gz) = 49c2104ae14c186e78108192a7fba4cec45990ff3cde81b772837c73bb9a75e3
SIZE (rarbsd-5.5.0.tar.gz) = 943348