how to install a port without install: in the Makefile

Olivier SMEDTS olivier at gid0.org
Mon Jan 19 13:27:38 PST 2009


2009/1/19 Olivier SMEDTS <olivier at gid0.org>:
> 2009/1/19 Steve Franks <bahamasfranks at 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>
>
>
>
> --
> Olivier Smedts                                                 _
>                                        ASCII ribbon campaign ( )
> e-mail: olivier at 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 at 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."


More information about the freebsd-ports mailing list