Date: Fri, 27 Jun 2008 03:59:43 +0530 From: =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla <wahjava.ml@gmail.com> To: freebsd-ports@freebsd.org Subject: Re: Creating New Port - Question about Installation Message-ID: <20080626222943.GA26989@chateau.d.lf> In-Reply-To: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com> References: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080626222943.GA26989>