aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rar/Makefile18
-rw-r--r--archivers/rar/distinfo6
2 files changed, 17 insertions, 7 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile
index fade2d8a902a..10b88ac4ad9e 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -6,16 +6,15 @@
#
PORTNAME= rar
-PORTVERSION= 3.90
+PORTVERSION= 3.91
PORTEPOCH= 2
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
-DISTNAME= rarbsd-3.9.0
+DISTNAME= rarbsd-3.9.1
MAINTAINER= gabor@FreeBSD.org
COMMENT= File archiver (binary port)
-IA32_BINARY_PORT= YES
RESTRICTED= only unmodified original package can be distributed
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rar
@@ -23,6 +22,17 @@ PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1
PORTDOCS= technote.txt license.txt whatsnew.txt order.htm \
readme.txt
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+.if !defined(HAVE_COMPAT_IA32_KERN)
+HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then ${ECHO_CMD} YES; fi
+.endif
+.if !defined(HAVE_COMPAT_IA32_KERN)
+IGNORE= requires a kernel with compiled-in IA32 compatibility
+.endif
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${PREFIX}/bin/rar
${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1
@@ -37,4 +47,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/archivers/rar/distinfo b/archivers/rar/distinfo
index 0a40e27afae0..728629cf92d7 100644
--- a/archivers/rar/distinfo
+++ b/archivers/rar/distinfo
@@ -1,3 +1,3 @@
-MD5 (rarbsd-3.9.0.tar.gz) = a5610e10294abf5383a1757ae8218356
-SHA256 (rarbsd-3.9.0.tar.gz) = c5feba2955c05510acb1e557e759c33d6ebc695e840432c334edf7dee5c168eb
-SIZE (rarbsd-3.9.0.tar.gz) = 819333
+MD5 (rarbsd-3.9.1.tar.gz) = f703b455833130cd9f39a66663f7bd88
+SHA256 (rarbsd-3.9.1.tar.gz) = 2dc4aec877daba7e22a61e1e9f9e68cbfdab9f1ada0731201903ac8614c883da
+SIZE (rarbsd-3.9.1.tar.gz) = 819426