blob: cb3fd233f2cca4e6956473d39a570534cb0718ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: atlast
# Date created: 26 Aug 97
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= atlast
PORTVERSION= 1.1
CATEGORIES= lang
MASTER_SITES= http://www.fourmilab.ch/atlast/ \
http://www.fourmilab.to/atlast/
MAINTAINER= laszlof@FreeBSD.org
COMMENT= Autodesk Threaded Language Application System Toolkit
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}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|