mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Support stage
This commit is contained in:
parent
bd908cb2f2
commit
d6d69f8e07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340508
1 changed files with 4 additions and 5 deletions
|
@ -8,20 +8,19 @@ 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
|
||||
COMMENT= LALR(1) parser generator. Similar in function to yacc and bison
|
||||
|
||||
USE_BZIP2= yes
|
||||
MAKEFILE= /dev/null
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
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}/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/lemon ${STAGEDIR}${PREFIX}/bin/
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lempar.c ${STAGEDIR}${DATADIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue