fpmake.pp 734 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. {$endif ALLPACKAGES}
  6. procedure add_pas2ut(const ADirectory: string);
  7. Var
  8. P : TPackage;
  9. T : TTarget;
  10. begin
  11. With Installer do
  12. begin
  13. P:=AddPackage('utils-pas2ut');
  14. P.Author := 'Free Pascal Team';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Description := 'Pascal source to FPC Unit test generator program';
  18. P.Email := '';
  19. P.NeedLibC:= false;
  20. P.Directory:=ADirectory;
  21. P.Version:='2.7.1';
  22. P.Dependencies.Add('fcl-passrc');
  23. T:=P.Targets.AddProgram('pas2ut.pp');
  24. end;
  25. end;
  26. {$ifndef ALLPACKAGES}
  27. begin
  28. add_pas2ut('');
  29. Installer.Run;
  30. end.
  31. {$endif ALLPACKAGES}