Mercurial > repo
view interps/clc-intercal/CLC-INTERCAL-UI-Curses-1.-94.-2/Makefile.PL @ 5674:91d4a5b788c9
<tswett> echo \'[11,11,11,15,15,23,12],[5,5,5,3,53,45,16,26,00,20,15,16,22,25,45,91,32,11,15,27,06,01,11,01,47,22,30,13,43,21,11,13,29,61,65,17,19,12,28,17,11,01,23,20,16,20,81,18,32,25,58,22.,1985,10.301350435,1555466973690094680980000956080767,13720946704494913791885940266665466978579582015128512190078...\' > wisdom/code
author | HackBot |
---|---|
date | Wed, 24 Jun 2015 14:47:46 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
#!/usr/bin/perl -w eval 'exec perl -S $0 ${1+"$@"}' if 0; # This script will create the Makefile to build and install a full-screen # text user interface for CLC-INTERCAL # This file is part of CLC-INTERCAL 1.-94.-2 # Copyright (c) 2008 Claudio Calvelli, all rights reserved. # CLC-INTERCAL is copyrighted software. However, permission to use, modify, # and distribute it is granted provided that the conditions set out in the # licence agreement are met. See files README and COPYING in the distribution. require 5.005; use Config qw(%Config); use ExtUtils::MakeMaker; use strict; use vars qw($VERSION $PERVERSION); ($VERSION) = ($PERVERSION = "CLC-INTERCAL/UI-Curses Makefile.PL 1.-94.-2") =~ /\s(\S+)$/; my @want_type = grep { /^type=/ } @ARGV; @ARGV = grep { ! /^type=/ } @ARGV; my $base = $ENV{CLC_INTERCAL_PATH} ? "'$ENV{CLC_INTERCAL_PATH}/INTERCAL/" : 'Language::INTERCAL::'; my $end = $ENV{CLC_INTERCAL_PATH} ? ".pm'" : ''; for my $module (qw(Exporter InstallModule)) { eval "require $base$module$end"; if ($@) { $@ =~ /can't locate/i and die "You don't appear to have CLC-INTERCAL installed:\n$@"; die "Error loading the CLC-INTERCAL installer:\n$@"; } } import Language::INTERCAL::InstallModule '1.-94.-2'; install Language::INTERCAL::InstallModule 'UI-Curses', 0, { 'Curses' => 0, }; 1;