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>
This commit is contained in:
parent
ed5be532e3
commit
87a67e83c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48502
4 changed files with 35 additions and 46 deletions
|
@ -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>
|
||||
|
|
|
@ -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 ****
|
||||
|
||||
# Unix makefile for ATLAST
|
||||
|
||||
! COPTIONS = -O
|
||||
|
||||
LIBRARIES = -lm
|
||||
*** 7,15 ****
|
||||
|
||||
INCLUDE =
|
||||
|
||||
! ATLCONFIG = -DMEMSTAT -DALIGNMENT -DEXPORT
|
||||
|
||||
CFLAGS = $(COPTIONS) $(INCLUDE) $(ATLCONFIG)
|
||||
! CFLAGS = $(COPTIONS) $(INCLUDE) $(ATLCONFIG)
|
||||
|
||||
--- 1,13 ----
|
||||
ATLOBJ = atlast.o atlmain.o
|
||||
|
||||
# Unix makefile for ATLAST
|
||||
|
||||
! COPTIONS = -O3 -pipe
|
||||
|
||||
LIBRARIES = -lm
|
||||
--- 7,15 ----
|
||||
|
||||
INCLUDE =
|
||||
|
||||
! ATLCONFIG = -DMEMSTAT -DALIGNMENT -DEXPORT -DNOMEMCHECK
|
||||
|
||||
CFLAGS = $(COPTIONS) $(INCLUDE) $(ATLCONFIG)
|
||||
! CFLAGS += $(INCLUDE) $(ATLCONFIG)
|
||||
|
||||
ATLOBJ = atlast.o atlmain.o
|
||||
|
||||
***************
|
||||
*** 18,24 ****
|
||||
all: $(APPS)
|
||||
|
||||
atlast: $(ATLOBJ)
|
||||
! cc $(CFLAGS) $(ATLOBJ) -o atlast $(LIBRARIES)
|
||||
|
||||
atlast.o: atlast.c atldef.h
|
||||
atldef.h: atlast.h
|
||||
--- 18,24 ----
|
||||
all: $(APPS)
|
||||
|
||||
atlast: $(ATLOBJ)
|
||||
! $(CC) $(CFLAGS) $(ATLOBJ) -o atlast $(LIBRARIES)
|
||||
|
||||
atlast.o: atlast.c atldef.h
|
||||
atldef.h: atlast.h
|
||||
***************
|
||||
*** 33,39 ****
|
||||
echo >>/tmp/regin.tmp
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue