aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lemon/Makefile
blob: cc793576f5a9bf786db9614cc15836310c16dd7f (plain) (blame)
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
27
28
29
30
# 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>