Update of /cvsroot/fink/experimental/chris01/10.4/main/finkinfo/text
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv11231/text

Added Files:
        clearsilver-py.info clearsilver-py.patch 
Log Message:
Trying to bring these to the latest versions. However, clearsilver fails.


--- NEW FILE: clearsilver-py.patch ---
diff -ru clearsilver-0.10.3-orig/Makefile clearsilver-0.10.3/Makefile
--- clearsilver-0.10.3-orig/Makefile    2006-09-22 23:30:49.000000000 -0500
+++ clearsilver-0.10.3/Makefile 2006-09-22 23:32:22.000000000 -0500
@@ -39,16 +39,16 @@
        ./mkinstalldirs $(DESTDIR)$(cs_includedir)
        ./mkinstalldirs $(DESTDIR)$(bindir)
        ./mkinstalldirs $(DESTDIR)$(libdir)
-       ./mkinstalldirs $(DESTDIR)$(mandir)/man3
+       ./mkinstalldirs @INSTALLDIR@/@PREFIX@/share/man/man3
        $(INSTALL) -m 644 ClearSilver.h $(DESTDIR)$(cs_includedir)/
        $(INSTALL) -m 644 cs_config.h $(DESTDIR)$(cs_includedir)/
-       $(INSTALL) -m 644 man/man3/*.3 $(DESTDIR)$(mandir)/man3/
+       $(INSTALL) -m 644 man/man3/*.3 @INSTALLDIR@/@PREFIX@/share/man/man3/
        @for mdir in $(SUBDIRS); do \
          if test -d $$mdir; then \
            if test -f $$mdir/Makefile.PL -a ! -f $$mdir/Makefile; then \
              cd $$mdir; $(PERL) Makefile.PL; cd ..; \
            fi; \
-           $(MAKE) -C $$mdir PREFIX=$(prefix) install; \
+           $(MAKE) -C $$mdir PREFIX=$(prefix) SITEPREFIX=$(prefix) 
INSTALLSITEMAN3DIR=$(prefix)/share/man/man3 install; \
          fi; \
        done
 
diff -ru clearsilver-0.10.3-orig/python/Makefile 
clearsilver-0.10.3/python/Makefile
--- clearsilver-0.10.3-orig/python/Makefile     2006-09-22 23:30:48.000000000 
-0500
+++ clearsilver-0.10.3/python/Makefile  2006-09-22 23:33:21.000000000 -0500
@@ -41,8 +41,8 @@
                $(PYTHON_LIB) $(LIBS)
 
 install: all
-       $(NEOTONIC_ROOT)/mkinstalldirs $(DESTDIR)$(PYTHON_SITE)
-       $(INSTALL) $(TARGETS) $(DESTDIR)$(PYTHON_SITE)
+       $(NEOTONIC_ROOT)/mkinstalldirs @[EMAIL PROTECTED](PYTHON_SITE)
+       $(INSTALL) $(TARGETS) @[EMAIL PROTECTED](PYTHON_SITE)
 
 clean:
        $(RM) *.o
diff -ru clearsilver-0.10.3-orig/scripts/document.py 
clearsilver-0.10.3/scripts/document.py
--- clearsilver-0.10.3-orig/scripts/document.py 2006-09-22 23:30:48.000000000 
-0500
+++ clearsilver-0.10.3/scripts/document.py      2006-09-22 23:33:52.000000000 
-0500
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/@PREFIX@/bin/[EMAIL PROTECTED]@
 """
   document.py -- Simple script to generate manpages from C header
   files.  Looks for the following formatted C comments in the C header files:

--- NEW FILE: clearsilver-py.info ---
Info2: <<
Package: clearsilver-py%type_pkg[python]
Version: 0.10.3
Revision: 1
Type: python(2.3 2.4 2.5)
Maintainer: Jeremy Higgs <[EMAIL PROTECTED]>
Depends: <<
python%type_pkg[python]-shlibs | python%type_pkg[python]-nox-shlibs,
system-perl
<<
BuildDepends: <<
python%type_pkg[python] | python%type_pkg[python]-nox
<<
Conflicts: clearsilver-py22, clearsilver-py23, clearsilver-py24, 
clearsilver-py25
Replaces: clearsilver-py22, clearsilver-py23, clearsilver-py24, clearsilver-py25
Source: http://www.clearsilver.net/downloads/clearsilver-%v.tar.gz
Source-MD5: ff4104b0e58bca1b61d528edbd902769
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|@INSTALLDIR@|%d|g' -e 
's|@VERS@|%type_raw[python]|g' < %a/clearsilver-py.patch | patch -p1
UpdatePOD: true
ConfigureParams: --prefix=%p --with-python=%p/bin/python%type_raw[python] 
--with-apache=%p --disable-ruby --disable-csharp --libexecdir='${prefix}/lib' 
InstallScript: <<
  #!/bin/sh -ev
  plvers=`fink dumpinfo -f version system-perl 2>/dev/null | sed 's,^version: 
,,'`
  make install DESTDIR=%d \
    INSTALLPRIVLIB=%p/lib/perl5/$plvers \
    INSTALLARCHLIB=%p/lib/perl5/$plvers/darwin \
    INSTALLSITELIB=%p/lib/perl5/$plvers \
    INSTALLSITEARCH=%p/lib/perl5/$plvers/darwin \
    INSTALLBIN=%p/bin \
    INSTALLSITEBIN=%p/bin \
    INSTALLSCRIPT=%p/bin \
    PYTHON_SITE=%p/lib/python%type_raw[python]

  mkdir -p %i/share/man/man3
  mv %d/usr/local/man/man3/ClearSilver.3pm %i/share/man/man3/
  rm -rf %d/usr

  ranlib %i/lib/*.a
<<
DocFiles: CS_LICENSE LICENSE README README.python
Description: Language-neutral HTML template system
DescDetail: <<
Clearsilver is a fast, powerful, and language-neutral HTML template system. 
In both static content sites and dynamic HTML applications, it provides a 
separation between presentation code and application logic which makes working
with your project easier.
<<
DescPackaging: <<
* Patches scripts/document.py to use the Fink-installed version of Python
* Ruby support is disabled.
* CSharp support is disabled, as it reportedly has problems with Mono.
* Ranlib run on the libraries to prevent issues when re-compiling.
* Custom installation paths to install Perl-related files into the correct
directories.
<<
DescPort: <<
 Errors may be encountered if you try and compile this package after
 installing 10.4 (Tiger) and not recompiling the Python packages.
 If an error is encountered, recompile the corresponding Python
 package, then try recompiling Clearsilver.
<<
License: BSD
Homepage: http://www.clearsilver.net/
<<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to