From owner-freebsd-ports@FreeBSD.ORG Tue Feb 15 22:18:04 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 784D916A4CE for ; Tue, 15 Feb 2005 22:18:04 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1410C43D58 for ; Tue, 15 Feb 2005 22:18:04 +0000 (GMT) (envelope-from jon.drews@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so2096426wri for ; Tue, 15 Feb 2005 14:18:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=UPupTCzt2CNW2dc5AyA+razVqqDL+rsEXZeg7Qm7o6D4hscQZjwH9amAf31PWRWYlL0aENWnR3Ehao2stAkv3chlaDVMdBNtU/Djt1pIXt/JGe634cWhT0qPd1UjPRFEdqOF0JNdylBGH0as9LRrnXBLOkmTFoe40kN6JYYrNT0= Received: by 10.54.4.8 with SMTP id 8mr242237wrd; Tue, 15 Feb 2005 14:18:03 -0800 (PST) Received: by 10.54.54.8 with HTTP; Tue, 15 Feb 2005 14:18:03 -0800 (PST) Message-ID: <8cb27cbf050215141820807acd@mail.gmail.com> Date: Tue, 15 Feb 2005 15:18:03 -0700 From: Jon Drews To: FreeBSD Ports In-Reply-To: <790a9fff05021514044802b652@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <8cb27cbf05021511345f5b871e@mail.gmail.com> <790a9fff05021514001fee0bd9@mail.gmail.com> <790a9fff05021514044802b652@mail.gmail.com> Subject: Re: How do I put accessory scripts in a Makefile ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jon Drews List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 22:18:04 -0000 On Tue, 15 Feb 2005 16:04:40 -0600, Scot Hetzel wrote: > On Tue, 15 Feb 2005 16:00:25 -0600, Scot Hetzel wrote: > > On Tue, 15 Feb 2005 12:34:11 -0700, Jon Drews wrote: > > > Port: editors/ted > > > Version: 2.17 > > > on: 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 > > > > > > I have > > > > > > do-install: > > > ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin > > > ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted ${PREFIX}/bin > > : > > > That is I want to install rtf2pdf.sh and rtf2ps.sh from > > > /usr/ports/editors/ted/work/Ted-2.17/tedPackage/Ted into > > > /usr/X11R6/bin/. Is the line ${INSTALL_SCRIPT} > > > ${WRKSRC}/tedPackage/Ted ${PREFIX}/bin the correct way to do it? > > > > > Yes. I had this: ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted/rtf2*.sh ${PREFIX}/bin > Was a little to quick, you need: > > .for file in rtf2pdf rtf2ps > ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted/${file}.sh ${PREFIX}/bin/${file} > .endfor Ah Scot, that is very nice. I will use that. Thanks! Kind regards, Jonathan