mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
524a8e2f6a
- Silence patching - Switch to options helpers
37 lines
784 B
Makefile
37 lines
784 B
Makefile
# Created by: Pedro Giffuni
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= atlast
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.fourmilab.ch/atlast/download/${PORTVERSION}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Autodesk Threaded Language Application System Toolkit
|
|
|
|
LICENSE= PD
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDOCS= atlast.html atlast.pdf
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "/^COPTIONS = /s, = .*, = ${CFLAGS}, " \
|
|
-e "/^CC = /s,= .*, = ${CC}," \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|