diff options
Diffstat (limited to 'archivers/p7zip')
-rw-r--r-- | archivers/p7zip/Makefile | 29 | ||||
-rw-r--r-- | archivers/p7zip/distinfo | 6 | ||||
-rw-r--r-- | archivers/p7zip/pkg-plist | 3 |
3 files changed, 20 insertions, 18 deletions
diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile index d61dfa483b4f..96d9545beda4 100644 --- a/archivers/p7zip/Makefile +++ b/archivers/p7zip/Makefile @@ -6,7 +6,7 @@ # PORTNAME= p7zip -PORTVERSION= 4.37 +PORTVERSION= 4.39 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -19,18 +19,18 @@ USE_BZIP2= yes MAKEFILE= makefile WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} PORTDOCS= * -MAN1= 7z.1 7za.1 +MAN1= 7z.1 7za.1 7zr.1 MANCOMPRESSED= no DLLDIR= ${PREFIX}/libexec/p7zip PLIST_SUB= MODULES="" -ALL_TARGET= 7z 7za sfx -7ZBIN= 7z 7za 7zCon.sfx +ALL_TARGET= 7z 7za 7zr sfx +7ZBIN= 7z 7za 7zr 7zCon.sfx .if defined(WITHOUT_MODULES) PLIST_SUB= MODULES="@comment " -ALL_TARGET= 7za sfx -7ZBIN= 7za 7zCon.sfx +ALL_TARGET= 7za 7zr sfx +7ZBIN= 7za 7zr 7zCon.sfx .endif .include <bsd.port.pre.mk> @@ -56,17 +56,18 @@ post-patch: ${WRKSRC}/man1/* do-install: - ${MKDIR} ${DLLDIR} + ${INSTALL} -d ${DLLDIR} .for f in ${7ZBIN} - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${DLLDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${DLLDIR}/ .endfor - ${INSTALL_SCRIPT} ${FILESDIR}/7z ${PREFIX}/bin + ${INSTALL_SCRIPT} ${FILESDIR}/7z ${PREFIX}/bin/ ${LN} -sf 7z ${PREFIX}/bin/7za - ${INSTALL_SCRIPT} ${FILESDIR}/p7zip ${PREFIX}/bin + ${LN} -sf 7z ${PREFIX}/bin/7zr + ${INSTALL_SCRIPT} ${FILESDIR}/p7zip ${PREFIX}/bin/ .if !defined(WITHOUT_MODULES) .for f in Codecs Formats - ${MKDIR} ${DLLDIR}/${f} - ${INSTALL_DATA} ${WRKSRC}/bin/${f}/* ${DLLDIR}/${f} + ${INSTALL} -d ${DLLDIR}/${f} + ${INSTALL_DATA} ${WRKSRC}/bin/${f}/* ${DLLDIR}/${f}/ .endfor .endif .if !defined(NOPORTDOCS) @@ -77,8 +78,6 @@ do-install: ${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} 755 ${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} .endif -.for m in ${MAN1} - ${INSTALL} ${WRKSRC}/man1/${m} ${MAN1PREFIX}/man/man1 -.endfor + ${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/man1/,} ${MAN1PREFIX}/man/man1/ .include <bsd.port.post.mk> diff --git a/archivers/p7zip/distinfo b/archivers/p7zip/distinfo index ac3f49494b61..002cdfdf1369 100644 --- a/archivers/p7zip/distinfo +++ b/archivers/p7zip/distinfo @@ -1,3 +1,3 @@ -MD5 (p7zip_4.37_src_all.tar.bz2) = a44cc192317c03e204821d6198e913df -SHA256 (p7zip_4.37_src_all.tar.bz2) = b791f247f7662f1205ba0677144c41e1b68096eff40b1c506e0524d98574afee -SIZE (p7zip_4.37_src_all.tar.bz2) = 1474144 +MD5 (p7zip_4.39_src_all.tar.bz2) = 081be9cfb67c9be4e526913b14dd6f86 +SHA256 (p7zip_4.39_src_all.tar.bz2) = 8eef1c3907f58a2fd2b15bce94334635d8199e21d5daab541057a828b7e7da0e +SIZE (p7zip_4.39_src_all.tar.bz2) = 1445834 diff --git a/archivers/p7zip/pkg-plist b/archivers/p7zip/pkg-plist index db306dd47db7..0a5b5a60320d 100644 --- a/archivers/p7zip/pkg-plist +++ b/archivers/p7zip/pkg-plist @@ -1,9 +1,12 @@ @unexec /bin/rm -f %D/bin/7za +@unexec /bin/rm -f %D/bin/7zr bin/7z bin/p7zip @exec /bin/ln -sf 7z %D/bin/7za +@exec /bin/ln -sf 7z %D/bin/7zr %%MODULES%%libexec/p7zip/7z libexec/p7zip/7za +libexec/p7zip/7zr libexec/p7zip/7zCon.sfx %%MODULES%%libexec/p7zip/Codecs/7zAES.so %%MODULES%%libexec/p7zip/Codecs/AES.so |