diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-10-06 17:37:23 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-10-06 17:37:23 +0000 |
commit | 87a67e83c0171f6ea104014098afd9ceca0ecf78 (patch) | |
tree | 6522d14579842b49daf86cff850ad101630bed60 /lang/atlast | |
parent | ed5be532e3fb8e1cee981d2c975ddb17ce5777ab (diff) | |
download | ports-87a67e83c0171f6ea104014098afd9ceca0ecf78.tar.gz ports-87a67e83c0171f6ea104014098afd9ceca0ecf78.zip |
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>
Notes
Notes:
svn path=/head/; revision=48502
Diffstat (limited to 'lang/atlast')
-rw-r--r-- | lang/atlast/Makefile | 12 | ||||
-rw-r--r-- | lang/atlast/files/patch-aa | 41 | ||||
-rw-r--r-- | lang/atlast/pkg-descr | 20 | ||||
-rw-r--r-- | lang/atlast/pkg-plist | 6 |
4 files changed, 34 insertions, 45 deletions
diff --git a/lang/atlast/Makefile b/lang/atlast/Makefile index 32a73e7d7a9f..ecf84e995638 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 765909beae6d..56fa9c79f5a0 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 1a1fda6eb2f7..4f770c9873c1 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 0203baf3d2e5..60562a98d31f 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 |