mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
aeac01a4bb
Approved by: portmgr (not really, but touches unstaged ports)
27 lines
640 B
Makefile
27 lines
640 B
Makefile
# Created by: 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= LALR(1) parser generator. Similar in function to yacc and bison
|
|
|
|
USES= tar:bzip2
|
|
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 ${STAGEDIR}${PREFIX}/bin/
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/lempar.c ${STAGEDIR}${DATADIR}/
|
|
|
|
.include <bsd.port.mk>
|