1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/math/e/Makefile
2019-11-06 14:00:19 +00:00

32 lines
642 B
Makefile

# Created by: snowy
# $FreeBSD$
PORTNAME= e
PORTVERSION= 0.02718
CATEGORIES= math
MASTER_SITES= http://www.softnet.tuc.gr/~apdim/projects/e/
MAINTAINER= snowy@netphile.de
COMMENT= Tiny expression evaluator
BROKEN= unfetchable
MAKEFILE= makefile
ALL_TARGET= e
OPTIONS_DEFINE= DOCS
post-patch:
@${RM} ${WRKSRC}/${PORTNAME}
@${REINPLACE_CMD} -e 's|gcc|${CC}|g ; \
s|-O2|${CFLAGS}|g' ${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in EXAMPLES GRAMMAR README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>