summaryrefslogtreecommitdiff
path: root/jpl/JPL/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'jpl/JPL/Makefile.PL')
-rw-r--r--jpl/JPL/Makefile.PL42
1 files changed, 6 insertions, 36 deletions
diff --git a/jpl/JPL/Makefile.PL b/jpl/JPL/Makefile.PL
index efb606da17..02e5b4597a 100644
--- a/jpl/JPL/Makefile.PL
+++ b/jpl/JPL/Makefile.PL
@@ -1,36 +1,6 @@
-#!/usr/bin/perl
-
-$JPL_SRC = "..";
-
-use Config;
-
-eval `$JPL_SRC/setvars -perl`;
-
-open(MAKEFILE, ">Makefile");
-
-print MAKEFILE <<"SUBS";
-PERL = perl$]
-ARCHNAME = $Config{archname}
-JAVA_HOME = $ENV{JAVA_HOME}
-JPL_HOME = $ENV{JPL_HOME}
-PERLARCHDIR = $Config{archlib}
-
-SUBS
-
-print MAKEFILE <<'NOSUBS';
-
-all:
-
-debug:
-
-test:
-
-install:
- mkdir -p $(JPL_HOME)/perl/JPL
- cp *.p[ml] $(JPL_HOME)/perl/JPL
-
-clean:
-
-NOSUBS
-
-close MAKEFILE;
+use ExtUtils::MakeMaker;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+WriteMakefile(
+ 'NAME' => 'JPL::Class',
+);