aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gnat-glade
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-07-31 23:01:38 +0800
committernbm <nbm@FreeBSD.org>2000-07-31 23:01:38 +0800
commitb2b3167ecb66fafe566cea70747c63724bae9efe (patch)
treea5b364884ee81cde01f538745f077222f7326b8a /lang/gnat-glade
parentde2cd7a2d315e48abb5144ae49e693cdd10b93f2 (diff)
downloadfreebsd-ports-gnome-b2b3167ecb66fafe566cea70747c63724bae9efe.tar.gz
freebsd-ports-gnome-b2b3167ecb66fafe566cea70747c63724bae9efe.tar.zst
freebsd-ports-gnome-b2b3167ecb66fafe566cea70747c63724bae9efe.zip
Add gnat-glade, the glade companion package to gnat, for building
distributed systems in Ada. PR: ports/18374 Submitted by: Samuel Tardieu <sam@inf.enst.fr>
Diffstat (limited to 'lang/gnat-glade')
-rw-r--r--lang/gnat-glade/Makefile25
-rw-r--r--lang/gnat-glade/distinfo1
-rw-r--r--lang/gnat-glade/files/patch-aa18
-rw-r--r--lang/gnat-glade/files/patch-ab46
-rw-r--r--lang/gnat-glade/files/patch-ac11
-rw-r--r--lang/gnat-glade/files/patch-ad11
-rw-r--r--lang/gnat-glade/files/patch-ae11
-rw-r--r--lang/gnat-glade/files/patch-af11
-rw-r--r--lang/gnat-glade/pkg-comment1
-rw-r--r--lang/gnat-glade/pkg-descr11
-rw-r--r--lang/gnat-glade/pkg-plist129
11 files changed, 275 insertions, 0 deletions
diff --git a/lang/gnat-glade/Makefile b/lang/gnat-glade/Makefile
new file mode 100644
index 000000000000..69d323d85714
--- /dev/null
+++ b/lang/gnat-glade/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: gnat-glade
+# Date created: 3 Mai 2000
+# Whom: sam@inf.enst.fr
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnat-glade
+PORTVERSION= 3.12p
+CATEGORIES= lang
+MASTER_SITES= ftp://cs.nyu.edu/pub/gnat/glade/
+DISTNAME= glade-${PORTVERSION}-src
+
+MAINTAINER= sam@inf.enst.fr
+
+BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
+
+USE_AUTOCONF= yes
+CONFIGURE_ENV= ADA=adagcc
+USE_GMAKE= yes
+
+post-install:
+ strip ${PREFIX}/bin/gnatdist
+
+.include <bsd.port.mk>
diff --git a/lang/gnat-glade/distinfo b/lang/gnat-glade/distinfo
new file mode 100644
index 000000000000..b400f45d560f
--- /dev/null
+++ b/lang/gnat-glade/distinfo
@@ -0,0 +1 @@
+MD5 (glade-3.12p-src.tar.gz) = ce1682956893c2f5037f76dccc554fd4
diff --git a/lang/gnat-glade/files/patch-aa b/lang/gnat-glade/files/patch-aa
new file mode 100644
index 000000000000..e79abfb2d27e
--- /dev/null
+++ b/lang/gnat-glade/files/patch-aa
@@ -0,0 +1,18 @@
+--- configure.in.orig Wed May 3 19:38:25 2000
++++ configure.in Wed May 3 19:39:03 2000
+@@ -83,6 +83,7 @@
+ sparc-sun-sunos4*) PLATFORM_SPECIFIC=u;;
+ i?86-*-solaris2*) PLATFORM_SPECIFIC=s;;
+ *-linux*) PLATFORM_SPECIFIC=l;;
++ *-freebsd*) PLATFORM_SPECIFIC=f;;
+ *-opennt*) PLATFORM_SPECIFIC=p;;
+ alpha*-*-osf*) PLATFORM_SPECIFIC=a;;
+ i?86-*-cygwin32*) PLATFORM_SPECIFIC=w;;
+@@ -100,6 +101,7 @@
+ u) PSNAME="SunOS";;
+ a) PSNAME="OSF";;
+ l) PSNAME="Linux";;
++ f) PSNAME="FreeBSD";;
+ p) PSNAME="Open NT";;
+ w) PSNAME="Windows NT";;
+ g) PSNAME="SGI";;
diff --git a/lang/gnat-glade/files/patch-ab b/lang/gnat-glade/files/patch-ab
new file mode 100644
index 000000000000..ae7ab74a257e
--- /dev/null
+++ b/lang/gnat-glade/files/patch-ab
@@ -0,0 +1,46 @@
+--- Garlic/split.adb.orig Wed May 3 19:43:33 2000
++++ Garlic/split.adb Wed May 3 19:45:24 2000
+@@ -38,8 +38,20 @@
+
+ procedure Split is
+
+- Column : Natural := 0;
+- Max_Column : constant := 50;
++ Column : Natural := 0;
++ Max_Column : constant := 65;
++ Hard_Max_Column : constant := 78;
++ Was_Space : Boolean := False;
++
++ procedure Print_Space_Maybe;
++
++ procedure Print_Space_Maybe is
++ begin
++ if Was_Space and then Column /= 0 then
++ Put (' ');
++ Was_Space := False;
++ end if;
++ end Print_Space_Maybe;
+
+ begin
+ if Argument_Count /= 1 then
+@@ -50,9 +62,20 @@
+ if Argument (1) (I) = ' ' and then Column >= Max_Column then
+ New_Line;
+ Column := 0;
++ elsif Argument (1) (I) = ' ' and then Column = 0 then
++ null;
++ elsif Column >= Hard_Max_Column then
++ New_Line;
++ Put ("-- " & Argument (1) (I));
++ Column := 5;
++ elsif Argument (1) (I) = ' ' then
++ Was_Space := True;
+ else
+ if Column = 0 then
+ Put ("-- ");
++ Column := 4;
++ else
++ Print_Space_Maybe;
+ end if;
+ Put (Argument (1) (I));
+ Column := Column + 1;
diff --git a/lang/gnat-glade/files/patch-ac b/lang/gnat-glade/files/patch-ac
new file mode 100644
index 000000000000..2452aa6d984c
--- /dev/null
+++ b/lang/gnat-glade/files/patch-ac
@@ -0,0 +1,11 @@
+--- Dist/xe_utils.adb.orig Wed May 3 20:07:33 2000
++++ Dist/xe_utils.adb Wed May 3 20:07:44 2000
+@@ -629,7 +629,7 @@
+ Obj_Suffix := Str_To_Id (Get_Object_Suffix.all);
+ Exe_Suffix := Str_To_Id (Get_Executable_Suffix.all);
+
+- Gcc := Locate ("gcc");
++ Gcc := Locate ("adagcc");
+ Mkdir := Locate ("mkdir");
+ Copy := Locate ("cp");
+ Link := Locate ("ln", False);
diff --git a/lang/gnat-glade/files/patch-ad b/lang/gnat-glade/files/patch-ad
new file mode 100644
index 000000000000..0ba7673dce48
--- /dev/null
+++ b/lang/gnat-glade/files/patch-ad
@@ -0,0 +1,11 @@
+--- Dist/xe_usage.adb.orig Wed May 3 20:07:54 2000
++++ Dist/xe_usage.adb Wed May 3 20:08:07 2000
+@@ -70,7 +70,7 @@
+ Write_Eol;
+
+ Write_Str ("Gcc switches such as -g, -O, etc.");
+- Write_Str (" are directly passed to gcc");
++ Write_Str (" are directly passed to adagcc");
+ Write_Eol;
+ Write_Eol;
+
diff --git a/lang/gnat-glade/files/patch-ae b/lang/gnat-glade/files/patch-ae
new file mode 100644
index 000000000000..4caa6e576665
--- /dev/null
+++ b/lang/gnat-glade/files/patch-ae
@@ -0,0 +1,11 @@
+--- ada/ali.adb.orig Wed May 3 20:09:02 2000
++++ ada/ali.adb Wed May 3 20:09:13 2000
+@@ -220,7 +220,7 @@
+ Write_Str (" is incorrectly formatted");
+ Write_Eol;
+ Write_Str
+- ("make sure you are using consistent versions of gcc/gnatbind");
++ ("make sure you are using consistent versions of adagcc/gnatbind");
+ Write_Eol;
+
+ -- Find start of line
diff --git a/lang/gnat-glade/files/patch-af b/lang/gnat-glade/files/patch-af
new file mode 100644
index 000000000000..27378b0647b4
--- /dev/null
+++ b/lang/gnat-glade/files/patch-af
@@ -0,0 +1,11 @@
+--- ada/make.adb.orig Wed May 3 20:09:55 2000
++++ ada/make.adb Wed May 3 20:10:20 2000
+@@ -238,7 +238,7 @@
+ -- Compiler, Binder & Linker Data and Subprograms --
+ ----------------------------------------------------
+
+- Gcc : String_Access := Program_Name ("gcc");
++ Gcc : String_Access := Program_Name ("adagcc");
+ Gnatbind : String_Access := Program_Name ("gnatbind");
+ Gnatlink : String_Access := Program_Name ("gnatlink");
+ -- Default compiler, binder, linker programs
diff --git a/lang/gnat-glade/pkg-comment b/lang/gnat-glade/pkg-comment
new file mode 100644
index 000000000000..573087befbbd
--- /dev/null
+++ b/lang/gnat-glade/pkg-comment
@@ -0,0 +1 @@
+GNU Ada distributed systems annex
diff --git a/lang/gnat-glade/pkg-descr b/lang/gnat-glade/pkg-descr
new file mode 100644
index 000000000000..790d076672e8
--- /dev/null
+++ b/lang/gnat-glade/pkg-descr
@@ -0,0 +1,11 @@
+GLADE is GNAT's companion package for building distributed systems in Ada.
+GNAT+GLADE is a complete implementation of the Ada 95 programming language.
+
+WWW: http://www.gnat.com/
+
+Note: because of the existence of GLADE, the GTK GUI builder, this package
+ has been renamed gnat-glade, as is done in Linux distributions such
+ as Debian
+
+ -- Samuel Tardieu
+ sam@inf.enst.fr
diff --git a/lang/gnat-glade/pkg-plist b/lang/gnat-glade/pkg-plist
new file mode 100644
index 000000000000..4a99af2b13fd
--- /dev/null
+++ b/lang/gnat-glade/pkg-plist
@@ -0,0 +1,129 @@
+bin/gnatdist
+lib/garlic/libgnat.a
+lib/garlic/s-gtplsp.ads
+lib/garlic/s-gartcp.ads
+lib/garlic/s-gartcp.adb
+lib/garlic/s-ganobl.ads
+lib/garlic/s-ganobl.adb
+lib/garlic/s-gaplsp.ads
+lib/garlic/s-garnam.ads
+lib/garlic/s-garnam.adb
+lib/garlic/s-garrem.ads
+lib/garlic/s-garrem.adb
+lib/garlic/s-gafizi.ads
+lib/garlic/s-gafizi.adb
+lib/garlic/s-galiop.ads
+lib/garlic/s-galite.ads
+lib/garlic/s-galite.adb
+lib/garlic/s-ganeut.ads
+lib/garlic/s-ganeut.adb
+lib/garlic/s-gaphlo.ads
+lib/garlic/s-gaphlo.adb
+lib/garlic/s-garcon.ads
+lib/garlic/s-gardeb.ads
+lib/garlic/s-gardeb.adb
+lib/garlic/s-garfil.ads
+lib/garlic/s-garfil.adb
+lib/garlic/s-gargro.ads
+lib/garlic/s-gargro.adb
+lib/garlic/s-garhea.ads
+lib/garlic/s-garhea.adb
+lib/garlic/s-garlic.ads
+lib/garlic/s-garloc.ads
+lib/garlic/s-garloc.adb
+lib/garlic/s-garopt.ads
+lib/garlic/s-garopt.adb
+lib/garlic/s-garpar.ads
+lib/garlic/s-garpar.adb
+lib/garlic/s-garpro.ads
+lib/garlic/s-garpri.ads
+lib/garlic/s-ganata.ads
+lib/garlic/s-ganata.adb
+lib/garlic/s-garpro.adb
+lib/garlic/s-garexc.ads
+lib/garlic/s-garexc.adb
+lib/garlic/s-garrep.ads
+lib/garlic/s-garrep.adb
+lib/garlic/s-garser.ads
+lib/garlic/s-garser.adb
+lib/garlic/s-garsta.ads
+lib/garlic/s-garsta.adb
+lib/garlic/s-garstr.ads
+lib/garlic/s-garstr.adb
+lib/garlic/s-garthi.ads
+lib/garlic/s-gartra.ads
+lib/garlic/s-gartra.adb
+lib/garlic/s-gaprco.ads
+lib/garlic/s-gaprco.adb
+lib/garlic/s-garela.ads
+lib/garlic/s-garela.adb
+lib/garlic/s-garter.ads
+lib/garlic/s-garter.adb
+lib/garlic/s-gartab.ads
+lib/garlic/s-gartab.adb
+lib/garlic/s-gartyp.ads
+lib/garlic/s-gartyp.adb
+lib/garlic/s-garuni.ads
+lib/garlic/s-garuni.adb
+lib/garlic/s-garuti.ads
+lib/garlic/s-garuti.adb
+lib/garlic/s-gasoli.ads
+lib/garlic/s-gasoli.adb
+lib/garlic/s-gatcop.ads
+lib/garlic/s-gastha.ads
+lib/garlic/s-gastha.adb
+lib/garlic/s-parint.ads
+lib/garlic/s-parint.adb
+lib/garlic/s-rpc.ads
+lib/garlic/s-rpc.adb
+lib/garlic/s-rpcpoo.ads
+lib/garlic/s-rpcpoo.adb
+lib/garlic/s-rpstio.ads
+lib/garlic/s-rpstio.adb
+lib/garlic/s-stratt.adb
+lib/garlic/s-gtplsp.ali
+lib/garlic/s-gartcp.ali
+lib/garlic/s-ganobl.ali
+lib/garlic/s-gaplsp.ali
+lib/garlic/s-garnam.ali
+lib/garlic/s-garrem.ali
+lib/garlic/s-gafizi.ali
+lib/garlic/s-galiop.ali
+lib/garlic/s-galite.ali
+lib/garlic/s-ganata.ali
+lib/garlic/s-ganeut.ali
+lib/garlic/s-gaphlo.ali
+lib/garlic/s-garcon.ali
+lib/garlic/s-gardeb.ali
+lib/garlic/s-garexc.ali
+lib/garlic/s-garfil.ali
+lib/garlic/s-gargro.ali
+lib/garlic/s-garhea.ali
+lib/garlic/s-garlic.ali
+lib/garlic/s-garloc.ali
+lib/garlic/s-garopt.ali
+lib/garlic/s-garela.ali
+lib/garlic/s-garpar.ali
+lib/garlic/s-garpri.ali
+lib/garlic/s-garpro.ali
+lib/garlic/s-garrep.ali
+lib/garlic/s-garser.ali
+lib/garlic/s-garsta.ali
+lib/garlic/s-gartra.ali
+lib/garlic/s-gaprco.ali
+lib/garlic/s-garstr.ali
+lib/garlic/s-gartab.ali
+lib/garlic/s-garthi.ali
+lib/garlic/s-garter.ali
+lib/garlic/s-gartyp.ali
+lib/garlic/s-garuni.ali
+lib/garlic/s-garuti.ali
+lib/garlic/s-gasoli.ali
+lib/garlic/s-gatcop.ali
+lib/garlic/s-parint.ali
+lib/garlic/s-rpc.ali
+lib/garlic/s-rpcpoo.ali
+lib/garlic/s-rpstio.ali
+lib/garlic/s-stratt.ali
+lib/garlic/libgarlic.a
+@dirrm lib/garlic