mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
fe81dd4aea
PR: ports/73454 Submitted by: Nicholas Stallard <snowy@netphile.de>
37 lines
725 B
Makefile
37 lines
725 B
Makefile
# New ports collection makefile for: e
|
|
# Date created: 3 November 2004
|
|
# Whom: snowy
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= e
|
|
PORTVERSION= 0.02718
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.softnet.tuc.gr/~apdim/projects/e/
|
|
|
|
MAINTAINER= snowy@netphile.de
|
|
COMMENT= A tiny expression evaluator
|
|
|
|
MAKEFILE= makefile
|
|
ALL_TARGET= e
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${RM} ${WRKSRC}/${PORTNAME}
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC}|g ; \
|
|
s|-O2|${CFLAGS}|g' ${WRKSRC}/makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in EXAMPLES GRAMMAR README
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|