fpmake.pp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. {$endif ALLPACKAGES}
  6. procedure add_fprcp(const ADirectory: string);
  7. Var
  8. P : TPackage;
  9. T : TTarget;
  10. begin
  11. With Installer do
  12. begin
  13. P:=AddPackage('utils-fprcp');
  14. P.Author := '<various>';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Email := '';
  18. P.Description := 'fprcp.exe extracts from C header and Pascal files included into resource '+
  19. 'scripts numerical constants and replaces these constants to its values '+
  20. 'in resource script.';
  21. P.NeedLibC:= false;
  22. P.Directory:=ADirectory;
  23. P.Version:='2.7.1';
  24. T:=P.Targets.AddProgram('fprcp.pp');
  25. T.Dependencies.AddUnit('comments');
  26. T.Dependencies.AddUnit('expr');
  27. T.Dependencies.AddUnit('pasprep');
  28. P.Targets.AddUnit('comments.pp').install:=false;
  29. P.Targets.AddUnit('expr.pp').install:=false;
  30. P.Targets.AddUnit('pasprep.pp').install:=false;
  31. end;
  32. end;
  33. {$ifndef ALLPACKAGES}
  34. begin
  35. add_fprcp('');
  36. Installer.Run;
  37. end.
  38. {$endif ALLPACKAGES}