1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Changeset 11828

Show
Ignore:
Timestamp:
12/07/10 21:32:35 (2 years ago)
Author:
gadavis
Message:

add init script

Location:
csw/mgar/pkg/freeradius/trunk
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • csw/mgar/pkg/freeradius/trunk/Makefile

    r11824 r11828  
    1010MASTER_SITES = ftp://ftp.freeradius.org:/pub/freeradius/ 
    1111DISTFILES  = $(GARNAME)-server-$(GARVERSION).tar.gz 
     12DISTFILES += cswfreeradius 
    1213DISTNAME = $(GARNAME)-server-$(GARVERSION) 
    1314 
     
    142143INSTALL_ARGS += R=$(DESTDIR) 
    143144 
     145INITSMF = /etc/opt/csw/init.d/cswapache2 
     146 
    144147include gar/category.mk 
    145148 
    146149PATH := /opt/csw/gnu:$(PATH) 
     150 
     151post-install-modulated: copy-local-files 
     152 
     153# Copy in specialized templates 
     154copy-local-files: 
     155        @ginstall -d $(DESTDIR)/etc/opt/csw/init.d 
     156        @ginstall $(WORKDIR)/cswfreeradius $(DESTDIR)/etc/opt/csw/init.d 
     157        @$(MAKECOOKIE)