blob: e21df3d873fabcebe33fa04bd2248c7fa51898ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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
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 ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/lempar.c ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>
|