freebsd-ports/devel/lemon/Makefile
Martin Wilke 625dc5f2f7 - Respect CC
PR:		162594
Submitted by:	Jan Beich <jbeich@tormail.net>
Approved by:	maintainer
2012-01-03 23:34:26 +00:00

30 lines
684 B
Makefile

# Ports collection makefile for: lemon
# Date created: June 4, 2001
# Whom: Mikhail Teterin
#
# $FreeBSD$
#
PORTNAME= lemon
PORTVERSION= 1.69
CATEGORIES= devel
MASTER_SITES= http://tx97.net/pub/distfiles/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= vmagerya@gmail.com
COMMENT= An LALR(1) parser generator. Similar in function to yacc and bison
USE_BZIP2= yes
MAKEFILE= /dev/null
ALL_TARGET= ${PORTNAME}
post-patch:
${REINPLACE_CMD} -e 's| = pathsearch(.*| = "${DATADIR}/lempar.c";|' \
${WRKSRC}/lemon.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lemon ${PREFIX}/bin/
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/lempar.c ${DATADIR}/
.include <bsd.port.mk>