Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 13:04:13 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/31075: Update port: lang/atlast
Message-ID:  <200110052004.f95K4DF59086@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         31075
>Category:       ports
>Synopsis:       Update port: lang/atlast
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 05 13:10:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CC/CFLAGS properly
- Add WWW: line



>How-To-Repeat:

>Fix:
diff -urN /usr/ports/lang/atlast/Makefile lang/atlast/Makefile
--- /usr/ports/lang/atlast/Makefile	Fri Aug 24 20:00:17 2001
+++ lang/atlast/Makefile	Fri Oct  5 05:16:10 2001
@@ -7,6 +7,7 @@
 
 PORTNAME=	atlast
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://www.fourmilab.ch/atlast/ \
 		http://www.fourmilab.to/atlast/
@@ -14,14 +15,11 @@
 MAINTAINER=	ports@FreeBSD.org
 
 do-install:
-	$(INSTALL_PROGRAM) $(WRKSRC)/atlast $(PREFIX)/bin
-
-post-install:
-	strip ${PREFIX}/bin/atlast
+	${INSTALL_PROGRAM} ${WRKSRC}/atlast ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/atlast
-	${INSTALL_DATA} ${WRKSRC}/atlast.ps ${PREFIX}/share/doc/atlast
-	${INSTALL_DATA} ${WRKSRC}/atlast.rtf ${PREFIX}/share/doc/atlast
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/atlast.ps ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/atlast.rtf ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/lang/atlast/files/patch-aa lang/atlast/files/patch-aa
--- /usr/ports/lang/atlast/files/patch-aa	Mon Nov 17 18:48:18 1997
+++ lang/atlast/files/patch-aa	Fri Oct  5 05:19:12 2001
@@ -1,34 +1,43 @@
-*** Makefile.orig	Tue Aug 26 21:20:06 1997
---- Makefile	Tue Aug 26 21:21:46 1997
+*** Makefile.orig	Mon May  9 03:26:47 1994
+--- Makefile	Fri Oct  5 05:18:35 2001
 ***************
-*** 1,13 ****
+*** 7,15 ****
   
-  #	Unix makefile for ATLAST
+  INCLUDE =
   
-! COPTIONS = -O
+! ATLCONFIG = -DMEMSTAT -DALIGNMENT -DEXPORT
   
-  LIBRARIES = -lm
+! CFLAGS = $(COPTIONS) $(INCLUDE) $(ATLCONFIG)
   
-  INCLUDE =
+  ATLOBJ = atlast.o atlmain.o
   
-! ATLCONFIG = -DMEMSTAT -DALIGNMENT -DEXPORT
+--- 7,15 ----
   
-  CFLAGS = $(COPTIONS) $(INCLUDE) $(ATLCONFIG)
+  INCLUDE =
   
---- 1,13 ----
+! ATLCONFIG = -DMEMSTAT -DALIGNMENT -DEXPORT -DNOMEMCHECK
   
-  #	Unix makefile for ATLAST
+! CFLAGS += $(INCLUDE) $(ATLCONFIG)
   
-! COPTIONS = -O3 -pipe
+  ATLOBJ = atlast.o atlmain.o
   
-  LIBRARIES = -lm
+***************
+*** 18,24 ****
+  all:	$(APPS)
   
-  INCLUDE =
+  atlast: $(ATLOBJ)
+! 	cc $(CFLAGS) $(ATLOBJ) -o atlast $(LIBRARIES)
   
-! ATLCONFIG = -DMEMSTAT -DALIGNMENT -DEXPORT -DNOMEMCHECK
+  atlast.o:   atlast.c atldef.h
+  atldef.h:   atlast.h
+--- 18,24 ----
+  all:	$(APPS)
   
-  CFLAGS = $(COPTIONS) $(INCLUDE) $(ATLCONFIG)
+  atlast: $(ATLOBJ)
+! 	$(CC) $(CFLAGS) $(ATLOBJ) -o atlast $(LIBRARIES)
   
+  atlast.o:   atlast.c atldef.h
+  atldef.h:   atlast.h
 ***************
 *** 33,39 ****
   	echo  >>/tmp/regin.tmp
diff -urN /usr/ports/lang/atlast/pkg-descr lang/atlast/pkg-descr
--- /usr/ports/lang/atlast/pkg-descr	Mon Nov 17 18:48:17 1997
+++ lang/atlast/pkg-descr	Fri Oct  5 05:29:00 2001
@@ -1,27 +1,9 @@
-ATLAST  is  an  attempt to make software component technology and open
-architecture  applications  commonplace  in  the  mainstream  software
-market.   It  is  both  a  software  component  which  can  be readily
-integrated into existing applications,  providing  them  a  ready-made
-macro  language  and  facilities  for user extension and customisation
-and, at the same time, it is a foundation upon which new  applications
-can be built in an open, component-oriented manner.
+ATLAST is an attempt to make software component technology and open
+architecture applications commonplace in the mainstream software market.
+It is both a software component which can be readily integrated into
+existing applications, providing them a ready-made macro language and
+facilities for user extension and customisation and, at the same time,
+it is a foundation upon which new applications can be built in an open,
+component-oriented manner.
 
-ATLAST  was  developed at Autodesk, Inc.  Autodesk returned the rights
-to me in 1991, and I subsequently placed the  program  in  the  public
-domain.
-
-ATLAST is based upon the FORTH-83 language, but has been  extended  in
-many  ways  and  modified  to  better serve its mission as an embedded
-toolkit for open, programmable applications.  ATLAST is implemented in
-a  single  file,  written  in  portable  C; it has been ported to many
-different machines and operating systems, including MS-DOS, OS/2,  the
-Macintosh,  and  a  wide  variety  of  Unix machines.  ATLAST includes
-native support for floating  point,  C-like  strings,  Unix-compatible
-file  access,  and  a  wide variety of facilities for embedding within
-applications.  Integers are 32 bits and identifiers can be up  to  127
-characters;  extensive stack and heap pointer checking is available to
-aid in debugging.  ATLAST may be configured  at  compilation  time  to
-include only the facilities needed by a given application, thus saving
-memory  and  increasing  execution  speed  (when  error  checking   is
-disabled).
-	---John Walker.
+WWW: http://www.fourmilab.ch/sitemap.html#atlast
diff -urN /usr/ports/lang/atlast/pkg-plist lang/atlast/pkg-plist
--- /usr/ports/lang/atlast/pkg-plist	Mon Nov 17 18:48:17 1997
+++ lang/atlast/pkg-plist	Fri Oct  5 05:16:33 2001
@@ -1,4 +1,4 @@
 bin/atlast
-share/doc/atlast/atlast.ps
-share/doc/atlast/atlast.rtf
-@dirrm share/doc/atlast
+%%PORTDOCS%%share/doc/atlast/atlast.ps
+%%PORTDOCS%%share/doc/atlast/atlast.rtf
+%%PORTDOCS%%@dirrm share/doc/atlast

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110052004.f95K4DF59086>