Lines 15-30
MAINTAINER= vmagerya@gmail.com
Link Here
|
15 |
COMMENT= An LALR(1) parser generator. Similar in function to yacc and bison |
15 |
COMMENT= An LALR(1) parser generator. Similar in function to yacc and bison |
16 |
|
16 |
|
17 |
USE_BZIP2= yes |
17 |
USE_BZIP2= yes |
|
|
18 |
MAKEFILE= /dev/null |
19 |
ALL_TARGET= ${PORTNAME} |
18 |
|
20 |
|
19 |
post-patch: |
21 |
post-patch: |
20 |
${REINPLACE_CMD} -e 's| = pathsearch(.*| = "${DATADIR}/lempar.c";|' \ |
22 |
${REINPLACE_CMD} -e 's| = pathsearch(.*| = "${DATADIR}/lempar.c";|' \ |
21 |
${WRKSRC}/lemon.c |
23 |
${WRKSRC}/lemon.c |
22 |
|
24 |
|
23 |
do-build: |
|
|
24 |
cd ${WRKSRC} && ${MAKE} PROG=lemon NOMAN=1 NO_MAN=1 \ |
25 |
CFLAGS="-g ${CFLAGS}" \ |
26 |
-f /usr/share/mk/bsd.prog.mk |
27 |
|
28 |
do-install: |
25 |
do-install: |
29 |
${INSTALL_PROGRAM} ${WRKSRC}/lemon ${PREFIX}/bin/ |
26 |
${INSTALL_PROGRAM} ${WRKSRC}/lemon ${PREFIX}/bin/ |
30 |
${MKDIR} ${DATADIR} |
27 |
${MKDIR} ${DATADIR} |