Installing executables with generic names

Michael Scheidell scheidell at freebsd.org
Tue Feb 14 15:25:22 UTC 2012



On 2/14/12 8:26 AM, Mikhail T. wrote:
> Hello!
>
> I'm preparing a new port (net/udt), which installs a library with its 
> header file and a handful of sample applications.
>

>  * use a port-specific subdirectory: ${PREFIX}/bin/udt/ (lua seems to
>    do this)
>
EXAMPLESDIR

In your port dir, type:

make -V EXAMPLESDIR


you can put them there if you like.

(don't forget pkg-plist:  %%EXAMPLESDIR%% already trimmed for %%PREFIX%%)


> The first is simpler for me, but might be a trouble for anyone porting 
> a script in the future, which calls the binaries by their generic name...
>
> Opinions? Thanks! Yours,
>
>    -mi
>
> _______________________________________________
> 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"

-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
 >*| *SECNAP Network Security Corporation

    * Best Mobile Solutions Product of 2011
    * Best Intrusion Prevention Product
    * Hot Company Finalist 2011
    * Best Email Security Product
    * Certified SNORT Integrator



More information about the freebsd-ports mailing list