[csw-devel] SF.net SVN: gar:[2373] csw/mgar/pkg/cpan/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Nov 27 23:48:30 CET 2008
Revision: 2373
http://gar.svn.sourceforge.net/gar/?rev=2373&view=rev
Author: dmichelsen
Date: 2008-11-27 22:48:30 +0000 (Thu, 27 Nov 2008)
Log Message:
-----------
mgar: Added custom Makefile for cpan
Modified Paths:
--------------
csw/mgar/pkg/cpan/Makefile
Modified: csw/mgar/pkg/cpan/Makefile
===================================================================
--- csw/mgar/pkg/cpan/Makefile 2008-11-27 22:36:59 UTC (rev 2372)
+++ csw/mgar/pkg/cpan/Makefile 2008-11-27 22:48:30 UTC (rev 2373)
@@ -1 +1,33 @@
-include ../Makefile
+default:
+ @echo "You are in the pkg/cpan directory."
+
+newpkg-%:
+ @svn mkdir $* $*/tags $*/branches $*/trunk $*/trunk/files
+ @(echo "GARNAME = My-Perl-Module"; \
+ echo "GARVERSION = 1.234"; \
+ echo "CATEGORIES = cpan"; \
+ echo "AUTHOR = CPAUTH"; \
+ echo ""; \
+ echo "DESCRIPTION = Brief description"; \
+ echo "define BLURB"; \
+ echo " Long description"; \
+ echo "endef"; \
+ echo ""; \
+ echo "DISTFILES += $$(call admfiles,CSWpmmyperlmod,)"; \
+ echo ""; \
+ echo "include gar/category.mk"; \
+ ) > $*/trunk/Makefile
+ @svn add $*/trunk/Makefile
+ @(echo "%var bitname pm_myperlmod"; \
+ echo "%var pkgname CSWpmmyperlmod"; \
+ echo "%var arch all"; \
+ echo "%include url file://%{PKGLIB}/csw_cpan.gspec"; \
+ echo "%copyright url file://%{WORKSRC}/COPYING"; \
+ ) > $*/trunk/files/CSWpmmyperlmod.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
+ @svn co https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v1 $*/trunk/gar
+ @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