ports/71694: [PATCH] devel/websvn: [Auto Create pkg-plist]

Michael Johnson ahze at ahze.net
Mon Sep 13 04:20:28 UTC 2004


>Number:         71694
>Category:       ports
>Synopsis:       [PATCH] devel/websvn: [Auto Create pkg-plist]
>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:   Mon Sep 13 04:20:26 GMT 2004
>Closed-Date:
>Last-Modified:
>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 at 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
- at dirrm www/data/WebSVN/templates/Zinn
- at dirrm www/data/WebSVN/templates/Standard
- at dirrm www/data/WebSVN/templates/BlueGrey
- at dirrm www/data/WebSVN/templates
- at dirrm www/data/WebSVN/temp
- at dirrm www/data/WebSVN/languages
- at dirrm www/data/WebSVN/include
- at dirrm www/data/WebSVN/cache
- at dirrm www/data/WebSVN
--- websvn-1.61.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list