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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sat May 9 17:22:10 CEST 2009


Revision: 4785
          http://gar.svn.sourceforge.net/gar/?rev=4785&view=rev
Author:   dmichelsen
Date:     2009-05-09 15:22:09 +0000 (Sat, 09 May 2009)

Log Message:
-----------
mGAR v2: Enhance newpkg-% in x11-category

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

Modified: csw/mgar/pkg/x11/Makefile
===================================================================
--- csw/mgar/pkg/x11/Makefile	2009-05-09 09:56:33 UTC (rev 4784)
+++ csw/mgar/pkg/x11/Makefile	2009-05-09 15:22:09 UTC (rev 4785)
@@ -35,10 +35,9 @@
 	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 "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"; 	\
@@ -48,15 +47,15 @@
 	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";           \
-	) > $*/trunk/files/CSWpackage.gspec
+	@touch $*/trunk/checksums
+	@svn add $*/trunk/Makefile $*/trunk/checksums
 	@echo "cookies\ndownload\nwork\n" | svn propset svn:ignore -F /dev/fd/0 $*/trunk
 	@echo "gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2" | svn propset svn:externals -F /dev/fd/0 $*/trunk
-	@svn co https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2 $*/trunk/gar
+	@if [ -d ../../gar/v2 ]; then \
+	  ln -s ../../../../gar/v2 $*/trunk/gar; \
+	else \
+	  svn co https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2 $*/trunk/gar; \
+	fi
 	@echo
 	@echo "Your package is set up for editing at $*/trunk"
 	@echo "Please don't forget to add the gspec-file!"


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