From ychsiao@mail.ychsiao.idv.tw  Thu Sep 16 01:13:45 2004
Return-Path: <ychsiao@mail.ychsiao.idv.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3EB3A16A4CE
	for <freebsd-gnats-submit@freebsd.org>; Thu, 16 Sep 2004 01:13:45 +0000 (GMT)
Received: from FreeBSD.stu.edu.tw (FreeBSD.stu.edu.tw [210.71.11.99])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4AB1B43D4C
	for <freebsd-gnats-submit@freebsd.org>; Thu, 16 Sep 2004 01:13:44 +0000 (GMT)
	(envelope-from ychsiao@mail.ychsiao.idv.tw)
Received: from ychsiao (ychsiao.stu.edu.tw [210.71.11.238])
	by FreeBSD.stu.edu.tw (Postfix) with ESMTP id 6FA8041479;
	Thu, 16 Sep 2004 09:14:20 +0800 (CST)
Message-Id: <20040916011420.6FA8041479@FreeBSD.stu.edu.tw>
Date: Thu, 16 Sep 2004 09:14:19 +0800
From: "Yuan-Chung Hsiao" <ychsiao@mail.ychsiao.idv.tw>
To: "'Michael Johnson'" <ahze@ahze.net>,
	<FreeBSD-gnats-submit@freebsd.org>
In-Reply-To: <200409130412.i8D4CPaC030388@blueheron.ahze.net>
Subject: RE: [PATCH] devel/websvn: [Auto Create pkg-plist]

>Number:         71783
>Category:       ports
>Synopsis:       [PATCH] devel/websvn: [Auto Create pkg-plist]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 16 01:20:15 GMT 2004
>Closed-Date:    Wed Oct 13 16:05:20 GMT 2004
>Last-Modified:  Wed Oct 13 16:05:20 GMT 2004
>Originator:     Michael Johnson
>Release:        FreeBSD 5.3-BETA3 i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-BETA3 FreeBSD 5.3-BETA3 #66: Tue Sep
7 12:56:04 EDT
>Description:
- Auto Create pkg-plist


Port maintainer (ychsiao@ychsiao.idv.tw) is cc'd.

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

--- websvn-1.61.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/websvn/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	2 Sep 2004 17:08:55 -0000	1.5
+++ Makefile	13 Sep 2004 04:10:55 -0000
@@ -19,8 +19,14 @@
 WRKSRC=		${WRKDIR}/WebSVN
 
 WEBSVNDIR?=	www/data/WebSVN
+PLIST=		${WRKDIR}/pkg-plist
 
-PLIST_SUB+=	WEBSVNDIR=${WEBSVNDIR}
+pre-install:
+	cd ${WRKSRC} && ${FIND} -s * -type f | \
+		${SED} -e 's|^|${WEBSVNDIR}/|' > ${PLIST} \
+		&& ${FIND} -d * -type d | \
+		${SED} -e 's|^|@dirrm ${WEBSVNDIR}/|' >> ${PLIST} \
+		&& ${ECHO_CMD} @dirrm ${WEBSVNDIR} >> ${PLIST}
 
 do-install:
 	${MKDIR} ${PREFIX}/${WEBSVNDIR}
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/websvn/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	2 Sep 2004 17:08:55 -0000	1.5
+++ pkg-plist	13 Sep 2004 04:10:42 -0000
@@ -1,94 +0,0 @@
-www/data/WebSVN/blame.php
-www/data/WebSVN/cache/tmp
-www/data/WebSVN/changes.txt
-www/data/WebSVN/comp.php
-www/data/WebSVN/diff.php
-www/data/WebSVN/dl.php
-www/data/WebSVN/filedetails.php
-www/data/WebSVN/form.php
-www/data/WebSVN/include/bugtraq.inc
-www/data/WebSVN/include/command.inc
-www/data/WebSVN/include/configclass.inc
-www/data/WebSVN/include/distconfig.inc
-www/data/WebSVN/include/feedcreator.class.php
-www/data/WebSVN/include/setup.inc
-www/data/WebSVN/include/svnlook.inc
-www/data/WebSVN/include/template.inc
-www/data/WebSVN/include/utils.inc
-www/data/WebSVN/include/version.inc
-www/data/WebSVN/index.php
-www/data/WebSVN/install.txt
-www/data/WebSVN/languages/english.inc
-www/data/WebSVN/languages/french.inc
-www/data/WebSVN/languages/german.inc
-www/data/WebSVN/languages/japanese-euc.inc
-www/data/WebSVN/languages/japanese-jis.inc
-www/data/WebSVN/languages/japanese-sjis.inc
-www/data/WebSVN/languages/japanese-utf8.inc
-www/data/WebSVN/languages/korean-euc.inc
-www/data/WebSVN/languages/korean-utf8.inc
-www/data/WebSVN/languages/portuguese.inc
-www/data/WebSVN/languages/russian.inc
-www/data/WebSVN/languages/spanish.inc
-www/data/WebSVN/languages/swedish.inc
-www/data/WebSVN/languages/tchinese-utf8.inc
-www/data/WebSVN/languages/tchinese.inc
-www/data/WebSVN/licence.txt
-www/data/WebSVN/listing.php
-www/data/WebSVN/log.php
-www/data/WebSVN/rss.php
-www/data/WebSVN/templates.txt
-www/data/WebSVN/templates/BlueGrey/blame.tmpl
-www/data/WebSVN/templates/BlueGrey/compare.tmpl
-www/data/WebSVN/templates/BlueGrey/diff.tmpl
-www/data/WebSVN/templates/BlueGrey/directory.tmpl
-www/data/WebSVN/templates/BlueGrey/e-node.png
-www/data/WebSVN/templates/BlueGrey/file.png
-www/data/WebSVN/templates/BlueGrey/file.tmpl
-www/data/WebSVN/templates/BlueGrey/filec.png
-www/data/WebSVN/templates/BlueGrey/fileh.png
-www/data/WebSVN/templates/BlueGrey/files.png
-www/data/WebSVN/templates/BlueGrey/folder.png
-www/data/WebSVN/templates/BlueGrey/footer.tmpl
-www/data/WebSVN/templates/BlueGrey/header.tmpl
-www/data/WebSVN/templates/BlueGrey/i-node.png
-www/data/WebSVN/templates/BlueGrey/index.tmpl
-www/data/WebSVN/templates/BlueGrey/l-node.png
-www/data/WebSVN/templates/BlueGrey/log.tmpl
-www/data/WebSVN/templates/BlueGrey/png.js
-www/data/WebSVN/templates/BlueGrey/repo.png
-www/data/WebSVN/templates/BlueGrey/styles.css
-www/data/WebSVN/templates/BlueGrey/subversion.png
-www/data/WebSVN/templates/BlueGrey/t-node.png
-www/data/WebSVN/templates/BlueGrey/xml.gif
-www/data/WebSVN/templates/Standard/blame.tmpl
-www/data/WebSVN/templates/Standard/compare.tmpl
-www/data/WebSVN/templates/Standard/diff.tmpl
-www/data/WebSVN/templates/Standard/directory.tmpl
-www/data/WebSVN/templates/Standard/file.tmpl
-www/data/WebSVN/templates/Standard/footer.tmpl
-www/data/WebSVN/templates/Standard/header.tmpl
-www/data/WebSVN/templates/Standard/index.tmpl
-www/data/WebSVN/templates/Standard/log.tmpl
-www/data/WebSVN/templates/Standard/styles.css
-www/data/WebSVN/templates/Standard/xml.gif
-www/data/WebSVN/templates/Zinn/blame.tmpl
-www/data/WebSVN/templates/Zinn/compare.tmpl
-www/data/WebSVN/templates/Zinn/diff.tmpl
-www/data/WebSVN/templates/Zinn/directory.tmpl
-www/data/WebSVN/templates/Zinn/file.tmpl
-www/data/WebSVN/templates/Zinn/footer.tmpl
-www/data/WebSVN/templates/Zinn/header.tmpl
-www/data/WebSVN/templates/Zinn/index.tmpl
-www/data/WebSVN/templates/Zinn/log.tmpl
-www/data/WebSVN/templates/Zinn/styles.css
-www/data/WebSVN/wsvn.php
-@dirrm www/data/WebSVN/templates/Zinn
-@dirrm www/data/WebSVN/templates/Standard
-@dirrm www/data/WebSVN/templates/BlueGrey
-@dirrm www/data/WebSVN/templates
-@dirrm www/data/WebSVN/temp
-@dirrm www/data/WebSVN/languages
-@dirrm www/data/WebSVN/include
-@dirrm www/data/WebSVN/cache
-@dirrm www/data/WebSVN
--- websvn-1.61.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Wed Oct 13 16:04:59 GMT 2004 
State-Changed-Why:  
Duplicate of ports/71694 except for maintainer approval (copied over). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71783 
>Unformatted:
 Thanks your patch.
 
 I approve it.
 
 -----Original Message-----
 From: Michael Johnson [mailto:ahze@ahze.net] 
 Sent: Monday, September 13, 2004 12:12 PM
 To: FreeBSD-gnats-submit@freebsd.org
 Cc: ychsiao@ychsiao.idv.tw
 Subject: [PATCH] devel/websvn: [Auto Create pkg-plist]
 
 
