[csw-devel] SF.net SVN: gar:[10796] csw/mgar/pkg/adobereader/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Aug 23 15:32:19 CEST 2010


Revision: 10796
          http://gar.svn.sourceforge.net/gar/?rev=10796&view=rev
Author:   dmichelsen
Date:     2010-08-23 13:32:18 +0000 (Mon, 23 Aug 2010)

Log Message:
-----------
adobereader: Add sparc version

Modified Paths:
--------------
    csw/mgar/pkg/adobereader/trunk/Makefile
    csw/mgar/pkg/adobereader/trunk/checksums

Modified: csw/mgar/pkg/adobereader/trunk/Makefile
===================================================================
--- csw/mgar/pkg/adobereader/trunk/Makefile	2010-08-23 12:49:42 UTC (rev 10795)
+++ csw/mgar/pkg/adobereader/trunk/Makefile	2010-08-23 13:32:18 UTC (rev 10796)
@@ -1,15 +1,20 @@
 # $Id$
 GARNAME = adobereader
-GARVERSION = 9.3.4
+GARVERSION_sparc = 8.1.7
+GARVERSION_i386 = 9.3.4
+GARVERSION = $(GARVERSION_$(GARCH))
 CATEGORIES = apps
 
 DESCRIPTION = Adobe Acrobat Reader
 define BLURB
-  Long description
 endef
 
-MASTER_SITES = ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/$(GARVERSION)/enu/
-DISTFILES  = AdbeRdr$(GARVERSION)-1_i486solaris_enu.tar.bz2
+MASTER_SITES  = ftp://ftp.adobe.com/pub/adobe/reader/unix/$(shell echo $(GARVERSION_sparc) | cut -d. -f1).x/$(GARVERSION_sparc)/enu/
+MASTER_SITES += ftp://ftp.adobe.com/pub/adobe/reader/unix/$(shell echo $(GARVERSION_i386) | cut -d. -f1).x/$(GARVERSION_i386)/enu/
+DISTFILES_sparc  = AdobeReader_enu-$(GARVERSION_sparc)-1.sparc.tar.bz2
+DISTFILES_i386  = AdbeRdr$(GARVERSION_i386)-1_i486solaris_enu.tar.bz2
+DISTFILES = $(DISTFILES_sparc) $(DISTFILES_i386)
+NOEXTRACT = $(filter-out $(DISTFILES_$(GARCH)),$(DISTFILES))
 DISTNAME = AdobeReader
 
 # File name regex to get notifications about upstream software releases
@@ -39,3 +44,16 @@
 	ginstall -d $(DESTDIR)$(bindir)
 	ln -s ../share/Adobe/Reader9/bin/acroread $(DESTDIR)$(bindir)/acroread
 	@$(MAKECOOKIE)
+
+post-install-modulated:
+	cd $(DESTDIR); find . -type d -name "* *" | \
+	while read F; do \
+		N=`echo $$F | tr ' ' '_'`; \
+		mv "$$F" $$N; \
+	done;
+	cd $(DESTDIR); find . -type f -name "* *" | \
+	while read F; do \
+		N=`echo $$F | tr ' ' '_'`; \
+		mv "$$F" $$N; \
+	done;
+	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/adobereader/trunk/checksums
===================================================================
--- csw/mgar/pkg/adobereader/trunk/checksums	2010-08-23 12:49:42 UTC (rev 10795)
+++ csw/mgar/pkg/adobereader/trunk/checksums	2010-08-23 13:32:18 UTC (rev 10796)
@@ -1 +1,2 @@
 e9148b76a646d43aae30457dceeaee37  AdbeRdr9.3.4-1_i486solaris_enu.tar.bz2
+44aea1ffcf857b2ef8ed36a659b32390  AdobeReader_enu-8.1.7-1.sparc.tar.bz2


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