diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-02-11 12:30:38 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-02-11 12:30:38 +0000 |
commit | 9284de6ed89198e12fb31e5bb16abb17a330f2b1 (patch) | |
tree | 67c402fa85e4746dd046fca3e75957876ff144b0 /devel/hs-BNFC/Makefile | |
parent | e9c645ef8a5beefe1da0a825ace62996a85f6c61 (diff) | |
download | ports-9284de6ed89198e12fb31e5bb16abb17a330f2b1.tar.gz ports-9284de6ed89198e12fb31e5bb16abb17a330f2b1.zip |
Notes
Diffstat (limited to 'devel/hs-BNFC/Makefile')
-rw-r--r-- | devel/hs-BNFC/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/hs-BNFC/Makefile b/devel/hs-BNFC/Makefile new file mode 100644 index 000000000000..3bd6fe2a9cf8 --- /dev/null +++ b/devel/hs-BNFC/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: bnfc +# Date created: 2007-02-11 +# Whom: Kai Wang <kaiw27@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= bnfc +PORTVERSION= 2.3b +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} +EXTRACT_SUFX= .tgz + +MAINTAINER= kaiw27@gmail.com +COMMENT= A Labelled BNF converter + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc + +USE_GMAKE= yes + +.include <bsd.port.pre.mk> + +do-install: + ${INSTALL_DATA} ${WRKSRC}/bnfc ${PREFIX}/bin + +.if !defined(NOPORTDOCS) +post-install: + ${RM} -f ${WRKSRC}/examples/haskell-core/.cvsignore + ${MKDIR} ${EXAMPLESDIR} + ${CP} -pR ${WRKSRC}/examples/* ${EXAMPLESDIR} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/LBNF-report.tex ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> |