Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 22:09:10 +0100
From:      "Olivier SMEDTS" <olivier@gid0.org>
To:        "Steve Franks" <bahamasfranks@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: how to install a port without install: in the Makefile
Message-ID:  <367b2c980901191309k2198f14ak288590cfe9e3d320@mail.gmail.com>
In-Reply-To: <367b2c980901191308l474f2d88ge7cbb860e703b737@mail.gmail.com>
References:  <539c60b90901191200n66f37c76k749ebbb829378cb9@mail.gmail.com> <367b2c980901191308l474f2d88ge7cbb860e703b737@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/1/19 Olivier SMEDTS <olivier@gid0.org>:
> 2009/1/19 Steve Franks <bahamasfranks@gmail.com>:
>> I got me a port that just builds a single executable.  What's the
>> proper way to set up the port makefile to copy that to /usr/local/bin?
>
> I'd use :
>
> do-install:
> ${INSTALL_PROGRAM} ${WRKSRC}/program_name ${PREFIX}/bin/

and of course you must have "bin/program_name" in pkg-plist.

>>
>> Thanks,
>> Steve
>> _______________________________________________
>> freebsd-ports@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>>
>
>
>
> --
> Olivier Smedts                                                 _
>                                        ASCII ribbon campaign ( )
> e-mail: olivier@gid0.org        - against HTML email & vCards  X
> www: http://www.gid0.org    - against proprietary attachments / \
>
>  "Il y a seulement 10 sortes de gens dans le monde :
>  ceux qui comprennent le binaire,
>  et ceux qui ne le comprennent pas."
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?367b2c980901191309k2198f14ak288590cfe9e3d320>