how to install a port without install: in the Makefile

Olivier SMEDTS olivier at gid0.org
Mon Jan 19 13:30:31 PST 2009


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/

>
> 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."


More information about the freebsd-ports mailing list