From owner-freebsd-ports-bugs@FreeBSD.ORG  Sat Aug 12 07:30:14 2006
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
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 6781616A4E6
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Sat, 12 Aug 2006 07:30:14 +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 ABE8F43D49
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Sat, 12 Aug 2006 07:30:13 +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 k7C7UDqm081081
	for <freebsd-ports-bugs@freefall.freebsd.org>;
	Sat, 12 Aug 2006 07:30:13 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7C7UDgh081078;
	Sat, 12 Aug 2006 07:30:13 GMT (envelope-from gnats)
Resent-Date: Sat, 12 Aug 2006 07:30:13 GMT
Resent-Message-Id: <200608120730.k7C7UDgh081078@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,
	Gea-Suan Lin <gslin@gslin.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3EFB716A4DE;
	Sat, 12 Aug 2006 07:24:14 +0000 (UTC)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E2E0E43D46;
	Sat, 12 Aug 2006 07:24:13 +0000 (GMT)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000)
	id B42ED3AD; Sat, 12 Aug 2006 15:24:10 +0800 (CST)
Message-Id: <20060812072410.B42ED3AD@netnews.NCTU.edu.tw>
Date: Sat, 12 Aug 2006 15:24:10 +0800 (CST)
From: Gea-Suan Lin <gslin@gslin.org>
To: FreeBSD-gnats-submit@FreeBSD.org
X-Send-Pr-Version: 3.113
Cc: gslin@gslin.org, clsung@FreeBSD.org
Subject: ports/101870: [PATCH] textproc/diffstat: Respect DESTDIR
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Aug 2006 07:30:14 -0000


>Number:         101870
>Category:       ports
>Synopsis:       [PATCH] textproc/diffstat: Respect DESTDIR
>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:   Sat Aug 12 07:30:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR
- Use MAN1PREFIX

Port maintainer (clsung@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- diffstat-1.43.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/diffstat/Makefile /home/staff/gslin/work/ports/diffstat/Makefile
--- /usr/ports/textproc/diffstat/Makefile	Mon Jul 17 15:56:39 2006
+++ /home/staff/gslin/work/ports/diffstat/Makefile	Sat Aug 12 15:23:23 2006
@@ -14,8 +14,6 @@
 MAINTAINER=	clsung@FreeBSD.org
 COMMENT=	Makes a histogram summarizing "diff" output
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
 GNU_CONFIGURE=	yes
 MAKEFILE=	makefile
 
@@ -23,7 +21,7 @@
 PLIST_FILES=	bin/diffstat
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${TARGETDIR}/bin
+	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
 
 .include <bsd.port.mk>
--- diffstat-1.43.patch ends here ---

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