summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-06 17:37:23 +0000
committerlioux <lioux@FreeBSD.org>2001-10-06 17:37:23 +0000
commitf3a0d8650363bdd73e2c3877960c606ae175870b (patch)
tree92169ab4e94b4cffd5fcab5301f67e28dd61dfa9 /lang
parentd0ee2b16464f1ae57a2808898201928e92d03616 (diff)
downloadFreeBSD-ports-f3a0d8650363bdd73e2c3877960c606ae175870b.zip
FreeBSD-ports-f3a0d8650363bdd73e2c3877960c606ae175870b.tar.gz
o CFLAGS/CC safeness; therefore, bump PORTREVISION
o simplify DESCR, add WWW tag o support NOPORTDOCS in PLIST o style changes in Makefile: - un"echo" installation - merge do-install/post-install PR: 31075 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'lang')
-rw-r--r--lang/atlast/Makefile12
-rw-r--r--lang/atlast/files/patch-aa41
-rw-r--r--lang/atlast/pkg-descr20
-rw-r--r--lang/atlast/pkg-plist6
4 files changed, 34 insertions, 45 deletions
diff --git a/lang/atlast/Makefile b/lang/atlast/Makefile
index 32a73e7..ecf84e9 100644
--- a/lang/atlast/Makefile
+++ b/lang/atlast/Makefile
@@ -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 @@ MASTER_SITES= http://www.fourmilab.ch/atlast/ \
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 --git a/lang/atlast/files/patch-aa b/lang/atlast/files/patch-aa
index 765909b..56fa9c7 100644
--- a/lang/atlast/files/patch-aa
+++ b/lang/atlast/files/patch-aa
@@ -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 --git a/lang/atlast/pkg-descr b/lang/atlast/pkg-descr
index 1a1fda6..4f770c9 100644
--- a/lang/atlast/pkg-descr
+++ b/lang/atlast/pkg-descr
@@ -6,22 +6,4 @@ 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 --git a/lang/atlast/pkg-plist b/lang/atlast/pkg-plist
index 0203baf..60562a9 100644
--- a/lang/atlast/pkg-plist
+++ b/lang/atlast/pkg-plist
@@ -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
OpenPOWER on IntegriCloud