fpmake.cft 615 B

123456789101112131415161718192021222324252627282930313233
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. T : TTarget;
  7. P : TPackage;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('%packagename%');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='%directory%';
  15. {$endif ALLPACKAGES}
  16. P.Version:='%version%';
  17. P.License:='%license%';
  18. P.Author:='%author%';
  19. P.Email:='%email%';
  20. P.Description:=%quotedstr(description)%;
  21. P.HomepageURL:='%homepageurl%';
  22. %conditionalpackageproperties%
  23. %packagedependencies%
  24. %packagesourcepaths%
  25. %targets%
  26. {$ifndef ALLPACKAGES}
  27. Run;
  28. end;
  29. end.
  30. {$endif ALLPACKAGES}