From owner-freebsd-ports Thu Nov 4 7:10:29 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D32EC14C05 for ; Thu, 4 Nov 1999 07:10:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA33063; Thu, 4 Nov 1999 07:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from m08.alpha-net.ne.jp (m08.alpha-net.ne.jp [210.229.64.38]) by hub.freebsd.org (Postfix) with ESMTP id 4E80C152C8 for ; Thu, 4 Nov 1999 07:01:28 -0800 (PST) (envelope-from k5@cheerful.com) Received: from localhost (kyoto-p7.alpha-net.ne.jp [210.237.118.7]) by m08.alpha-net.ne.jp (8.9.3/3.7W) with ESMTP id XAA26114; Thu, 4 Nov 1999 23:56:42 +0900 (JST) Message-Id: <19991105000031P.k5@cheerful.com> Date: Fri, 05 Nov 1999 00:00:31 +0900 From: FUJISHIMA Satsuki To: FreeBSD-gnats-submit@freebsd.org Cc: k5@cheerful.com Subject: ports/14707: Update port: archivers/linux_rar -> 2.60 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 # # $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 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