Date: Sat, 2 Nov 2002 23:04:23 -0600 (CST) From: "Scot W. Hetzel" <hetzels@westbend.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/44845: www/frontpage-ar: Update to REINPLACE_CMD/USE_REINPLACE Message-ID: <200211030504.gA354NWM015934@WBIw009.westbend.net>
next in thread | raw e-mail | index | archive | help
>Number: 44845 >Category: ports >Synopsis: www/frontpage-ar: Update to REINPLACE_CMD/USE_REINPLACE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Nov 02 21:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Scot W. Hetzel >Release: FreeBSD 4.4-STABLE i386 >Organization: West Bend Internet >Environment: System: FreeBSD wbiW009.westbend.net 4.4-STABLE FreeBSD 4.4-STABLE #1: Fri Dec 21 03:59:03 CST 2001 root@wbiW009.westbend.net:/usr/obj/usr/src/sys/GENERIC-SMP i386 >Description: To Quote Kris Kennaway: The latest bento run on 5.0 is the first to build without perl present: previously, two of the portbuild scripts were written in perl, so I had to always pkg_add it into the chroot environment. Now that these scripts have been rewritten in C and I have stopped doing the pkg_add, ... The frontpage port was using ${PERL} to do patching-in-place. >How-To-Repeat: >Fix: The attached patch changes the port to use REINPLACE_CMD/USE_REINPLACE. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/frontpage-ar/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 30 Dec 2001 22:08:03 -0000 1.5 +++ Makefile 3 Nov 2002 04:55:40 -0000 @@ -28,6 +28,7 @@ .include <bsd.port.pre.mk> +USE_REINPLACE= yes ONLY_FOR_ARCHS= i386 alpha NO_WRKSUBDIR= yes @@ -49,7 +50,7 @@ @(cd ${PREFIX} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILE} ${EXTRACT_AFTER_ARGS}) .endfor .for _FP_LCID in ${FP_LCID} - @${PERL} -pi -e 's:IMAGESDIR:../images/:g' ${FP_DIR}/admin/${_FP_LCID}/webadmin.css + @${REINPLACE_CMD} -e 's:IMAGESDIR:../images/:g' ${FP_DIR}/admin/${_FP_LCID}/webadmin.css @if [ ! -f ${FP_DIR}/help/${_FP_LCID}/wsgindex.htm ]; then \ ${CP} ${FP_DIR}/help/${_FP_LCID}/wsgIndex.htm ${FP_DIR}/help/${_FP_LCID}/wsgindex.htm ; \ fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211030504.gA354NWM015934>