[csw-devel] SF.net SVN: gar:[2577] csw/mgar/pkg/docbook-dtds/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Dec 14 03:04:11 CET 2008


Revision: 2577
          http://gar.svn.sourceforge.net/gar/?rev=2577&view=rev
Author:   bdwalton
Date:     2008-12-14 02:04:11 +0000 (Sun, 14 Dec 2008)

Log Message:
-----------
working build under gar v2

Modified Paths:
--------------
    csw/mgar/pkg/docbook-dtds/trunk/Makefile
    csw/mgar/pkg/docbook-dtds/trunk/checksums

Property Changed:
----------------
    csw/mgar/pkg/docbook-dtds/trunk/


Property changes on: csw/mgar/pkg/docbook-dtds/trunk
___________________________________________________________________
Modified: svn:externals
   - gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v1

   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Modified: csw/mgar/pkg/docbook-dtds/trunk/Makefile
===================================================================
--- csw/mgar/pkg/docbook-dtds/trunk/Makefile	2008-12-13 22:13:18 UTC (rev 2576)
+++ csw/mgar/pkg/docbook-dtds/trunk/Makefile	2008-12-14 02:04:11 UTC (rev 2577)
@@ -9,10 +9,11 @@
 
 GARNAME = docbookdtds
 GARVERSION = 1.0
+
 PATCHLEVEL = 30.1
 CATEGORIES = xtra
 
-PREREQUISITES = CSWunzip
+REQUIRED_PKGS = CSWsgmlcommon CSWxmlcommon CSWopenjade CSWlibxml2
 
 DESCRIPTION = SGML and XML document type definitions for DocBook.
 define BLURB
@@ -56,7 +57,7 @@
 
 MASTER_SITES = $(O_SRC) $(D_SRC)
 DISTFILES  = $(DBFILES) Makefile
-DISTFILES += $(call admfiles,CSWdocbookdtds,depend postinstall preremove)
+DISTFILES += $(call admfiles,CSWdocbookdtds,postinstall preremove)
 
 PATCHFILES = docbook-4.2-euro.patch docbook-dtd30-sgml-1.0.catalog.patch
 PATCHFILES += docbook-dtd31-sgml-1.0.catalog.patch
@@ -77,73 +78,68 @@
 
 include gar/category.mk
 
-SGMLDIRS = 3.0 3.1 4.0 4.1 4.2 4.3 4.4
-XMLDIRS = 4.1.2 4.2 4.3 4.4
-	
-
 # ok, for each source, we make an explicit target that overrides the implicit
 # zip-extract-% targets in GAR.
-zip-extract-docbk30.zip: 
+zip-extract-docbk30.zip:
+	ginstall -d $(WORKSRC)/3.0-sgml
 	unzip $(DOWNLOADDIR)/docbk30.zip -d $(WORKSRC)/3.0-sgml
 	@$(MAKECOOKIE)
 
 zip-extract-docbk31.zip: 
+	ginstall -d $(WORKSRC)/3.1-sgml
 	unzip $(DOWNLOADDIR)/docbk31.zip -d $(WORKSRC)/3.1-sgml
 	@$(MAKECOOKIE)
 
 zip-extract-docbk40.zip:
+	ginstall -d $(WORKSRC)/4.0-sgml
 	unzip $(DOWNLOADDIR)/docbk40.zip -d $(WORKSRC)/4.0-sgml
 	@$(MAKECOOKIE)
 
 zip-extract-docbk41.zip:
+	ginstall -d $(WORKSRC)/4.1-sgml
 	unzip $(DOWNLOADDIR)/docbk41.zip -d $(WORKSRC)/4.1-sgml
 	@$(MAKECOOKIE)
 
 zip-extract-docbook-4.2.zip:
+	ginstall -d $(WORKSRC)/4.2-sgml
 	unzip $(DOWNLOADDIR)/docbook-4.2.zip -d $(WORKSRC)/4.2-sgml
 	@$(MAKECOOKIE)
 
-zip-extract-docbkx412.zip:	
+zip-extract-docbkx412.zip:
+	ginstall -d $(WORKSRC)/4.1.2-xml
 	unzip $(DOWNLOADDIR)/docbkx412.zip -d $(WORKSRC)/4.1.2-xml
 	@$(MAKECOOKIE)
 
 
 zip-extract-docbook-4.3.zip:
+	ginstall -d $(WORKSRC)/4.3-sgml
 	unzip $(DOWNLOADDIR)/docbook-4.3.zip -d $(WORKSRC)/4.3-sgml
 	@$(MAKECOOKIE)
 
 zip-extract-docbook-4.4.zip:
+	ginstall -d $(WORKSRC)/4.4-sgml
 	unzip $(DOWNLOADDIR)/docbook-4.4.zip -d $(WORKSRC)/4.4-sgml
 	@$(MAKECOOKIE)
 
 zip-extract-docbook-xml-4.2.zip:
+	ginstall -d $(WORKSRC)/4.2-xml
 	unzip $(DOWNLOADDIR)/docbook-xml-4.2.zip -d $(WORKSRC)/4.2-xml
 	@$(MAKECOOKIE)
 
 zip-extract-docbook-xml-4.3.zip:
+	ginstall -d $(WORKSRC)/4.3-xml
 	unzip $(DOWNLOADDIR)/docbook-xml-4.3.zip -d $(WORKSRC)/4.3-xml
 	@$(MAKECOOKIE)
 
 zip-extract-docbook-xml-4.4.zip:
+	ginstall -d $(WORKSRC)/4.4-xml
 	unzip $(DOWNLOADDIR)/docbook-xml-4.4.zip -d $(WORKSRC)/4.4-xml
 	@$(MAKECOOKIE)
 
-# we override extract for our needs...man this is horrible! (note the cookie
-# madness)
-pre-extract: $(WORKSRC)
-	( cd $(WORKSRC); \
-	for d in $(SGMLDIRS); do \
-		[ -d $$d-sgml ] || mkdir $$d-sgml; \
-	done; \
-	for d in $(XMLDIRS); do \
-		[ -d $$d-xml ] || mkdir $$d-xml; \
-	done )
-	@$(MAKECOOKIE)
-
 post-extract:
 	# Increase NAMELEN (bug #36058, bug #159382). [bug references from
 	# rpm .spec file]
-	( cd $(WORKSRC); \
+	( cd $(WORKSRC_FIRSTMOD); \
 		gsed -e's,\(NAMELEN\s\+\)44\(\s\*\)\?,\1256,' -i.namelen */docbook.dcl; \
 		cp ../Makefile .)
-	@$(MAKECOOKIE)
\ No newline at end of file
+	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/docbook-dtds/trunk/checksums
===================================================================
--- csw/mgar/pkg/docbook-dtds/trunk/checksums	2008-12-13 22:13:18 UTC (rev 2576)
+++ csw/mgar/pkg/docbook-dtds/trunk/checksums	2008-12-14 02:04:11 UTC (rev 2577)
@@ -11,7 +11,6 @@
 cbb04e9a700955d88c50962ef22c1634  download/docbook-xml-4.4.zip
 e5318114e6c751a9e0835d7711275e13  download/Makefile
 536104a1ab1e8eac583cf27f4f8844a4  download/CSWdocbookdtds.gspec
-cb6dbfe9f6184a9de0725c0a61adc57b  download/CSWdocbookdtds.depend
 95eb4822347e50556398f4a11ee95097  download/CSWdocbookdtds.postinstall
 9035c448e6480f6e916084fea388b512  download/CSWdocbookdtds.preremove
 318742d3a6648a6905727f071cbc9847  download/docbook-4.2-euro.patch


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