- Update to 2.3.3

PR:		120465
Submitted by:	Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp> (maintainer)
This commit is contained in:
Martin Wilke 2008-02-15 19:43:28 +00:00
parent 6b234f0563
commit c2e00c319f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207270
6 changed files with 220 additions and 26 deletions

View File

@ -6,12 +6,11 @@
#
PORTNAME= bnfc
PORTVERSION= 2.3b
PORTREVISION= 2
PORTVERSION= 2.4b
CATEGORIES= devel
MASTER_SITES= http://www.cs.chalmers.se/~markus/BNFC/ \
http://www.cs.chalmers.se/Cs/Grundutb/Kurser/komp/current/resources/
DISTNAME= BNFC_${PORTVERSION}
MASTER_SITES= http://www.cs.chalmers.se/Cs/Research/Language-technology/BNFC/download/ \
http://web.student.chalmers.se/~kaiw/FreeBSD/disfiles/
DISTNAME= BNFC-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= kaiw27@gmail.com
@ -19,19 +18,18 @@ COMMENT= A Labelled BNF converter
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
WRKSRC= ${WRKDIR}/BNFC
USE_GMAKE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bnfc ${PREFIX}/bin
post-install:
${RM} -f ${WRKSRC}/examples/.cvsignore
${RM} -f ${WRKSRC}/examples/haskell-core/.cvsignore
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/LBNF-report.tex ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (BNFC_2.3b.tgz) = 1c31e0ef06ed27032a0f50d1b0ea860d
SHA256 (BNFC_2.3b.tgz) = 502245ca5624a1458f0a5ca1c928329a56e4da31c9fee496c327f0849f7361f7
SIZE (BNFC_2.3b.tgz) = 338176
MD5 (BNFC-2.4b.tgz) = 8eac71d4883e5209a6c78fbad2c2c5fd
SHA256 (BNFC-2.4b.tgz) = fba3ae8546f37bed3ca224db336e6417b5ead442570f09e15be0507334c01772
SIZE (BNFC-2.4b.tgz) = 1073563

View File

@ -1,4 +1,93 @@
bin/bnfc
%%PORTDOCS%%%%DOCSDIR%%/BNF.jpg
%%PORTDOCS%%%%DOCSDIR%%/BNFC_XML.html
%%PORTDOCS%%%%DOCSDIR%%/BNFConv.bib
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_CPP_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_C_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_Haskell_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_Java1_5_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_Java_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_OCaml_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Report.tex
%%PORTDOCS%%%%DOCSDIR%%/CC-2004.bib
%%PORTDOCS%%%%DOCSDIR%%/CC-2004.tex
%%PORTDOCS%%%%DOCSDIR%%/HW-tooldemo.tex
%%PORTDOCS%%%%DOCSDIR%%/HW2004.pdf
%%PORTDOCS%%%%DOCSDIR%%/HW2004.sxi
%%PORTDOCS%%%%DOCSDIR%%/HW2004_slides.tex
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.pdf
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.tex
%%PORTDOCS%%%%DOCSDIR%%/LBNF.tex
%%PORTDOCS%%%%DOCSDIR%%/Makefile
%%PORTDOCS%%%%DOCSDIR%%/bnf-converter.html
%%PORTDOCS%%%%DOCSDIR%%/bnfc_1.1.html
%%PORTDOCS%%%%DOCSDIR%%/c.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/BNFConv.bib
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/CC-2004.bib
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/CC-2004.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/LBNF.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/c.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/cpp.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/haskell.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/java.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/lbnf_spec.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/llncs.cls
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/prototyping.tex
%%PORTDOCS%%%%DOCSDIR%%/cpp.tex
%%PORTDOCS%%%%DOCSDIR%%/default.css
%%PORTDOCS%%%%DOCSDIR%%/examples/Alfa.cf
%%PORTDOCS%%%%DOCSDIR%%/examples/C.cf
%%PORTDOCS%%%%DOCSDIR%%/examples/DefinedRules.cf
%%PORTDOCS%%%%DOCSDIR%%/examples/LBNF.cf
%%PORTDOCS%%%%DOCSDIR%%/examples/Sorting.alfa
%%PORTDOCS%%%%DOCSDIR%%/examples/runtime.c
%%PORTDOCS%%%%DOCSDIR%%/glr-bnfc.html
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/GPCE-2004.bib
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/GPCE-2004.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/LBNF.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/Makefile
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/c.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/cpp.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/haskell.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/java.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/lbnf_spec.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/llncs.cls
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/prototyping.tex
%%PORTDOCS%%%%DOCSDIR%%/haskell.tex
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/java.tex
%%PORTDOCS%%%%DOCSDIR%%/lbnf_spec.tex
%%PORTDOCS%%%%DOCSDIR%%/llncs.cls
%%PORTDOCS%%%%DOCSDIR%%/pragmas.html
%%PORTDOCS%%%%DOCSDIR%%/prototyping.tex
%%PORTDOCS%%%%DOCSDIR%%/quick.html
%%PORTDOCS%%%%DOCSDIR%%/retrospect2006.txt
%%PORTDOCS%%%%DOCSDIR%%/sig-alt.cls
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/BNFC_tech_2004.bib
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/BNFC_tech_2004.tex
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/ChalmGUmarke.eps
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/ChalmGUtextsvEng.eps
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/Makefile
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/tech2004.tex
%%PORTDOCS%%%%DOCSDIR%%/tutorial/Makefile
%%PORTDOCS%%%%DOCSDIR%%/tutorial/bnfc-tutorial.html
%%PORTDOCS%%%%DOCSDIR%%/tutorial/bnfc-tutorial.txt
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/Calc.cf
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/c/Interpret.c
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/c/Interpreter.c
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/c/Interpreter.h
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/ex1.calc
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/haskell/Compile.hs
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/haskell/Compiler.hs
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/haskell/Interpret.hs
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/haskell/Interpreter.hs
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/java/Calc/Interpret.java
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/java/Calc/Interpreter.java
%%PORTDOCS%%%%DOCSDIR%%/tutorial/cmm/CMM.cf
%%PORTDOCS%%%%DOCSDIR%%/tutorial/cmm/fibonacci.cmm
%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuttree.dot
%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuttree.png
%%PORTDOCS%%%%DOCSDIR%%/user.html
%%EXAMPLESDIR%%/C4.cf
%%EXAMPLESDIR%%/JavaletteLight.cf
%%EXAMPLESDIR%%/OCL.cf
@ -23,5 +112,15 @@ bin/bnfc
@dirrm %%EXAMPLESDIR%%/multi
@dirrm %%EXAMPLESDIR%%/haskell-core
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.tex
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/cmm
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc/java/Calc
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc/java
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc/haskell
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc/c
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tech-2004
%%PORTDOCS%%@dirrm %%DOCSDIR%%/gpce-04
%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
%%PORTDOCS%%@dirrm %%DOCSDIR%%/cc-2004
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -6,12 +6,11 @@
#
PORTNAME= bnfc
PORTVERSION= 2.3b
PORTREVISION= 2
PORTVERSION= 2.4b
CATEGORIES= devel
MASTER_SITES= http://www.cs.chalmers.se/~markus/BNFC/ \
http://www.cs.chalmers.se/Cs/Grundutb/Kurser/komp/current/resources/
DISTNAME= BNFC_${PORTVERSION}
MASTER_SITES= http://www.cs.chalmers.se/Cs/Research/Language-technology/BNFC/download/ \
http://web.student.chalmers.se/~kaiw/FreeBSD/disfiles/
DISTNAME= BNFC-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= kaiw27@gmail.com
@ -19,19 +18,18 @@ COMMENT= A Labelled BNF converter
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
WRKSRC= ${WRKDIR}/BNFC
USE_GMAKE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bnfc ${PREFIX}/bin
post-install:
${RM} -f ${WRKSRC}/examples/.cvsignore
${RM} -f ${WRKSRC}/examples/haskell-core/.cvsignore
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/LBNF-report.tex ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (BNFC_2.3b.tgz) = 1c31e0ef06ed27032a0f50d1b0ea860d
SHA256 (BNFC_2.3b.tgz) = 502245ca5624a1458f0a5ca1c928329a56e4da31c9fee496c327f0849f7361f7
SIZE (BNFC_2.3b.tgz) = 338176
MD5 (BNFC-2.4b.tgz) = 8eac71d4883e5209a6c78fbad2c2c5fd
SHA256 (BNFC-2.4b.tgz) = fba3ae8546f37bed3ca224db336e6417b5ead442570f09e15be0507334c01772
SIZE (BNFC-2.4b.tgz) = 1073563

View File

@ -1,4 +1,93 @@
bin/bnfc
%%PORTDOCS%%%%DOCSDIR%%/BNF.jpg
%%PORTDOCS%%%%DOCSDIR%%/BNFC_XML.html
%%PORTDOCS%%%%DOCSDIR%%/BNFConv.bib
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_CPP_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_C_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_Haskell_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_Java1_5_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_Java_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Converter_OCaml_Mode.html
%%PORTDOCS%%%%DOCSDIR%%/BNF_Report.tex
%%PORTDOCS%%%%DOCSDIR%%/CC-2004.bib
%%PORTDOCS%%%%DOCSDIR%%/CC-2004.tex
%%PORTDOCS%%%%DOCSDIR%%/HW-tooldemo.tex
%%PORTDOCS%%%%DOCSDIR%%/HW2004.pdf
%%PORTDOCS%%%%DOCSDIR%%/HW2004.sxi
%%PORTDOCS%%%%DOCSDIR%%/HW2004_slides.tex
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.pdf
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.tex
%%PORTDOCS%%%%DOCSDIR%%/LBNF.tex
%%PORTDOCS%%%%DOCSDIR%%/Makefile
%%PORTDOCS%%%%DOCSDIR%%/bnf-converter.html
%%PORTDOCS%%%%DOCSDIR%%/bnfc_1.1.html
%%PORTDOCS%%%%DOCSDIR%%/c.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/BNFConv.bib
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/CC-2004.bib
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/CC-2004.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/LBNF.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/c.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/cpp.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/haskell.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/java.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/lbnf_spec.tex
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/llncs.cls
%%PORTDOCS%%%%DOCSDIR%%/cc-2004/prototyping.tex
%%PORTDOCS%%%%DOCSDIR%%/cpp.tex
%%PORTDOCS%%%%DOCSDIR%%/default.css
%%PORTDOCS%%%%DOCSDIR%%/examples/Alfa.cf
%%PORTDOCS%%%%DOCSDIR%%/examples/C.cf
%%PORTDOCS%%%%DOCSDIR%%/examples/DefinedRules.cf
%%PORTDOCS%%%%DOCSDIR%%/examples/LBNF.cf
%%PORTDOCS%%%%DOCSDIR%%/examples/Sorting.alfa
%%PORTDOCS%%%%DOCSDIR%%/examples/runtime.c
%%PORTDOCS%%%%DOCSDIR%%/glr-bnfc.html
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/GPCE-2004.bib
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/GPCE-2004.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/LBNF.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/Makefile
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/c.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/cpp.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/haskell.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/java.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/lbnf_spec.tex
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/llncs.cls
%%PORTDOCS%%%%DOCSDIR%%/gpce-04/prototyping.tex
%%PORTDOCS%%%%DOCSDIR%%/haskell.tex
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/java.tex
%%PORTDOCS%%%%DOCSDIR%%/lbnf_spec.tex
%%PORTDOCS%%%%DOCSDIR%%/llncs.cls
%%PORTDOCS%%%%DOCSDIR%%/pragmas.html
%%PORTDOCS%%%%DOCSDIR%%/prototyping.tex
%%PORTDOCS%%%%DOCSDIR%%/quick.html
%%PORTDOCS%%%%DOCSDIR%%/retrospect2006.txt
%%PORTDOCS%%%%DOCSDIR%%/sig-alt.cls
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/BNFC_tech_2004.bib
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/BNFC_tech_2004.tex
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/ChalmGUmarke.eps
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/ChalmGUtextsvEng.eps
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/Makefile
%%PORTDOCS%%%%DOCSDIR%%/tech-2004/tech2004.tex
%%PORTDOCS%%%%DOCSDIR%%/tutorial/Makefile
%%PORTDOCS%%%%DOCSDIR%%/tutorial/bnfc-tutorial.html
%%PORTDOCS%%%%DOCSDIR%%/tutorial/bnfc-tutorial.txt
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/Calc.cf
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/c/Interpret.c
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/c/Interpreter.c
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/c/Interpreter.h
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/ex1.calc
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/haskell/Compile.hs
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/haskell/Compiler.hs
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/haskell/Interpret.hs
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/haskell/Interpreter.hs
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/java/Calc/Interpret.java
%%PORTDOCS%%%%DOCSDIR%%/tutorial/calc/java/Calc/Interpreter.java
%%PORTDOCS%%%%DOCSDIR%%/tutorial/cmm/CMM.cf
%%PORTDOCS%%%%DOCSDIR%%/tutorial/cmm/fibonacci.cmm
%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuttree.dot
%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuttree.png
%%PORTDOCS%%%%DOCSDIR%%/user.html
%%EXAMPLESDIR%%/C4.cf
%%EXAMPLESDIR%%/JavaletteLight.cf
%%EXAMPLESDIR%%/OCL.cf
@ -23,5 +112,15 @@ bin/bnfc
@dirrm %%EXAMPLESDIR%%/multi
@dirrm %%EXAMPLESDIR%%/haskell-core
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/LBNF-report.tex
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/cmm
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc/java/Calc
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc/java
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc/haskell
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc/c
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial/calc
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tech-2004
%%PORTDOCS%%@dirrm %%DOCSDIR%%/gpce-04
%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
%%PORTDOCS%%@dirrm %%DOCSDIR%%/cc-2004
%%PORTDOCS%%@dirrm %%DOCSDIR%%