From owner-freebsd-ports@FreeBSD.ORG Tue Feb 15 22:04:41 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 2864316A4CE for ; Tue, 15 Feb 2005 22:04:41 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id B79E443D1F for ; Tue, 15 Feb 2005 22:04:40 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so2094370wri for ; Tue, 15 Feb 2005 14:04:40 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=s+PnEJGtDno1XMKXyEMjGI7aVvKofGR/v3LywobXXRpPA5DLZAeKPESCZj0/W+FPknbKXtb0t8knf2th4mvdocTf5cIOJoXTXAUcTFn/Tn0xBMN5coo9yt83hcgzrqxOlgp1i/0ZB0R+KR88RraNBam3K8T5e2zaZVy27Yhh498= Received: by 10.54.11.73 with SMTP id 73mr280607wrk; Tue, 15 Feb 2005 14:04:40 -0800 (PST) Received: by 10.54.29.8 with HTTP; Tue, 15 Feb 2005 14:04:40 -0800 (PST) Message-ID: <790a9fff05021514044802b652@mail.gmail.com> Date: Tue, 15 Feb 2005 16:04:40 -0600 From: Scot Hetzel To: Jon Drews In-Reply-To: <790a9fff05021514001fee0bd9@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> cc: FreeBSD Ports 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: Scot Hetzel 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:04:41 -0000 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. Was a little to quick, you need: .for file in rtf2pdf rtf2ps ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted/${file}.sh ${PREFIX}/bin/${file} .endfor This way you don't need to specify ".sh" to use the rtf2pdf or rtf2ps scripts. Scot