Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2012 15:07:26 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305487 - head/archivers/unrar
Message-ID:  <201210071507.q97F7QAO020310@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Oct  7 15:07:25 2012
New Revision: 305487
URL: http://svn.freebsd.org/changeset/ports/305487

Log:
  - Update to 4.20 (4.20.100.526)
  - Convert to new options framework
  - Cleanup Makefile header
  - Add SLAVEDIRS: archivers/unrar-iconv and chinese/unrar

Modified:
  head/archivers/unrar/Makefile   (contents, props changed)
  head/archivers/unrar/distinfo   (contents, props changed)

Modified: head/archivers/unrar/Makefile
==============================================================================
--- head/archivers/unrar/Makefile	Sun Oct  7 14:38:39 2012	(r305486)
+++ head/archivers/unrar/Makefile	Sun Oct  7 15:07:25 2012	(r305487)
@@ -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

Modified: head/archivers/unrar/distinfo
==============================================================================
--- head/archivers/unrar/distinfo	Sun Oct  7 14:38:39 2012	(r305486)
+++ head/archivers/unrar/distinfo	Sun Oct  7 15:07:25 2012	(r305487)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210071507.q97F7QAO020310>