1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/atlast/Makefile
2008-08-19 09:18:37 +00:00

41 lines
891 B
Makefile

# 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= ports@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>