Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2002 15:41:12 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41353: Update port: archivers/unrar to 3.00
Message-ID:  <200208052241.g75MfCGh025261@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         41353
>Category:       ports
>Synopsis:       Update port: archivers/unrar to 3.00
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 05 15:50:11 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.00

Remove file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/archivers/unrar/Makefile archivers/unrar/Makefile
--- /usr/ports/archivers/unrar/Makefile	Sat Mar  2 14:18:05 2002
+++ archivers/unrar/Makefile	Tue Jul 30 06:28:39 2002
@@ -6,25 +6,28 @@
 #
 
 PORTNAME=	unrar
-PORTVERSION=	2.50
+PORTVERSION=	3.00
 CATEGORIES=	archivers
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	ache
+MASTER_SITES=	http://files2.rarlab.com/rar/
+DISTNAME=	unrarsrc
 
 MAINTAINER=	ache@FreeBSD.org
 
 NO_WRKSUBDIR=	Yes
 NO_LATEST_LINK= yes
 
-do-build:
-	cd ${WRKSRC} && \
-		${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar
+ALL_TARGET=	makeunrar
+
+post-patch:
+	@${SED} -e 's|c++|${CXX}|g' -e 's|-O2|${CXXFLAGS}|g' \
+		${WRKSRC}/makefile.gcc > ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
-		${PREFIX}/share/doc/unrar
-	cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX}/bin
-	cd ${WRKSRC} && ${INSTALL_MAN} readme.txt license.txt \
-		${PREFIX}/share/doc/unrar
+	${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/archivers/unrar/distinfo archivers/unrar/distinfo
--- /usr/ports/archivers/unrar/distinfo	Thu Jun 29 03:14:46 2000
+++ archivers/unrar/distinfo	Tue Jul 30 06:11:54 2002
@@ -1 +1 @@
-MD5 (unrar-2.50.tar.gz) = d257849c672b019046f40113d0859ec4
+MD5 (unrarsrc.tar.gz) = 7c3b82490cbe130a40ce3fa14655605c
diff -urN /usr/ports/archivers/unrar/files/patch-aa archivers/unrar/files/patch-aa
--- /usr/ports/archivers/unrar/files/patch-aa	Fri Jun  7 09:44:33 2002
+++ archivers/unrar/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- getopt.c.orig	Thu Jun  6 17:43:00 2002
-+++ getopt.c	Thu Jun  6 17:43:12 2002
-@@ -270,7 +270,7 @@
-     MUCHelp20,MUCHelp21,"\n"};
-   int I;
-   for (I=0;I<sizeof(Help)/sizeof(Help[0]);I++)
--    mprintf(Help[I]);
-+    mprintf("%s", Help[I]);
- }
- 
- 

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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