Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8204/10.4/stable/main/finkinfo/devel

Modified Files:
        xdev-toolkit.info 
Log Message:
xdev-toolkit: fixing the treatment of the config file dfmtoflm.ini

Index: xdev-toolkit.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/devel/xdev-toolkit.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- xdev-toolkit.info   14 Jun 2013 08:34:32 -0000      1.10
+++ xdev-toolkit.info   7 Sep 2013 13:10:19 -0000       1.11
@@ -1,6 +1,6 @@
 Package: xdev-toolkit
 Version: 2012-1451
-Revision: 6
+Revision: 7
 Description: Delphi -> Lazarus/FPC conversion tools
 Depends: fpc (>=2.6.2), (%m = i386) lazarus-aqua (>=1.0.10) | lazarus-gtk2 
(>=1.0.10), (%m = x86_64) lazarus-gtk2 (>=1.0.10)
 License: LGPL
@@ -11,6 +11,12 @@
 
 SourceDirectory: xdev_toolkit
 
+# Patch Phase
+PatchScript: <<
+# set the path for ini file for dfmtolfm
+  sed -i.bak "s|ExtractFilePath(ParamStr(0))|'%p/etc/'|g" dfmtolfm.pas
+<<
+
 # Compile Phase (NOTE: there is no configure):
 CompileScript: <<
 #!/bin/sh -ev
@@ -61,20 +67,27 @@
 # Install sources
   mkdir -p %i/share/fpcsrc/%n
   install -m 644 *.pas %i/share/fpcsrc/%n/
-  install -c -m 666 dfmtolfm.ini %i/bin/
+  install -d %i/etc/
+  install -c -m 666 dfmtolfm.ini %i/etc/
 <<
 
-ConfFiles: %p/bin/dfmtolfm.ini
+ConfFiles: %p/etc/dfmtolfm.ini
 DocFiles: XDevStatus.html
 
 DescDetail: <<
-The XDev Toolkit has these programs and units:
+The XDev Toolkit has these programs:
 
-MakePasX & DfmToLfm: Delphi converters
-MakeVer:             Create a version info file
-CvtHelp & HelpUtil:  Convert WinHelp RTF to HTML
-create_app_mac.sh:   Create an app bundle
-RtfDoc & ViewDoc:    RTF document creation and viewing
+makepasx & dfmtolfm:   Delphi converters
+makever:               Create a version info file
+create_app_mac.sh:     Create an app bundle
+CvtHelp:               Convert WinHelp RTF to HTML
+TestRtfDoc & ViewWith: RTF document creation and viewing
+
+and units:
+
+HelpUtil:                 Convert WinHelp RTF to HTML
+RtfDoc & ViewDoc:         RTF document creation and viewing
+PrefsUtil & PropListUtil: Preferences
 <<
 
 DescUsage: <<
@@ -83,8 +96,8 @@
 <<
 
 DescPort: <<
-  Note: This package install fpc units and needs to be updated
-  with a new version of fpc.
+  Note: This package installs fpc units 
+  and needs to be updated with a new version of fpc.
   Native platform only. To do: cross-platform
 <<
 


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to