aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-21 19:49:43 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-21 19:49:43 +0000
commit2196ce4482a339d93003bf9888d296d47e5f31b3 (patch)
treee08452490e78e917609cbeea345c71ae4edff7b2 /lang
parent2953a3d9bf39b2c89596ed9e2fee708c9e4f5bd8 (diff)
downloadports-2196ce4482a339d93003bf9888d296d47e5f31b3.tar.gz
ports-2196ce4482a339d93003bf9888d296d47e5f31b3.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/atlast/Makefile29
-rw-r--r--lang/atlast/distinfo6
-rw-r--r--lang/atlast/files/patch-aa36
-rw-r--r--lang/atlast/files/patch-atlast.c24
4 files changed, 22 insertions, 73 deletions
diff --git a/lang/atlast/Makefile b/lang/atlast/Makefile
index 76e61763b4c7..be8ea9b6b638 100644
--- a/lang/atlast/Makefile
+++ b/lang/atlast/Makefile
@@ -1,31 +1,40 @@
# New ports collection makefile for: atlast
-# Date created: 26 Ag 97
-# Whom: Pedro Giffuni
+# Date created: 26 Aug 97
+# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= atlast
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.1
CATEGORIES= lang
MASTER_SITES= http://www.fourmilab.ch/atlast/ \
http://www.fourmilab.to/atlast/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= laszlof@vonostingroup.com
COMMENT= Autodesk Threaded Language Application System Toolkit
-MAKE_ARGS= CFLAGS="${CFLAGS} -DMEMSTAT -DALIGNMENT -DEXPORT -DNOMEMCHECK"
+SRC= atlast.c atlmain.c
+DEFINES= -DMEMSTAT -DALIGNMENT -DEXPORT
+LDFLAGS+= -lm
PLIST_FILES= bin/atlast
PORTDOCS= atlast.ps atlast.rtf
+do-build:
+.for f in ${SRC}
+ ${CC} ${CFLAGS} ${DEFINES} -c ${WRKSRC}/${f} -o ${WRKSRC}/${f:C/\.c$/.o/}
+.endfor
+ ${CC} ${LDFLAGS} ${SRC:C/(.*)\.c$/${WRKSRC}\/\1.o/} \
+ -o ${WRKSRC}/${PORTNAME}
+
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/atlast ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/atlast.ps ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/atlast.rtf ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/lang/atlast/distinfo b/lang/atlast/distinfo
index 404159c32d53..ec66359189c9 100644
--- a/lang/atlast/distinfo
+++ b/lang/atlast/distinfo
@@ -1,3 +1,3 @@
-MD5 (atlast-1.0.tar.gz) = 6cbf9f57293c04d2a952a29ccb19aa2e
-SHA256 (atlast-1.0.tar.gz) = ef789f91bb5043080ce23f59ac7d6ce48119e9a60ee6737658ec5066f9c64f3b
-SIZE (atlast-1.0.tar.gz) = 269663
+MD5 (atlast-1.1.tar.gz) = 18ee5d3b8e23d6251dfe7799f301384a
+SHA256 (atlast-1.1.tar.gz) = e1f45fc324758706103bc52c6a114607f2f1301c8e9e500b53a7d45db815e242
+SIZE (atlast-1.1.tar.gz) = 270209
diff --git a/lang/atlast/files/patch-aa b/lang/atlast/files/patch-aa
deleted file mode 100644
index a10c74b0e03f..000000000000
--- a/lang/atlast/files/patch-aa
+++ /dev/null
@@ -1,36 +0,0 @@
-*** Makefile.orig Mon May 9 03:26:47 1994
---- Makefile Fri Oct 5 05:18:35 2001
-***************
-*** 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
- echo >>/tmp/regin.tmp
- atlast -iregress </tmp/regin.tmp >/tmp/regout.tmp
-! /bin/diff regout.txt /tmp/regout.tmp
-
- clean:
- rm -f $(APPS)
---- 33,39 ----
- echo >>/tmp/regin.tmp
- echo >>/tmp/regin.tmp
- atlast -iregress </tmp/regin.tmp >/tmp/regout.tmp
-! /usr/bin/diff regout.txt /tmp/regout.tmp
-
- clean:
- rm -f $(APPS)
diff --git a/lang/atlast/files/patch-atlast.c b/lang/atlast/files/patch-atlast.c
deleted file mode 100644
index 99263a80b8b3..000000000000
--- a/lang/atlast/files/patch-atlast.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- atlast.c.orig Fri May 10 23:18:47 2002
-+++ atlast.c Fri May 10 23:36:28 2002
-@@ -3243,14 +3243,17 @@
- { static struct {
- char *sfn;
- FILE *sfd;
-- } stdfiles[] = {
-- {"STDIN", stdin},
-- {"STDOUT", stdout},
-- {"STDERR", stderr}
-+ } stdfiles[] = {
-+ {"STDIN", NULL},
-+ {"STDOUT", NULL},
-+ {"STDERR", NULL}
- };
- int i;
- dictword *dw;
-
-+ stdfiles[0].sfd = stdin;
-+ stdfiles[1].sfd = stdout;
-+ stdfiles[2].sfd = stderr;
- for (i = 0; i < ELEMENTS(stdfiles); i++) {
- if ((dw = atl_vardef(stdfiles[i].sfn,
- 2 * sizeof(stackitem))) != NULL) {