head	1.4;
access;
symbols
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2003.11.02.21.26.17;	author edwin;	state dead;
branches;
next	1.3;

1.3
date	2002.11.11.18.04.54;	author arved;	state Exp;
branches;
next	1.2;

1.2
date	2001.10.26.19.10.11;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.27.11.28.58;	author alex;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Remove lang/jgnat* ports from the tree:

	Date: Sat, 1 Nov 2003 20:29:30 -0800
	From: John Merryweather Cooper <coop9211@@uidaho.edu>
	To: edwin@@lonesome.com
	Subject: Re: FreeBSD ports Problem Reports for ports you maintain
	X-Mailer: Balsa 2.0.15

	lang/jgnat and the associated lang/jgnat-doc-* ports should
	be retired.  lang/jgnat is no longer supported by ACT and
	will no longer compile with lang/gnat's Ada compiler.

PR:		ports/46443
Submitted by:	david@@realityrift.com
Approved by:	John Merryweather Cooper <coop9211@@uidaho.edu>
@
text
@--- Makefile	Fri Sep  1 10:15:37 2000
+++ Makefile.new	Thu Jul 19 16:20:54 2001
@@@@ -82,7 +82,7 @@@@
 VERSION = 1.1p
 # The current version number of JGNAT
 
-HOST = ${shell gcc -dumpmachine}
+HOST = ${shell adagcc -dumpmachine}
 # Name of the host computer on which the JGNAT executables were built. When the
 # HOST is Windows NT this variable is set to "nt" and it is overriden below.
 
@@@@ -238,6 +238,7 @@@@
 CD    = cd
 CP    = cp -p -f
 ECHO  = echo
+FIND  = find
 MKDIR = mkdir -p
 MV    = mv -f
 PWD   = pwd
@@@@ -279,13 +280,13 @@@@
    TOOL_FLAGS = -O2 -gnatgp -gnata
    LIB_FLAGS  = -O  -gnatgp -gnata
    STRIP      = -s
-   JAR        = jar c0f
+   JAR        = $(JAVA_HOME)/bin/jar c0f
 else
    C_FLAGS    = -O
    TOOL_FLAGS = -g -O -gnatgpa
    LIB_FLAGS  = -g -O -gnatgpa
    STRIP      =
-   JAR        = jar c0f
+   JAR        = $(JAVA_HOME)/bin/jar c0f
 endif
 
 #################################
@@@@ -327,13 +328,13 @@@@
                           $(EXTRA_LINK_FLAGS)
 # Linker flags used to build the $(GNATMAKE_CUR_LIB) executables
 
-GCC = gcc -c $(C_FLAGS)
+GCC = adagcc -c $(C_FLAGS)
 # C compiler to build the C objects
 
 JGNAT = $(BIN)/jgnat $(LIB_FLAGS)
 # JGNAT compiler to build the Ada part of the JGNAT library
 
-JAVAC = javac -deprecation -classpath $(LIB)$(JDK11_LIB)
+JAVAC = $(JAVA_HOME)/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
 # The Java compiler to build the Java part of the JGNAT library
 
 ###########################################
@@@@ -412,12 +413,12 @@@@
 
 clean_bin : check_vars
 	$(CD) $(BIN); $(RM) $(HOST_TOOLS_EXE)
-	$(RM) $(OBJ)/*
-	$(RM) $(OBJS)/*
+	$(RM) -r $(OBJ) && $(MKDIR) $(OBJ)
+	$(RM) -r $(OBJS) && $(MKDIR) $(OBJS)
 
 clean_lib : check_vars
-	$(RM) $(ADALIB)/*
-	$(RM) $(ADAINCLUDE)/*
+	$(RM) -r $(ADALIB) && $(MKDIR) $(ADALIB)
+	$(RM) -r $(ADAINCLUDE) && $(MKDIR) $(ADAINCLUDE)
 	$(RM) $(LIB)/*.jar
 
 ########
@@@@ -1425,7 +1426,7 @@@@
 else
 	$(CD) $(LIB); $(JAR) $(JGNAT_JAR) jgnat/adalib/*.class
 endif
-	$(RM) $(ADALIB)/*.class
+	$(FIND) $(ADALIB) -name '*.class' -exec rm {} \;
 
 ###########################################
 # JGNAT Installation: create_install_dirs #
@


1.3
log
@Implement USE_JAVA

PR:		41986
Submitted by:	John Merryweather Cooper <coop9211@@uidaho.edu>
@
text
@@


1.2
log
@o update to 1.1.p
o add java as a secondary category
o depend on jdk1.2.2 instead of jdk1.1.8
o Makefile style changes and un"echo" installation
o add PKGMESSAGE with usage instructions

PR:		29095
Submitted by:	MAINTAINER
@
text
@d25 1
a25 1
+   JAR        = $(LOCALBASE)/jdk1.2.2/bin/jar c0f
d32 1
a32 1
+   JAR        = $(LOCALBASE)/jdk1.2.2/bin/jar c0f
d48 1
a48 1
+JAVAC = $(LOCALBASE)/jdk1.2.2/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
@


1.1
log
@Add jgnat-1.0p, an Ada to Java-Byte-Code compiler.

PR:		17799
Submitted by:	Samuel Tardieu <sam@@inf.enst.fr>
@
text
@d1 2
a2 11
--- Makefile.orig	Mon Mar 27 18:56:24 2000
+++ Makefile	Tue Apr  4 21:00:47 2000
@@@@ -66,7 +66,7 @@@@
 DEBUG_JGNAT =
 # Set this variable if you want to be able to debug the JGNAT toolchain
 
-JDK11_LIB =
+JDK11_LIB =	:/usr/local/jdk1.1.8/lib/classes.zip
 # Needed only if you are using Sun's JDK 1.1.*. Leave this blank for JDK 1.2.*.
 # Path separator followed by the zip file containing the JDK 1.1 lib
 # installed on the machine on which you are doing the build.  For instance, on
d4 1
a4 1
 VERSION = 1.0p
d9 2
a10 1
 # Name of the host computer on which the JGNAT executables were built
d12 1
a12 2
 TGZ = tgz
@@@@ -236,6 +236,7 @@@@
d20 1
a20 1
@@@@ -277,7 +278,7 @@@@
d25 1
a25 1
+   JAR        = /usr/local/jdk1.1.8/bin/jar c0f
d29 8
a36 1
@@@@ -325,13 +326,13 @@@@
d48 1
a48 1
+JAVAC = /usr/local/jdk1.1.8/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
d52 1
a52 1
@@@@ -410,12 +411,12 @@@@
d69 1
a69 1
@@@@ -1316,7 +1317,7 @@@@
@

