From f3a0d8650363bdd73e2c3877960c606ae175870b Mon Sep 17 00:00:00 2001 From: lioux Date: Sat, 6 Oct 2001 17:37:23 +0000 Subject: 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 --- lang/atlast/Makefile | 12 +++++------- lang/atlast/files/patch-aa | 41 +++++++++++++++++++++++++---------------- lang/atlast/pkg-descr | 20 +------------------- lang/atlast/pkg-plist | 6 +++--- 4 files changed, 34 insertions(+), 45 deletions(-) (limited to 'lang') diff --git a/lang/atlast/Makefile b/lang/atlast/Makefile index 32a73e7d7a9..ecf84e99563 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 diff --git a/lang/atlast/files/patch-aa b/lang/atlast/files/patch-aa index 765909beae6..56fa9c79f5a 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 1a1fda6eb2f..4f770c9873c 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 0203baf3d2e..60562a98d31 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 -- cgit