aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unrar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/unrar/Makefile')
-rw-r--r--archivers/unrar/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index 07e7526d1db9..d2d11bd9131f 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -2,13 +2,12 @@
# $FreeBSD$
PORTNAME= unrar
-PORTVERSION= 4.20
-PORTREVISION= 1
+PORTVERSION= 5.01
PORTEPOCH= 5
CATEGORIES+= archivers
MASTER_SITES= http://www.rarlab.com/rar/ \
LOCAL/sunpoet
-DISTNAME= unrarsrc-4.2.4
+DISTNAME= unrarsrc-5.0.14
MAINTAINER?= sunpoet@FreeBSD.org
COMMENT= Extract, view & test RAR archives
@@ -17,10 +16,11 @@ OPTIONS_DEFINE= DOCS OPENSSL_AES
OPTIONS_DEFAULT=OPENSSL_AES
OPENSSL_AES_DESC= Use OpenSSL implementation of AES
-CONFLICTS?= zh-unrar-[0-9].* unrar-iconv-[0-9].*
+CONFLICTS_INSTALL?= zh-unrar-[0-9].* unrar-iconv-[0-9].*
-MAKE_ARGS= STRIP=${STRIP_CMD} CXX="${CXX}"
-MAKEFILE= makefile.unix
+LDFLAGS+= -pthread
+MAKE_ARGS= CXX=${CXX} LDFLAGS="${LDFLAGS}" STRIP=${STRIP_CMD}
+MAKEFILE= makefile
USES+= gmake
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -30,9 +30,8 @@ PORTDOCS= license.txt readme.txt
SLAVEDIRS= archivers/unrar-iconv chinese/unrar
OPENSSL_AES_CPPFLAGS= -DOPENSSL_AES -I${OPENSSLINC}
-OPENSSL_AES_USE= OPENSSL=yes
OPENSSL_AES_LDFLAGS= -L${OPENSSLLIB} -lcrypto
-
+OPENSSL_AES_USE= OPENSSL=yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${STAGEDIR}${PREFIX}/bin/