[csw-devel] SF.net SVN: gar:[2515] csw/mgar/pkg/Makefile

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Wed Dec 10 23:56:06 CET 2008


Revision: 2515
          http://gar.svn.sourceforge.net/gar/?rev=2515&view=rev
Author:   wbonnet
Date:     2008-12-10 22:56:06 +0000 (Wed, 10 Dec 2008)

Log Message:
-----------
Add the generation of the UFILES_REGEX in the Makefile

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

Modified: csw/mgar/pkg/Makefile
===================================================================
--- csw/mgar/pkg/Makefile	2008-12-10 22:34:46 UTC (rev 2514)
+++ csw/mgar/pkg/Makefile	2008-12-10 22:56:06 UTC (rev 2515)
@@ -53,28 +53,35 @@
 
 newpkg-%:
 	@svn mkdir $* $*/tags $*/branches $*/trunk $*/trunk/files
-	@(echo "GARNAME = package";                                     \
-	echo "GARVERSION = 1.0";                                        \
-	echo "CATEGORIES = category";                                   \
-	echo "";                                                        \
-	echo "DESCRIPTION = Brief description";                         \
-	echo "define BLURB";                                            \
-	echo "  Long description";                                      \
-	echo "endef";                                                   \
-	echo "";                                                        \
-	echo "MASTER_SITES = ";                                         \
-	echo "DISTFILES  = $$(GARNAME)-$$(GARVERSION).tar.gz";          \
-	echo "DISTFILES += $$(call admfiles,CSWpackage,)";              \
-	echo "";                                                        \
-	echo "CONFIGURE_ARGS = $$(DIRPATHS)";                           \
-	echo "";                                                        \
-	echo "include gar/category.mk";                                 \
+	@(echo "GARNAME = package";                                     								\
+	echo "GARVERSION = 1.0";                                        								\
+	echo "CATEGORIES = category";                                   								\
+	echo "";                                                        								\
+	echo "DESCRIPTION = Brief description";                         								\
+	echo "define BLURB";                                            								\
+	echo "  Long description";                                      								\
+	echo "endef";                                                   								\
+	echo "";                                                        								\
+	echo "MASTER_SITES = ";                                         								\
+	echo "DISTFILES  = $$(GARNAME)-$$(GARVERSION).tar.gz";          								\
+	echo "DISTFILES += $$(call admfiles,CSWpackage,)";              								\
+	echo "";                                                        								\
+	echo "# We define upstream file regex so we can be notifed of new upstream software release";  	\
+	echo "UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz";										\
+	echo "";                                                        								\
+	echo "# If the url used to check for software update is different of MASTER_SITES, then ";   	\
+	echo "# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES"; 	\
+	echo "# UPSTREAM_MASTER_SITES = ";                                         						\
+	echo "";                                                        								\
+	echo "CONFIGURE_ARGS = $$(DIRPATHS)";                          									\
+	echo "";                                                        								\
+	echo "include gar/category.mk";                                 								\
 	) > $*/trunk/Makefile
 	@svn add $*/trunk/Makefile
-	@(echo "%var            bitname package";                       \
-	echo "%var            pkgname CSWpackage";                      \
-	echo "%include        url file://%{PKGLIB}/csw_dyndepend.gspec";\
-	echo "%copyright      url file://%{WORKSRC}/LICENSE";           \
+	@(echo "%var            bitname package";                       								\
+	echo "%var            pkgname CSWpackage";                      								\
+	echo "%include        url file://%{PKGLIB}/csw_dyndepend.gspec";								\
+	echo "%copyright      url file://%{WORKSRC}/LICENSE";           								\
 	) > $*/trunk/files/CSWpackage.gspec
 	@echo "cookies\ndownload\nwork\n" | svn propset svn:ignore -F /dev/fd/0 $*/trunk
 	@echo "gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v1" | svn propset svn:externals -F /dev/fd/0 $*/trunk


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