Revision: 3675
          http://gar.svn.sourceforge.net/gar/?rev=3675&view=rev
Author:   hson
Date:     2009-03-09 02:59:43 +0000 (Mon, 09 Mar 2009)

Log Message:
-----------
htmldoc: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/htmldoc/
    csw/mgar/pkg/htmldoc/branches/
    csw/mgar/pkg/htmldoc/tags/
    csw/mgar/pkg/htmldoc/trunk/
    csw/mgar/pkg/htmldoc/trunk/Makefile
    csw/mgar/pkg/htmldoc/trunk/checksums
    csw/mgar/pkg/htmldoc/trunk/files/
    csw/mgar/pkg/htmldoc/trunk/files/mainpatch


Property changes on: csw/mgar/pkg/htmldoc/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


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


Added: csw/mgar/pkg/htmldoc/trunk/Makefile
===================================================================
--- csw/mgar/pkg/htmldoc/trunk/Makefile                         (rev 0)
+++ csw/mgar/pkg/htmldoc/trunk/Makefile 2009-03-09 02:59:43 UTC (rev 3675)
@@ -0,0 +1,34 @@
+GARNAME = htmldoc
+GARVERSION = 1.8.27
+CATEGORIES = apps
+
+DESCRIPTION = converts HTML files and web pages into indexed HTML PostScript 
and PDF
+define BLURB
+       HTMLDOC converts Hyper-Text Markup Language ("HTML") files and web 
pages into
+       indexed HTML, Adobe\xAE PostScript\xAE, or Adobe Portable Document 
Format ("PDF")
+       files.
+endef
+
+MASTER_SITES = http://ftp.easysw.com/pub/htmldoc/$(GARVERSION)/
+DISTFILES  = $(GARNAME)-$(GARVERSION)-source.tar.bz2
+
+SPKG_SOURCEURL = http://www.htmldoc.org
+
+LICENSE = COPYING.txt
+
+REQUIRED_PKGS = CSWjpeg CSWosslrt CSWpng CSWzlib
+
+# We define upstream file regex so we can be notifed of new upstream software 
release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*)-source.tar.bz2
+
+# If the url used to check for software update is different of MASTER_SITES, 
then 
+# uncomment the next line. Otherwise it is set by default to the value of 
MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+PATCHFILES = mainpatch
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+TEST_SCRIPTS =
+
+include gar/category.mk

Added: csw/mgar/pkg/htmldoc/trunk/checksums
===================================================================
--- csw/mgar/pkg/htmldoc/trunk/checksums                                (rev 0)
+++ csw/mgar/pkg/htmldoc/trunk/checksums        2009-03-09 02:59:43 UTC (rev 
3675)
@@ -0,0 +1,2 @@
+35589e7b8fe9c54e11be87cd5aec4dcc  download/htmldoc-1.8.27-source.tar.bz2
+b44e823414126306dd5c8d222065e00c  download/mainpatch

Added: csw/mgar/pkg/htmldoc/trunk/files/mainpatch
===================================================================
--- csw/mgar/pkg/htmldoc/trunk/files/mainpatch                          (rev 0)
+++ csw/mgar/pkg/htmldoc/trunk/files/mainpatch  2009-03-09 02:59:43 UTC (rev 
3675)
@@ -0,0 +1,103 @@
+diff --speed-large-files --minimal -ru htmldoc-1.8.27.orig/configure 
htmldoc-1.8.27/configure
+--- htmldoc-1.8.27.orig/configure      2006-08-02 21:36:56.000000000 +0200
++++ htmldoc-1.8.27/configure   2009-03-09 00:49:13.000000000 +0100
+@@ -6106,7 +6106,7 @@
+           ;;
+       SunOS*)
+                   if test -z "$OPTIM"; then
+-              OPTIM="-xO4 -xarch=generic"
++              OPTIM="-xO4"
+           fi
+           ;;
+       UNIX_SV*)
+diff --speed-large-files --minimal -ru htmldoc-1.8.27.orig/data/Makefile 
htmldoc-1.8.27/data/Makefile
+--- htmldoc-1.8.27.orig/data/Makefile  2004-05-10 03:14:53.000000000 +0200
++++ htmldoc-1.8.27/data/Makefile       2009-03-08 20:14:12.000000000 +0100
+@@ -53,11 +53,11 @@
+ #
+ 
+ install:
+-      if [ ! -d $(datadir)/htmldoc/data ]; then\
+-              $(MKDIR) $(datadir)/htmldoc/data;\
++      if [ ! -d $(DESTDIR)$(datadir)/htmldoc/data ]; then\
++              $(MKDIR) $(DESTDIR)$(datadir)/htmldoc/data;\
+       fi
+-      $(CP) $(FILES) $(datadir)/htmldoc/data
+-      $(CHMOD) ugo+r $(datadir)/htmldoc/data/*
++      $(CP) $(FILES) $(DESTDIR)$(datadir)/htmldoc/data
++      $(CHMOD) ugo+r $(DESTDIR)$(datadir)/htmldoc/data/*
+ 
+ 
+ #
+diff --speed-large-files --minimal -ru htmldoc-1.8.27.orig/doc/Makefile 
htmldoc-1.8.27/doc/Makefile
+--- htmldoc-1.8.27.orig/doc/Makefile   2005-10-28 22:32:59.000000000 +0200
++++ htmldoc-1.8.27/doc/Makefile        2009-03-08 20:14:12.000000000 +0100
+@@ -57,16 +57,16 @@
+ #
+ 
+ install: $(DOCUMENTS)
+-      if [ ! -d $(datadir)/doc/htmldoc ]; then\
+-              $(MKDIR) $(datadir)/doc/htmldoc;\
++      if [ ! -d $(DESTDIR)$(datadir)/doc/htmldoc ]; then\
++              $(MKDIR) $(DESTDIR)$(datadir)/doc/htmldoc;\
+       fi
+-      $(CP) $(DOCFILES) $(datadir)/doc/htmldoc
+-      $(CHMOD) ugo+r $(datadir)/doc/htmldoc/*
+-      if [ ! -d $(mandir)/man1 ]; then\
+-              $(MKDIR) $(mandir)/man1;\
++      $(CP) $(DOCFILES) $(DESTDIR)$(datadir)/doc/htmldoc
++      $(CHMOD) ugo+r $(DESTDIR)$(datadir)/doc/htmldoc/*
++      if [ ! -d $(DESTDIR)$(mandir)/man1 ]; then\
++              $(MKDIR) $(DESTDIR)$(mandir)/man1;\
+       fi
+-      $(CP) htmldoc.man $(mandir)/man1/htmldoc.1
+-      $(CHMOD) ugo+r $(mandir)/man1/htmldoc.1
++      $(CP) htmldoc.man $(DESTDIR)$(mandir)/man1/htmldoc.1
++      $(CHMOD) ugo+r $(DESTDIR)$(mandir)/man1/htmldoc.1
+ 
+ 
+ #
+diff --speed-large-files --minimal -ru htmldoc-1.8.27.orig/fonts/Makefile 
htmldoc-1.8.27/fonts/Makefile
+--- htmldoc-1.8.27.orig/fonts/Makefile 2005-10-28 22:32:59.000000000 +0200
++++ htmldoc-1.8.27/fonts/Makefile      2009-03-08 20:14:12.000000000 +0100
+@@ -74,15 +74,15 @@
+ #
+ 
+ install:
+-      echo "Installing font files in $(datadir)/htmldoc/fonts..."
+-      if [ ! -d $(datadir)/htmldoc/fonts ]; then\
+-              $(MKDIR) $(datadir)/htmldoc/fonts;\
++      echo "Installing font files in $(DESTDIR)$(datadir)/htmldoc/fonts..."
++      if [ ! -d $(DESTDIR)$(datadir)/htmldoc/fonts ]; then\
++              $(MKDIR) $(DESTDIR)$(datadir)/htmldoc/fonts;\
+       fi
+       for font in $(FONTS); do \
+-              $(CP) $$font.afm $(datadir)/htmldoc/fonts; \
+-              $(CP) $$font.pfa $(datadir)/htmldoc/fonts; \
++              $(CP) $$font.afm $(DESTDIR)$(datadir)/htmldoc/fonts; \
++              $(CP) $$font.pfa $(DESTDIR)$(datadir)/htmldoc/fonts; \
+       done
+-      $(CHMOD) ugo+r $(datadir)/htmldoc/fonts/*
++      $(CHMOD) ugo+r $(DESTDIR)$(datadir)/htmldoc/fonts/*
+ 
+ 
+ #
+diff --speed-large-files --minimal -ru htmldoc-1.8.27.orig/htmldoc/Makefile 
htmldoc-1.8.27/htmldoc/Makefile
+--- htmldoc-1.8.27.orig/htmldoc/Makefile       2005-10-28 22:32:59.000000000 
+0200
++++ htmldoc-1.8.27/htmldoc/Makefile    2009-03-08 20:14:12.000000000 +0100
+@@ -50,11 +50,11 @@
+ #
+ 
+ install:      all
+-      if [ ! -d $(bindir) ]; then\
+-              $(MKDIR) $(bindir);\
++      if [ ! -d $(DESTDIR)$(bindir) ]; then\
++              $(MKDIR) $(DESTDIR)$(bindir);\
+       fi
+-      cp htmldoc$(EXEEXT) $(bindir)
+-      chmod ugo+rx $(bindir)/htmldoc$(EXEEXT)
++      cp htmldoc$(EXEEXT) $(DESTDIR)$(bindir)
++      chmod ugo+rx $(DESTDIR)$(bindir)/htmldoc$(EXEEXT)
+ 
+ 
+ #


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel

Reply via email to