mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
238940659f
Hat: portmgr
41 lines
891 B
Makefile
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>
|