aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unrar
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-10-07 23:07:25 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-10-07 23:07:25 +0800
commita198fb16cd52844483838ac2ce35f1986015b2ca (patch)
treea8429a669e7ff578c4eb9005fd76742f7948e830 /archivers/unrar
parenta1cd5852ec1bb2b37e9dbcab49e9c716942bcf88 (diff)
downloadfreebsd-ports-gnome-a198fb16cd52844483838ac2ce35f1986015b2ca.tar.gz
freebsd-ports-gnome-a198fb16cd52844483838ac2ce35f1986015b2ca.tar.zst
freebsd-ports-gnome-a198fb16cd52844483838ac2ce35f1986015b2ca.zip
- Update to 4.20 (4.20.100.526)
- Convert to new options framework - Cleanup Makefile header - Add SLAVEDIRS: archivers/unrar-iconv and chinese/unrar
Diffstat (limited to 'archivers/unrar')
-rw-r--r--archivers/unrar/Makefile19
-rw-r--r--archivers/unrar/distinfo4
2 files changed, 12 insertions, 11 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index 65069cf28e5a..d8d249c14877 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -1,22 +1,21 @@
-# New ports collection makefile for: unrar
-# Date created: 28 Dec 1994
-# Whom: ache
-#
+# Created by: ache
# $FreeBSD$
-#
PORTNAME= unrar
PORTVERSION= 4.20
+PORTREVISION= 1
PORTEPOCH= 5
CATEGORIES+= archivers
MASTER_SITES= http://www.rarlab.com/rar/ \
LOCAL/sunpoet
-DISTNAME= unrarsrc-4.2.1
+DISTNAME= unrarsrc-4.2.4
MAINTAINER?= sunpoet@FreeBSD.org
COMMENT= Extract, view & test RAR archives
-OPTIONS= OPENSSL_AES "Use OpenSSL implementation of AES" on
+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].*
@@ -28,9 +27,11 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/unrar
PORTDOCS= license.txt readme.txt
+SLAVEDIRS= archivers/unrar-iconv chinese/unrar
+
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_OPENSSL_AES)
+.if ${PORT_OPTIONS:MOPENSSL_AES}
CPPFLAGS+= -DOPENSSL_AES -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto
USE_OPENSSL= yes
@@ -41,7 +42,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
diff --git a/archivers/unrar/distinfo b/archivers/unrar/distinfo
index 46640e61665e..550d5fcc8997 100644
--- a/archivers/unrar/distinfo
+++ b/archivers/unrar/distinfo
@@ -1,2 +1,2 @@
-SHA256 (unrarsrc-4.2.1.tar.gz) = d5b59d98a6604ac41916311bc3b5dce1b94858008fc381aa975311d9248542c0
-SIZE (unrarsrc-4.2.1.tar.gz) = 161564
+SHA256 (unrarsrc-4.2.4.tar.gz) = 9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686
+SIZE (unrarsrc-4.2.4.tar.gz) = 164641