On Thu, 29 Jul 2004 10:39:33 +0200, Oliver Eikemeier <eikemeier_at_fillmore-labs.com> wrote: > The bsd.port.mk integration might be something like > > RC_SCRIPTS= apache > > which will install `apache' or `apache.sh' depending on OSVERSION. A > variable RC_SUFX is set that could be used in pkg-message or other > places when necessary. > You read my bsd.port.mk :-). I have already created the above in my bsd.port.mk in the begining of the year. Except that I have it setup as: RC_SCRIPTS= script1 script2:0000 script3:0001 Then depending on OSVERSION the scripts are installed as: etc/rc.d/script1.sh etc/rc.d/0000.script2.sh etc/rc.d/0001.script3.sh or on FreeBSD 5.x + etc/rc.d/script1{.sh,} etc/rc.d/script2{.sh,} etc/rc.d/script3{.sh,} Currently, I have the removal of ".sh" set for FreeBSD 6.x in my bsd.port.mk. ScotReceived on Sat Jul 31 2004 - 00:22:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC