[csw-devel] SF.net SVN: gar:[14315] csw/mgar/pkg/cpan/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Mon Apr 18 12:03:18 CEST 2011
Revision: 14315
http://gar.svn.sourceforge.net/gar/?rev=14315&view=rev
Author: dmichelsen
Date: 2011-04-18 10:03:17 +0000 (Mon, 18 Apr 2011)
Log Message:
-----------
mGAR v2: Update newpkg-* for new perl module naming
Modified Paths:
--------------
csw/mgar/pkg/cpan/Makefile
Modified: csw/mgar/pkg/cpan/Makefile
===================================================================
--- csw/mgar/pkg/cpan/Makefile 2011-04-18 09:36:07 UTC (rev 14314)
+++ csw/mgar/pkg/cpan/Makefile 2011-04-18 10:03:17 UTC (rev 14315)
@@ -32,7 +32,8 @@
# Ideally this would also figure out the AUTHOR by querying CPAN. Alternatively
# we might think about dropping the AUTHOR field and determine that on the fly
# during the build. Ideas?
-newpkg-%: catalogname = $(shell echo $(call lcase,$*) | tr -d ':-' )
+newpkg-%: catalogname = $(call lcase,$(subst ::,_,$*))
+newpkg-%: pkgname = $(call lcase,$(subst ::,-,$*))
newpkg-%: dir = $(subst ::,-,$*)
newpkg-%:
@svn mkdir $(dir) $(dir)/tags $(dir)/branches $(dir)/trunk $(dir)/trunk/files
@@ -46,7 +47,7 @@
echo " Long description"; \
echo "endef"; \
echo ""; \
- echo "PACKAGES = CSWpm$(catalogname)"; \
+ echo "PACKAGES = CSWpm-$(pkgname)"; \
echo "CATALOGNAME = pm_$(catalogname)"; \
echo ""; \
echo "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