freebsd-ports/math/e/Makefile

30 lines
620 B
Makefile
Raw Normal View History

# 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
MAKEFILE= makefile
ALL_TARGET= e
2014-02-21 11:20:34 +01:00
OPTIONS_DEFINE= DOCS
post-patch:
@${RM} ${WRKSRC}/${PORTNAME}
@${REINPLACE_CMD} -e 's|gcc|${CC}|g ; \
s|-O2|${CFLAGS}|g' ${WRKSRC}/makefile
do-install:
2014-02-21 11:20:34 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in EXAMPLES GRAMMAR README
2014-02-21 11:20:34 +01:00
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>