Browse Source

* added fpmake.pp to proj4 package

git-svn-id: trunk@12564 -
ivost 16 years ago
parent
commit
aae8d6e15c
2 changed files with 38 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 37 0
      packages/proj4/fpmake.pp

+ 1 - 0
.gitattributes

@@ -3978,6 +3978,7 @@ packages/postgres/src/postgres3dyn.pp svneol=native#text/plain
 packages/postgres/src/postgres3types.inc svneol=native#text/plain
 packages/proj4/Makefile svneol=native#text/plain
 packages/proj4/Makefile.fpc svneol=native#text/plain
+packages/proj4/fpmake.pp svneol=native#text/plain
 packages/proj4/src/proj.pas svneol=native#text/plain
 packages/ptc/Makefile svneol=native#text/plain
 packages/ptc/Makefile.fpc svneol=native#text/plain

+ 37 - 0
packages/proj4/fpmake.pp

@@ -0,0 +1,37 @@
+{$ifndef ALLPACKAGES}
+{$mode objfpc}{$H+}
+program fpmake;
+
+uses fpmkunit;
+
+Var
+  P : TPackage;
+  T : TTarget;
+begin
+  With Installer do
+    begin
+{$endif ALLPACKAGES}
+
+    P:=AddPackage('proj');
+{$ifdef ALLPACKAGES}
+    P.Directory:='proj4';
+{$endif ALLPACKAGES}
+    P.Version:='2.2.2-0';
+    P.SourcePath.Add('src');
+    P.IncludePath.Add('src');
+
+  T:=P.Targets.AddUnit('proj.pas');
+  with T.Dependencies do
+    begin
+    end;
+
+    // 'Makefile
+    // 'Makefile.fpc
+    // 'test1.xml
+    // 'test2.xml
+
+{$ifndef ALLPACKAGES}
+    Run;
+    end;
+end.
+{$endif ALLPACKAGES}