cvs commit: ports/devel/websvn Makefile pkg-plist

Jun Kuriyama kuriyama at imgsrc.co.jp
Tue Oct 19 16:08:23 PDT 2004


At Tue, 19 Oct 2004 03:15:13 +0000 (UTC),
Cheng-Lung Sung wrote:
>   Modified files:
>     devel/websvn         Makefile pkg-plist 
>   Log:
>   - auto create pkg-plist in pre-install phase.
>   
>   PR:             ports/71694
>   Submitted by:   Michael Johnson <ahze AT ahze dot net>
>   Reviewed by:    maintainer
>   Approved by:    co-mentor (vanilla)

Is using config.in as filename intentional?  Also I like LF as end of
line in config file (original distconfig.inc contains mixed LF and
CRLF?)


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/websvn/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	19 Oct 2004 03:15:13 -0000	1.7
+++ Makefile	19 Oct 2004 14:34:31 -0000
@@ -22,7 +22,7 @@
 PLIST=		${WRKDIR}/pkg-plist
 
 pre-install:
-	@${CP} ${WRKSRC}/include/distconfig.inc ${WRKSRC}/include/config.in
+	@${TR} -d '\r' < ${WRKSRC}/include/distconfig.inc > ${WRKSRC}/include/config.inc
 	cd ${WRKSRC} && ${FIND} -s * -type f | \
 		${SED} -e 's|^|${WEBSVNDIR}/|' > ${PLIST} \
 		&& ${FIND} -d * -type d | \


-- 
Jun Kuriyama <kuriyama at imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama at FreeBSD.org> // FreeBSD Project


More information about the cvs-all mailing list