From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 10 22:50:28 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C69C16A4E2 for ; Thu, 10 Aug 2006 22:50:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8716D43D70 for ; Thu, 10 Aug 2006 22:50:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7AMoGaL001218 for ; Thu, 10 Aug 2006 22:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7AMoGM8001217; Thu, 10 Aug 2006 22:50:16 GMT (envelope-from gnats) Resent-Date: Thu, 10 Aug 2006 22:50:16 GMT Resent-Message-Id: <200608102250.k7AMoGM8001217@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gabor Kovesdan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90F4216A5BC; Thu, 10 Aug 2006 22:40:39 +0000 (UTC) (envelope-from root@catv-50635cb6.catv.broadband.hu) Received: from catv-50635cb6.catv.broadband.hu (catv-50635cb6.catv.broadband.hu [80.99.92.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E70443D46; Thu, 10 Aug 2006 22:40:39 +0000 (GMT) (envelope-from root@catv-50635cb6.catv.broadband.hu) Received: by catv-50635cb6.catv.broadband.hu (Postfix, from userid 0) id 109FE289C26; Fri, 11 Aug 2006 00:40:39 +0200 (CEST) Message-Id: <20060810224039.109FE289C26@catv-50635cb6.catv.broadband.hu> Date: Fri, 11 Aug 2006 00:40:39 +0200 (CEST) From: Gabor Kovesdan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Gabor Kovesdan Subject: ports/101788: [patch] archivers/unarj X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gabor Kovesdan List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 22:50:28 -0000 >Number: 101788 >Category: ports >Synopsis: [patch] archivers/unarj >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 10 22:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gabor Kovesdan >Release: FreeBSD 6.1-STABLE i386 >Organization: n/a >Environment: System: FreeBSD spitfire 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul 29 18:31:18 CEST 2006 gabor@spitfire:/usr/src/sys/i386/compile/SPITFIRE i386 >Description: - Respect DESTDIR - Respect NOPORTDOCS - Bump PORTREVISION - Eliminate plist >How-To-Repeat: >Fix: --- archivers-unarj.diff begins here --- Index: Makefile =================================================================== RCS file: /usr/cvs/ports/archivers/unarj/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile 29 Nov 2004 21:28:13 -0000 1.20 +++ Makefile 10 Aug 2006 22:36:40 -0000 @@ -7,7 +7,7 @@ PORTNAME= unarj PORTVERSION= 2.65 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= ache @@ -16,14 +16,19 @@ MAINTAINER= ache@FreeBSD.org COMMENT= Allows files to be extracted from ARJ archives +PLIST_FILES= bin/unarj +PORTDOCS= unarj.txt technote.txt + post-patch: ${CP} ${FILESDIR}/sanitize.c ${WRKSRC} do-install: - ${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \ - ${PREFIX}/share/doc/unarj - cd ${WRKSRC}; ${INSTALL_PROGRAM} unarj ${PREFIX}/bin - cd ${WRKSRC}; ${INSTALL_DATA} unarj.txt technote.txt \ - ${PREFIX}/share/doc/unarj + ${INSTALL_PROGRAM} ${WRKSRC}/unarj ${TARGETDIR}/bin +.if !defined(NOPORTDOCS) + ${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif .include Index: pkg-plist =================================================================== RCS file: pkg-plist diff -N pkg-plist --- pkg-plist 29 Nov 2004 15:03:09 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -bin/unarj -%%DOCSDIR%%/unarj.txt -%%DOCSDIR%%/technote.txt -@dirrm %%DOCSDIR%% --- archivers-unarj.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: