As usual, it is recommended to rebuild or reinstall all the dependent ports and the lang/ghc port itself in one of the following ways: # portmaster -w -r ghc or # portupgrade -fr lang/ghc In case of pkg(8), it is probably safer to remove all the GHC-dependent packages along with GHC and reinstall everything from scratch. For example: # pkg query "%ro" ghc > ghc-pkgs.txt # pkg delete -y lang/ghc # pkg install -y `cat ghc-pkgs.txt` During update some hs-* ports got two PORTREVISION bumps in a row. Other ports got a PORTVERSION update together with one PORTREVISION bump. This is caused by bulk-bumping PORTREVISION of all hs-* ports. There are a lot of them updated, so figuring out which ones require a bump and which are not is too tedious. Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D18707
48 lines
1005 B
Makefile
48 lines
1005 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Agda-stdlib
|
|
DISTVERSION= 0.16
|
|
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 1
|
|
CATEGORIES= math haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Agda standard library
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= agda
|
|
GH_PROJECT= agda-stdlib
|
|
|
|
USE_CABAL= Agda filemanip>=0.3
|
|
|
|
STANDALONE= yes
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ( \
|
|
${SETENV} ${MAKE_ENV} ${SETUP_CMD} build; \
|
|
dist/build/GenerateEverything/GenerateEverything; \
|
|
agda -i. -isrc README.agda \
|
|
)
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
cd ${WRKSRC} && agda -i. -isrc --html README.agda -v0
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ( \
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DATADIR}; \
|
|
${INSTALL_DATA} LICENCE ${STAGEDIR}${DOCSDIR}; \
|
|
cd src && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR} \
|
|
)
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
|
.include <bsd.port.mk>
|