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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Jan 5 15:09:36 CET 2010


Revision: 7877
          http://gar.svn.sourceforge.net/gar/?rev=7877&view=rev
Author:   wahwah
Date:     2010-01-05 14:09:35 +0000 (Tue, 05 Jan 2010)

Log Message:
-----------
wgetpaste: Removed double depends, simplified cswsampleconf invocation, removed unnecessary bits

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

Modified: csw/mgar/pkg/wgetpaste/trunk/Makefile
===================================================================
--- csw/mgar/pkg/wgetpaste/trunk/Makefile	2010-01-05 14:01:04 UTC (rev 7876)
+++ csw/mgar/pkg/wgetpaste/trunk/Makefile	2010-01-05 14:09:35 UTC (rev 7877)
@@ -12,10 +12,11 @@
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.bz2
 DISTFILES += wgetpaste.conf
 
-# We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
 
-REQUIRED_PKGS = CSWshutils CSWwget CSWcswclassutils CSWbash
+REQUIRED_PKGS  = CSWbash
+REQUIRED_PKGS += CSWshutils
+REQUIRED_PKGS += CSWwget
 
 PATCHFILES  = 0001-Using-gwhoami-instead-of-whoami.patch
 PATCHFILES += 0002-CSW-bash.patch
@@ -24,23 +25,18 @@
 
 sysconfdir = /etc/opt/csw
 
-SPKG_CLASSES = none cswcpsampleconf
-PROTOTYPE_FILTER  = awk ' \
-  $$$$3 ~ /\/wgetpaste.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } \
-  { print }'
+SAMPLECONF = /etc/opt/csw/wgetpaste\.conf\.CSW
 
-
-CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_SCRIPTS =
 BUILD_SCRIPTS =
 INSTALL_SCRIPTS = wgetpaste
 TEST_SCRIPTS =
 
+include gar/category.mk
+
 install-wgetpaste:
 	ginstall -d $(DESTDIR)$(bindir)
 	ginstall -m 755 $(WORKSRC)/wgetpaste $(DESTDIR)$(bindir)
 	ginstall -d $(DESTDIR)$(sysconfdir)
 	ginstall -m 644 $(FILEDIR)/wgetpaste.conf $(DESTDIR)$(sysconfdir)/wgetpaste.conf.CSW
 	@$(MAKECOOKIE)
-
-include gar/category.mk


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