diff options
author | ashish <ashish@FreeBSD.org> | 2011-05-09 13:28:57 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2011-05-09 13:28:57 +0800 |
commit | c7a47a981222b062ac48e4edc5cae32fbed2b9c7 (patch) | |
tree | a1af1f5739f0a44d179f6f44b2ea70e07401da25 /devel/hs-BNFC | |
parent | 63b87600f00dd6e3a998a1862f7c209aa5e62523 (diff) | |
download | freebsd-ports-graphics-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.tar.gz freebsd-ports-graphics-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.tar.zst freebsd-ports-graphics-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.zip |
- Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports
are also updated to their corresponding Haskell Platform versions, or latest
versions.
We would like to acknowledge the support of the FreeBSD Donations Team and
Eotvos Lorand University, Faculty of Informatics who contributed to the server
that we used for testing.
We would also like to thank all the testers who tested FreeBSD Haskell ports
and provided their feedback.
PR: ports/156642
Approved by: tabthorpe (mentor)
Obtained from: FreeBSD Haskell
Diffstat (limited to 'devel/hs-BNFC')
-rw-r--r-- | devel/hs-BNFC/Makefile | 31 | ||||
-rw-r--r-- | devel/hs-BNFC/distinfo | 5 | ||||
-rw-r--r-- | devel/hs-BNFC/pkg-descr | 19 | ||||
-rw-r--r-- | devel/hs-BNFC/pkg-plist | 126 |
4 files changed, 17 insertions, 164 deletions
diff --git a/devel/hs-BNFC/Makefile b/devel/hs-BNFC/Makefile index 0193f06b64b..0a870448cfa 100644 --- a/devel/hs-BNFC/Makefile +++ b/devel/hs-BNFC/Makefile @@ -5,32 +5,21 @@ # $FreeBSD$ # -PORTNAME= bnfc -PORTVERSION= 2.4b -PORTREVISION= 1 -CATEGORIES= devel -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 +PORTNAME= BNFC +PORTVERSION= 2.4.2.0 +CATEGORIES= devel haskell MAINTAINER= kaiw27@gmail.com COMMENT= A Labelled BNF converter -BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc +LICENSE= GPLv2 +FILE_LICENSE= COPYING -WRKSRC= ${WRKDIR}/BNFC -USE_GMAKE= yes +USE_CABAL= mtl -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bnfc ${PREFIX}/bin - -post-install: - ${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} -.endif +STANDALONE= yes +EXECUTABLE= bnfc +PORTDATA= * +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include <bsd.port.mk> diff --git a/devel/hs-BNFC/distinfo b/devel/hs-BNFC/distinfo index d76c688498d..5a5afee487f 100644 --- a/devel/hs-BNFC/distinfo +++ b/devel/hs-BNFC/distinfo @@ -1,3 +1,2 @@ -MD5 (BNFC-2.4b.tgz) = 8eac71d4883e5209a6c78fbad2c2c5fd -SHA256 (BNFC-2.4b.tgz) = fba3ae8546f37bed3ca224db336e6417b5ead442570f09e15be0507334c01772 -SIZE (BNFC-2.4b.tgz) = 1073563 +SHA256 (cabal/BNFC-2.4.2.0.tar.gz) = c0c69b50f17e13cf5afd9c9d8ce2cabab1273c14bebc91f4f065068af5a7ca5a +SIZE (cabal/BNFC-2.4.2.0.tar.gz) = 182328 diff --git a/devel/hs-BNFC/pkg-descr b/devel/hs-BNFC/pkg-descr index 6f9ec8f2a61..6790411ab8f 100644 --- a/devel/hs-BNFC/pkg-descr +++ b/devel/hs-BNFC/pkg-descr @@ -1,15 +1,6 @@ -The BNF Converter is a compiler construction tool generating a -compiler front-end from a Labeled BNF grammar. It was originally -written to generate Haskell, but starting from Version 2.0, it can -also be used for generating Java, C++, and C. +The BNF Converter is a compiler construction tool generating a compiler +front-end from a Labeled BNF grammar. It was originally written to generate +Haskell, but starting from Version 2.0, it can also be used for generating +Java, C++, and C. -Given a Labeled BNF grammar the tool produces: - - * an abstract syntax as a Haskell/C++/C module or Java directory - * a case skeleton for the abstract syntax in the same language - * an Alex, JLex, or Flex lexer generator file - * a Happy, CUP, or Bison parser generator file - * a pretty-printer as a Haskell/Java/C++/C module - * a Latex file containing a readable specification of the language - -WWW: http://www.cs.chalmers.se/~markus/BNFC/ +WWW: http://www.cse.chalmers.se/research/group/Language-technology/BNFC/ diff --git a/devel/hs-BNFC/pkg-plist b/devel/hs-BNFC/pkg-plist deleted file mode 100644 index a0e908079ab..00000000000 --- a/devel/hs-BNFC/pkg-plist +++ /dev/null @@ -1,126 +0,0 @@ -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 -%%EXAMPLESDIR%%/Prolog.cf -%%EXAMPLESDIR%%/fstStudio.cf -%%EXAMPLESDIR%%/haskell-core/AbsCore.hcr -%%EXAMPLESDIR%%/haskell-core/Core.cf -%%EXAMPLESDIR%%/haskell-core/Hello.hcr -%%EXAMPLESDIR%%/haskell-core/ParCore.hcr -%%EXAMPLESDIR%%/haskell-core/README -%%EXAMPLESDIR%%/haskell-core/TopCore.hs -%%EXAMPLESDIR%%/haskell-core/notes.txt -%%EXAMPLESDIR%%/koe.jll -%%EXAMPLESDIR%%/koe2.c -%%EXAMPLESDIR%%/multi/Arithm.cf -%%EXAMPLESDIR%%/multi/TestArithm.hs -%%EXAMPLESDIR%%/multi/types/Types.cf -%%EXAMPLESDIR%%/multi/types/ex.old -%%EXAMPLESDIR%%/prolog.pl -%%EXAMPLESDIR%%/small.pl -@dirrm %%EXAMPLESDIR%%/multi/types -@dirrm %%EXAMPLESDIR%%/multi -@dirrm %%EXAMPLESDIR%%/haskell-core -@dirrm %%EXAMPLESDIR%% -%%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%% |