Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Nov 1999 00:00:31 +0900
From:      FUJISHIMA Satsuki <k5@cheerful.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        k5@cheerful.com
Subject:   ports/14707: Update port: archivers/linux_rar -> 2.60
Message-ID:  <19991105000031P.k5@cheerful.com>

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

>Number:         14707
>Category:       ports
>Synopsis:       Update port: archivers/linux_rar -> 2.60
>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:   Thu Nov  4 07:10:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     FUJISHIMA Satsuki
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
N/A
>Environment:
>Description:

	update to 2.60.
	o maintainer's e-mail address changed. previous one has been
	  unreachable. Please change 'Whom:' line, if needed.
	o added BUILD_DEPENDS. If absense, make extract fails.
	o added option WITH_UNRAR to install UNRAR bundled with this
	  port's distfile.
	o removed NOPORTDOCS option. Due to this is commercial
	  software, documentation like lisence agreement wouldn't be
	  omitted.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/archivers/linux_rar/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	1999/08/25 23:36:57	1.7
+++ Makefile	1999/11/02 18:18:21
@@ -1,48 +1,72 @@
 # New ports collection makefile for:    linux_rar
 # http://www.rarsoft.com/rar_archiver.htm
-# Version required:	2.50
+# Version required:	2.60
 # Date created:		30 April 1999
 # Whom:			FUJISHIMA Satsuki <k5@respo.or.jp>
 #
 # $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.7 1999/08/25 23:36:57 mharo Exp $
 #
 
-DISTNAME=       rarlnx25
-PKGNAME=        linux-rar-2.50
+DISTNAME=       rarlnx26
+PKGNAME=        linux_rar-2.60
 CATEGORIES=	archivers
 MASTER_SITES=	ftp://rarsoft.ti.sk/pub/rar/ \
 		ftp://ftp.cdrom.com/pub/cheats/dlh/rar/
 EXTRACT_SUFX=   .sfx
 
-MAINTAINER=     k5@respo.or.jp
+MAINTAINER=     k5@cheerful.com
 
+BUILD_DEPENDS=	/compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
 RUN_DEPENDS=	/compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
 
-CAT1=		rar.1
-
 NO_BUILD=	yes
 ONLY_FOR_ARCHS=	i386
 NO_PACKAGE=     Only unmodified original package can be distributed
 
-NO_WRKSUBDIR=   yes
 EXTRACT_CMD=		# empty
 EXTRACT_BEFORE_ARGS=	# empty
 EXTRACT_AFTER_ARGS=	# empty
 STRIP=			# empty: do not touch linux binary!
+WRKSRC=		${WRKDIR}/rar
+PLIST=		${WRKSRC}/PLIST
+
+RARDOCS=	license.txt rar_faq.txt rar_site.txt readme.txt register.frm \
+		register.txt rereg.txt technote.txt whatsnew.txt
+RARFILES=	rarfiles.lst default.sfx dos.sfx
 
 post-fetch:
 	@${CHMOD} a+x ${DISTDIR}/${DISTFILES}
 
+pre-configure:
+	@${ECHO_MSG} "To install unrar bundled with this package,"
+	@${ECHO_MSG} "set variable WITH_UNRAR=YES."
+
 do-install:
-	${MKDIR} ${PREFIX}/share/doc/rar ${PREFIX}/share/rar
-	${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin
-	cd ${WRKSRC} && \
-	${INSTALL_DATA} rarfiles.lst default.sfx dos.sfx ${PREFIX}/share/rar
-.if !defined(NOPORTDOCS)
-	${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1
-	cd ${WRKSRC} && \
-	${INSTALL_DATA} license.txt rar_faq.txt rar_site.txt readme.txt \
-		register.txt technote.txt ${PREFIX}/share/doc/rar
+	@${MKDIR} ${PREFIX}/share/doc/rar ${PREFIX}/share/rar
+	@${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin
+.for i in ${RARDOCS}
+	@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/rar
+.endfor
+.for i in ${RARFILES}
+	@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/rar
+.endfor
+	@${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1
+
+	@${CP} ${PKGDIR}/PLIST ${WRKSRC}
+.if !defined(NOMANCOMPRESS)
+	@${GZIP_CMD} ${PREFIX}/man/cat1/rar.1
+	@${ECHO} man/cat1/rar.1.gz >> ${WRKSRC}/PLIST
+.else
+	@${ECHO} man/cat1/rar.1 >> ${WRKSRC}/PLIST
 .endif
+.if defined(WITH_UNRAR)
+	@${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
+	@${ECHO} bin/unrar >> ${WRKSRC}/PLIST
+.endif
+
+post-install:
+	@/usr/bin/brandelf -t Linux ${PREFIX}/bin/rar
+	@${ECHO_MSG} "This is 40days trial version of commercial software."
+	@${ECHO_MSG} "Read texts in ${PREFIX}/share/doc/rar before use."
 
 .include <bsd.port.mk>
Index: files/md5
===================================================================
RCS file: /home/ncvs/ports/archivers/linux_rar/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- md5	1999/04/30 04:41:20	1.1.1.1
+++ md5	1999/11/02 15:09:27
@@ -1 +1 @@
-MD5 (rarlnx25.sfx) = 60ae979c1fc41ef1603753cf3260cc77
+MD5 (rarlnx26.sfx) = 1bd37ad53fa709a7e8e813cfd754bc15
Index: pkg/DESCR
===================================================================
RCS file: /home/ncvs/ports/archivers/linux_rar/pkg/DESCR,v
retrieving revision 1.2
diff -u -r1.2 DESCR
--- DESCR	1999/05/02 21:16:45	1.2
+++ DESCR	1999/11/02 17:52:13
@@ -2,7 +2,6 @@
 and compression program.  It offers significantly improved compression
 ratios comparing with other competitors.
 
-This is *shareware*.
-Please read texts in /usr/local/share/doc/rar/ and the homepage.
+Also UNRAR could be installed with this port. 
 
 WWW: http://www.rarsoft.com/rar_archiver.htm
Index: pkg/PLIST
===================================================================
RCS file: /home/ncvs/ports/archivers/linux_rar/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	1999/08/25 23:36:58	1.2
+++ PLIST	1999/11/02 15:42:23
@@ -1,12 +1,15 @@
 bin/rar
-share/rar/dos.sfx
-share/rar/default.sfx
-share/rar/rarfiles.lst
 share/doc/rar/license.txt
 share/doc/rar/rar_faq.txt
 share/doc/rar/rar_site.txt
 share/doc/rar/readme.txt
+share/doc/rar/register.frm
 share/doc/rar/register.txt
+share/doc/rar/rereg.txt
 share/doc/rar/technote.txt
+share/doc/rar/whatsnew.txt
+share/rar/default.sfx
+share/rar/dos.sfx
+share/rar/rarfiles.lst
 @dirrm share/doc/rar
 @dirrm share/rar

>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?19991105000031P.k5>