diff --git a/devel/lemon/Makefile b/devel/lemon/Makefile index 5a5a3a25638e..cc793576f5a9 100644 --- a/devel/lemon/Makefile +++ b/devel/lemon/Makefile @@ -15,16 +15,13 @@ 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-build: - cd ${WRKSRC} && ${MAKE} PROG=lemon NOMAN=1 NO_MAN=1 \ - CFLAGS="-g ${CFLAGS}" \ - -f /usr/share/mk/bsd.prog.mk - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lemon ${PREFIX}/bin/ ${MKDIR} ${DATADIR}