,--[ On Thu, Jun 26, 2008 at 05:52:04PM -0400, Schiz0 wrote: | Hey, | | 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. | | 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 #!/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 -- ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
pgpWYQLPuFmiC.pgp
Description: PGP signature