Date: Sun, 22 Feb 2004 15:05:22 +0100 (CET) From: Ulrich Spoerlein <q@uni.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: samy@kerneled.com Subject: ports/63220: [patch] Remove useless use of cat 3/5 Message-ID: <200402221405.i1ME5MGs028342@roadrunner.q.local> Resent-Message-ID: <200402221410.i1MEAnmr063874@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63220 >Category: ports >Synopsis: [patch] Remove useless use of cat 3/5 >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: Sun Feb 22 06:10:39 PST 2004 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 5.2.1-RC2 i386 >Organization: >Environment: >Description: These patches are against samy@kerneled.com's ports and remove useless use of cat. >How-To-Repeat: >Fix: --- cat_sed3.patch begins here --- Index: arabic/ae_fonts_mono/Makefile =================================================================== RCS file: /home/ncvs/ports/arabic/ae_fonts_mono/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- arabic/ae_fonts_mono/Makefile 16 Nov 2003 02:36:26 -0000 1.2 +++ arabic/ae_fonts_mono/Makefile 22 Feb 2004 13:43:06 -0000 @@ -35,7 +35,6 @@ @${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/ae_fonts_mono post-install: - @${CAT} ${PKGMESSAGE} | ${SED} "s|X11BASE|${X11BASE}|g" \ - | ${SED} "s|PORTNAME|${PORTNAME}|g" + @${SED} -e "s|X11BASE|${X11BASE}|g; s|PORTNAME|${PORTNAME}|g" ${PKGMESSAGE} .include <bsd.port.post.mk> Index: arabic/ae_fonts_ttf/Makefile =================================================================== RCS file: /home/ncvs/ports/arabic/ae_fonts_ttf/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- arabic/ae_fonts_ttf/Makefile 16 Nov 2003 02:36:26 -0000 1.2 +++ arabic/ae_fonts_ttf/Makefile 22 Feb 2004 13:43:06 -0000 @@ -72,7 +72,6 @@ .endfor post-install: - @${CAT} ${PKGMESSAGE} | ${SED} "s|X11BASE|${X11BASE}|g" \ - | ${SED} "s|PORTNAME|ae_fonts1|g" + @${SED} -e "s|X11BASE|${X11BASE}|g; s|PORTNAME|ae_fonts1|g" ${PKGMESSAGE} .include <bsd.port.mk> Index: arabic/kacst_fonts/Makefile =================================================================== RCS file: /home/ncvs/ports/arabic/kacst_fonts/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- arabic/kacst_fonts/Makefile 16 Nov 2003 02:36:26 -0000 1.2 +++ arabic/kacst_fonts/Makefile 22 Feb 2004 13:43:06 -0000 @@ -30,7 +30,6 @@ @${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/kacst_fonts/ post-install: - @${CAT} ${PKGMESSAGE} | ${SED} "s|X11BASE|${X11BASE}|g" \ - | ${SED} "s|PORTNAME|${PORTNAME}|g" + @${SED} -e "s|X11BASE|${X11BASE}|g; s|PORTNAME|${PORTNAME}|g" ${PKGMESSAGE} .include <bsd.port.mk> Index: arabic/khotot/Makefile =================================================================== RCS file: /home/ncvs/ports/arabic/khotot/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- arabic/khotot/Makefile 16 Nov 2003 02:36:27 -0000 1.2 +++ arabic/khotot/Makefile 22 Feb 2004 13:43:06 -0000 @@ -52,7 +52,6 @@ # This is a meta-port, the do-install target is not needed post-install: - @${CAT} ${PKGMESSAGE} | ${SED} "s|X11BASE|${X11BASE}|g" \ - ${PKGDIR}/pkg-message + @${SED} -e "s|X11BASE|${X11BASE}|g" ${PKGMESSAGE} .include <bsd.port.mk> --- cat_sed3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402221405.i1ME5MGs028342>