From owner-freebsd-ports@FreeBSD.ORG Thu Jun 26 22:29:30 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 826D61065680 for ; Thu, 26 Jun 2008 22:29:30 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id DCB2A8FC3E for ; Thu, 26 Jun 2008 22:29:29 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so117011tid.3 for ; Thu, 26 Jun 2008 15:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:x-face:x-attribution:x-os :x-os-kernel:x-os-version:x-os-architecture:x-uptime:x-url :x-mail-morse:x-openpgp-fingerprint:x-openpgp-id:face:organization :pgp:x-pgp:x-pgp-fp:user-agent:sender; bh=1og6713h8gvFqJ1edXorEoEAuz/ftisnK29f9KNw+Fc=; b=ANHJCyQR0iTXUqB6aUBu9HJ/28IIggWpzOKH/QJlk4yUTUPmC972wtdMY29PbN0Npc WSWf13w8z+2sYuX06YV8nS6puarcm6XYn5XHV0Zx1II5fYOFhfNFEP8wty0Kh92koCEp nKN4rRqA+7KY6MsS7TUQr9NiEjW1afcky0K48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to:x-face :x-attribution:x-os:x-os-kernel:x-os-version:x-os-architecture :x-uptime:x-url:x-mail-morse:x-openpgp-fingerprint:x-openpgp-id:face :organization:pgp:x-pgp:x-pgp-fp:user-agent:sender; b=rwMtn4mHi0PWlKuxnA5VHqToCYWFzTfdTZHWa9rsz/jjBEGKZ1KYklqMppOl8Id/Hj qgIkOW1F/1f1uZHAcAzFUmiOEBHUccJk8v4/UOTZ17VmOrzxlCV/S3trvXeJV+1rVNtH gpD0e1rE3RTVDmSqkKjuWclRk03lMl2AOTs+E= Received: by 10.110.46.14 with SMTP id t14mr389722tit.22.1214519367511; Thu, 26 Jun 2008 15:29:27 -0700 (PDT) Received: from chateau.d.lf ( [122.162.237.62]) by mx.google.com with ESMTPS id a4sm999678tib.2.2008.06.26.15.29.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Jun 2008 15:29:26 -0700 (PDT) Date: Fri, 27 Jun 2008 03:59:43 +0530 From: =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla To: freebsd-ports@freebsd.org Message-ID: <20080626222943.GA26989@chateau.d.lf> Mail-Followup-To: freebsd-ports@freebsd.org References: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com> X-Face: "\:nMpJ)EA!j>2nEu-[(+&o:N+CtL^AS\,Jv*LO5qBr#W2.\=d Subject: Re: Creating New Port - Question about Installation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 22:29:30 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ,--[ On Thu, Jun 26, 2008 at 05:52:04PM -0400, Schiz0 wrote: | Hey, |=20 | I'm attempting to create a new port for btsh: | http://btsh.sourceforge.net/ | The website isn't finished yet, but it's a command-line interface for | torrent websites. |=20 | Anyway, the original .tar.bz2 that the author wrote has no configure | script or makefile. All it has is an "INSTALL" script. The INSTALL | script prompts for a directory to install to, then copies the proper | files over and sets some permissions. If the INSTALL script copies according to the FreeBSD filesystem conventions, you can write an answer script, and use it to auto-answer the INSTALL script, e.g. ----8<----8<---- abbe [/tmp] chateau % cat test.sh=20 #!/bin/sh echo Where to install ? read DIR echo New user name ? read USER echo Installing in $DIR and user is $USER abbe [/tmp] chateau % printf "/usr/bin\ntycho" |./test.sh Where to install ? New user name ? Installing in /usr/bin and user is tycho ---->8---->8---- Or you can install it from your Makefile, instead of relying on the INSTALL script. HTH --=20 =C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2= =B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-= =C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- -- --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhkGFcACgkQHy+EEHYuXnTOfQCff/3zE+x9ZOqfZ+jNEtdtw/mU ba4AoPOQitVFQpW7xNwsdfcyYvDYayiU =rj8f -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--