Clean up.
Remove a duplicate entry from pkg-plist.
This commit is contained in:
parent
eba4965833
commit
2a313658bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43791
2 changed files with 6 additions and 18 deletions
|
@ -25,6 +25,12 @@ USE_RUBY= yes
|
|||
USE_RUBY_AMSTD= yes
|
||||
USE_RUBY_SETUP= yes
|
||||
|
||||
.if defined(RUNTIME)
|
||||
CONFIGURE_ARGS= --with=lib/raccrt,ext/cparse
|
||||
.else
|
||||
CONFIGURE_ARGS= --with=bin/racc,lib/racc,ext/cscan
|
||||
.endif
|
||||
|
||||
DOCS_EN= changes.html command.html debug.html grammer.html \
|
||||
index.html parser.html usage.html
|
||||
DOCS_JA= changes.html command.html debug.html grammer.html \
|
||||
|
@ -32,23 +38,6 @@ DOCS_JA= changes.html command.html debug.html grammer.html \
|
|||
EXAMPLES= array.y array2.y calc-ja.y calc.y conflict.y \
|
||||
hash.y lalr.y lists.y syntax.y yyerr.y
|
||||
|
||||
post-extract:
|
||||
${PERL} -i -ne '/^amstd\b/ || /^strscan\b/ || print' ${WRKSRC}/lib/PATHCONV
|
||||
${RM} -rf ${WRKSRC}/lib/amstd ${WRKSRC}/lib/strscan
|
||||
.if defined(RUNTIME)
|
||||
${PERL} -i -ne '/^racc\b/ || print' ${WRKSRC}/bin/PATHCONV
|
||||
${RM} -rf ${WRKSRC}/bin/racc
|
||||
${PERL} -i -ne '/^cscan\b/ || print' ${WRKSRC}/ext/PATHCONV
|
||||
${RM} -rf ${WRKSRC}/ext/cscan
|
||||
${PERL} -i -ne '/^racc\b/ || print' ${WRKSRC}/lib/PATHCONV
|
||||
${RM} -rf ${WRKSRC}/lib/racc
|
||||
.else
|
||||
${RM} -rf ${WRKSRC}/ext
|
||||
${PERL} -i -ne '/^raccrt\b/ || print' ${WRKSRC}/lib/PATHCONV
|
||||
${RM} -rf ${WRKSRC}/lib/raccrt
|
||||
${RM} -rf ${WRKSRC}/lib/racc/parser.rb
|
||||
.endif
|
||||
|
||||
.if !defined(RUNTIME)
|
||||
post-patch:
|
||||
${PERL} -i -pe '$$. == 1 && s,^#!\s*\S+,#!${RUBY},' \
|
||||
|
|
|
@ -6,7 +6,6 @@ bin/y2racc
|
|||
%%RUBY_SITELIBDIR%%/racc/info.rb
|
||||
%%RUBY_SITELIBDIR%%/racc/iset.rb
|
||||
%%RUBY_SITELIBDIR%%/racc/output.rb
|
||||
%%RUBY_SITELIBDIR%%/racc/parser.rb
|
||||
%%RUBY_SITELIBDIR%%/racc/raccp.rb
|
||||
%%RUBY_SITELIBDIR%%/racc/raccs.rb
|
||||
%%RUBY_SITELIBDIR%%/racc/state.rb
|
||||
|
|
Loading…
Reference in a new issue