[csw-devel] SF.net SVN: gar:[18905] csw/mgar/gar/v2/categories

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Aug 9 12:47:49 CEST 2012


Revision: 18905
          http://gar.svn.sourceforge.net/gar/?rev=18905&view=rev
Author:   dmichelsen
Date:     2012-08-09 10:47:49 +0000 (Thu, 09 Aug 2012)
Log Message:
-----------
mGAR v2: Throw out unused ENABLE_TEST, make cpan category more usable by using DISTNAME and making DISTFILES a conditional set

Modified Paths:
--------------
    csw/mgar/gar/v2/categories/cpan/category.mk
    csw/mgar/gar/v2/categories/rbgems/category.mk

Modified: csw/mgar/gar/v2/categories/cpan/category.mk
===================================================================
--- csw/mgar/gar/v2/categories/cpan/category.mk	2012-08-08 13:09:13 UTC (rev 18904)
+++ csw/mgar/gar/v2/categories/cpan/category.mk	2012-08-09 10:47:49 UTC (rev 18905)
@@ -3,20 +3,16 @@
 MASTER_SITES ?= $(CPAN_MIRRORS)
 
 # This is common to most modules - override in module makefile if different
-MODDIST   ?= $(NAME)-$(VERSION).tar.gz
-DISTFILES += $(MODDIST)
+MODDIST   ?= $(DISTNAME).tar.gz
+DISTFILES ?= $(MODDIST)
 CHECKPATH ?= $(firstword $(CPAN_MIRRORS))
 
 # Tests are enabled by default, unless overridden at the test level
-ENABLE_TEST ?= 1
 TEST_TARGET ?= test
 
 # Test target is test by default (in CPAN category)
 TEST_TARGET ?= test
 
-# Every CPAN module depends on Perl
-#DEPENDS += lang/perl
-
 # Build also for 64 bit Perl by default
 BUILD64 ?= $(if $(shell if test -f $(bindir_install)/$(ISA_DEFAULT64)/perl; then echo perl64; fi),1)
 

Modified: csw/mgar/gar/v2/categories/rbgems/category.mk
===================================================================
--- csw/mgar/gar/v2/categories/rbgems/category.mk	2012-08-08 13:09:13 UTC (rev 18904)
+++ csw/mgar/gar/v2/categories/rbgems/category.mk	2012-08-09 10:47:49 UTC (rev 18905)
@@ -24,9 +24,6 @@
 
 # GEM_DEPENDENCY_PKGS ?= $(RUNTIME_DEP_PKGS_CSWgem-$(GEMPKGNAME))
 
-# Tests are enabled by default, unless overridden at the test level
-ENABLE_TEST ?= 1
-
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX ?= $(GEMNAME)-(\d+(?:\.\d+)*).gem
 USTREAM_MASTER_SITE ?= $(SPKG_SOURCEURL)

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