- Updated to happy-1.18.2
- Simplified Makefile - Created buildlink3.mk
This commit is contained in:
parent
c625daa700
commit
9aae84b8ff
4 changed files with 32 additions and 87 deletions
|
@ -1,49 +1,14 @@
|
|||
# $NetBSD: Makefile,v 1.4 2007/04/24 09:36:09 emil_s Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2009/01/12 03:19:29 phonohawk Exp $
|
||||
#
|
||||
|
||||
DISTNAME= happy-${VERSION}
|
||||
DISTNAME= happy-1.18.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.haskell.org/happy/dist/${VERSION}/
|
||||
DISTFILES= ${DISTNAME}.tar.gz
|
||||
DISTFILES+= ${DISTNAME}-html.tar.gz
|
||||
DISTFILES+= happy.ps.gz
|
||||
SITES.${DISTNAME}-html.tar.gz= http://www.haskell.org/happy/doc/
|
||||
SITES.happy.ps.gz= http://www.haskell.org/happy/doc/ps/
|
||||
|
||||
MAINTAINER= emil@math.su.se
|
||||
HOMEPAGE= http://www.haskell.org/happy/dist/
|
||||
HOMEPAGE= http://www.haskell.org/happy/
|
||||
COMMENT= LALR(1) parser generator for the functional language Haskell
|
||||
|
||||
VERSION= 1.16
|
||||
|
||||
WRKSRC= ${WRKDIR}/happy-${VERSION}
|
||||
USE_PKGLOCALEDIR= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= gmake perl
|
||||
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/happy
|
||||
|
||||
#DEPENDS+= cabal-[0-9]*:../../wip/cabal
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC:Q} && \
|
||||
runhaskell -cpp Setup.lhs configure \
|
||||
--ghc \
|
||||
--prefix=${PREFIX:Q} \
|
||||
--with-compiler=${PREFIX:Q}/bin/ghc \
|
||||
--with-hc-pkg=${PREFIX:Q}/bin/ghc-pkg
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC:Q} && runhaskell -cpp Setup.lhs build
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC:Q} && runhaskell -cpp Setup.lhs install
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/happy.ps ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/happy/* ${DOCDIR}
|
||||
|
||||
.include "../../lang/ghc/buildlink3.mk"
|
||||
.include "../../wip/mk/haskell.mk"
|
||||
.include "../../wip/hs-mtl/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
40
happy/PLIST
40
happy/PLIST
|
@ -1,40 +1,6 @@
|
|||
@comment $NetBSD: PLIST,v 1.2 2007/04/24 09:36:09 emil_s Exp $
|
||||
@comment $NetBSD: PLIST,v 1.3 2009/01/12 03:19:29 phonohawk Exp $
|
||||
bin/happy
|
||||
share/doc/happy/fptools.css
|
||||
share/doc/happy/happy-introduction.html
|
||||
share/doc/happy/happy.ps
|
||||
share/doc/happy/index.html
|
||||
share/doc/happy/ix01.html
|
||||
share/doc/happy/sec-AtrributeGrammarsInHappy.html
|
||||
share/doc/happy/sec-AttrGrammarLimits.html
|
||||
share/doc/happy/sec-AttributeGrammar.html
|
||||
share/doc/happy/sec-AttributeGrammarExample.html
|
||||
share/doc/happy/sec-Precedences.html
|
||||
share/doc/happy/sec-compilation-time.html
|
||||
share/doc/happy/sec-conflict-tips.html
|
||||
share/doc/happy/sec-directives.html
|
||||
share/doc/happy/sec-error.html
|
||||
share/doc/happy/sec-finding-errors.html
|
||||
share/doc/happy/sec-glr-misc.html
|
||||
share/doc/happy/sec-glr-semantics.html
|
||||
share/doc/happy/sec-glr-using.html
|
||||
share/doc/happy/sec-glr.html
|
||||
share/doc/happy/sec-grammar-files.html
|
||||
share/doc/happy/sec-grammar.html
|
||||
share/doc/happy/sec-happy-ghci.html
|
||||
share/doc/happy/sec-info-files.html
|
||||
share/doc/happy/sec-invoking.html
|
||||
share/doc/happy/sec-license.html
|
||||
share/doc/happy/sec-module-header.html
|
||||
share/doc/happy/sec-module-trailer.html
|
||||
share/doc/happy/sec-monads.html
|
||||
share/doc/happy/sec-multiple-parsers.html
|
||||
share/doc/happy/sec-obtaining.html
|
||||
share/doc/happy/sec-reporting-bugs.html
|
||||
share/doc/happy/sec-sequences.html
|
||||
share/doc/happy/sec-tips.html
|
||||
share/doc/happy/sec-type-signatures.html
|
||||
share/doc/happy/sec-using.html
|
||||
share/doc/${PKGNAME}/LICENSE
|
||||
share/${PKGNAME}/GLR_Base
|
||||
share/${PKGNAME}/GLR_Lib
|
||||
share/${PKGNAME}/GLR_Lib-ghc
|
||||
|
@ -49,4 +15,4 @@ share/${PKGNAME}/HappyTemplate-arrays-ghc-debug
|
|||
share/${PKGNAME}/HappyTemplate-coerce
|
||||
share/${PKGNAME}/HappyTemplate-ghc
|
||||
@dirrm share/${PKGNAME}
|
||||
@dirrm share/doc/happy
|
||||
@dirrm share/doc/${PKGNAME}
|
||||
|
|
20
happy/buildlink3.mk
Normal file
20
happy/buildlink3.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2009/01/12 03:19:29 phonohawk Exp $
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
HAPPY_BUILDLINK3_MK:= ${HAPPY_BUILDLINK3_MK}+
|
||||
|
||||
.if ${BUILDLINK_DEPTH} == "+"
|
||||
BUILDLINK_DEPENDS+= happy
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhappy}
|
||||
BUILDLINK_PACKAGES+= happy
|
||||
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}happy
|
||||
|
||||
.if ${HAPPY_BUILDLINK3_MK} == "+"
|
||||
BUILDLINK_DEPMETHOD.happy?= build
|
||||
BUILDLINK_API_DEPENDS.happy+= happy>=1.18.2
|
||||
BUILDLINK_PKGSRCDIR.happy?= ../../wip/happy
|
||||
.endif # HAPPY_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
|
@ -1,11 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.3 2007/04/24 09:36:09 emil_s Exp $
|
||||
$NetBSD: distinfo,v 1.4 2009/01/12 03:19:29 phonohawk Exp $
|
||||
|
||||
SHA1 (happy-1.16-html.tar.gz) = 5d5abc676896dca622481dc328da58999957cf6a
|
||||
RMD160 (happy-1.16-html.tar.gz) = 51e84654769ea03e600b973e7cb3e426f1f446f3
|
||||
Size (happy-1.16-html.tar.gz) = 50571 bytes
|
||||
SHA1 (happy-1.16.tar.gz) = 5fbf5d61f060efb43efeae048ef1e37ab0bb1c97
|
||||
RMD160 (happy-1.16.tar.gz) = ebe54b1c3ee7623de96e56bc69299dd236323781
|
||||
Size (happy-1.16.tar.gz) = 226566 bytes
|
||||
SHA1 (happy.ps.gz) = 3d3f370375c5376f2bb52be0e9593fc0d6f60de5
|
||||
RMD160 (happy.ps.gz) = 8aa89af672919f2009226c8e357369af820fdac5
|
||||
Size (happy.ps.gz) = 63679 bytes
|
||||
SHA1 (happy-1.18.2.tar.gz) = 1fe37e97f410dd4b4344d0b01e6a5f7cfeec7cf3
|
||||
RMD160 (happy-1.18.2.tar.gz) = 9d42d701c51936d705646f32ac2facbfa305ac70
|
||||
Size (happy-1.18.2.tar.gz) = 158782 bytes
|
||||
|
|
Loading…
Reference in a new issue