Creating New Port - Question about Installation
आशीष शुक्ल Ashish Shukla
wahjava.ml at gmail.com
Thu Jun 26 22:29:30 UTC 2008
,--[ 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
--
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080626/df2fa2c7/attachment.pgp
More information about the freebsd-ports
mailing list