[csw-devel] SF.net SVN: gar:[3790] csw/mgar/pkg/facter/trunk/Makefile

hson at users.sourceforge.net hson at users.sourceforge.net
Tue Mar 17 07:57:36 CET 2009


Revision: 3790
          http://gar.svn.sourceforge.net/gar/?rev=3790&view=rev
Author:   hson
Date:     2009-03-17 06:57:36 +0000 (Tue, 17 Mar 2009)

Log Message:
-----------
facter: Makefile update

Modified Paths:
--------------
    csw/mgar/pkg/facter/trunk/Makefile

Modified: csw/mgar/pkg/facter/trunk/Makefile
===================================================================
--- csw/mgar/pkg/facter/trunk/Makefile	2009-03-17 03:55:57 UTC (rev 3789)
+++ csw/mgar/pkg/facter/trunk/Makefile	2009-03-17 06:57:36 UTC (rev 3790)
@@ -4,12 +4,20 @@
 
 DESCRIPTION =	a system fact gatherer
 define BLURB
-  Long description
+	A cross-platform Ruby library for retrieving facts from operating systems.
+	Supports multiple resolution mechanisms, any of which can be restricted to
+	working only on certain operating systems or environments. Facter is
+	especially useful for retrieving things like operating system names, IP
+	addresses, MAC addresses, and SSH keys.
+
+	It is easy to extend Facter to include your own custom facts or to include
+	additional mechanisms for retrieving facts.
 endef
 
 MASTER_SITES = http://reductivelabs.com/downloads/facter/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tgz
 
+PREREQUISITE_PKGS += CSWruby
 REQUIRED_PKGS = CSWruby
 
 # We define upstream file regex so we can be notifed of new upstream software release
@@ -17,22 +25,12 @@
 
 ARCHALL=1
 
-CONFIGURE_SCRIPTS = none
-BUILD_SCRIPTS     = none
-TEST_SCRIPTS      = none
+CONFIGURE_SCRIPTS = 
+BUILD_SCRIPTS     = 
+TEST_SCRIPTS      = 
 INSTALL_SCRIPTS   = facter
 
 include gar/category.mk
 
-configure-none:
-	@$(MAKECOOKIE)
-
-test-none:
-	@$(MAKECOOKIE)
-
-build-none:
-	@$(MAKECOOKIE)
-
 install-facter:
-	@ginstall -d $(DESTDIR)
-	(cd $(WORKDIR)/$(DISTNAME); DESTDIR=$(DESTDIR) ruby install.rb)
+	(cd $(WORKDIR)/$(DISTNAME); ruby install.rb --destdir=$(DESTDIR))


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list