diff options
Diffstat (limited to 'devel/hs-git-annex/Makefile')
-rw-r--r-- | devel/hs-git-annex/Makefile | 51 |
1 files changed, 39 insertions, 12 deletions
diff --git a/devel/hs-git-annex/Makefile b/devel/hs-git-annex/Makefile index e13ac9eba878..5f53970f9dd8 100644 --- a/devel/hs-git-annex/Makefile +++ b/devel/hs-git-annex/Makefile @@ -1,25 +1,22 @@ -# New ports collection makefile for: git-annex -# Date created: 8 June 2011 -# Whom: frase@frase.id.au -# +# Created by: frase@frase.id.au # $FreeBSD$ -# PORTNAME= git-annex -PORTVERSION= 3.20120807 +PORTVERSION= 3.20121211 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Manage files with git, without checking their contents into git LICENSE= GPLv3 -FILE_LICENSE= GPL +FILE_LICENSE= COPYRIGHT CABAL_SETUP= Setup.hs -USE_CABAL= bloomfilter dataenc edit-distance hslogger HTTP IfElse json \ - lifted-base MissingH monad-control mtl network pcre-light \ - QuickCheck>=2.1 SHA text transformers-base utf8-string +USE_CABAL= async bloomfilter dataenc edit-distance hslogger HTTP IfElse \ + json lifted-base MissingH monad-control mtl network pcre-light \ + QuickCheck>=2.1 SafeSemaphore SHA text transformers-base \ + utf8-string USE_GMAKE= yes USE_PERL5_BUILD= yes @@ -33,13 +30,16 @@ RUN_DEPENDS+= rsync:${PORTSDIR}/net/rsync \ EXECUTABLE= git-annex git-annex-shell STANDALONE= yes -OPTIONS_DEFINE= S3 ASSISTANT +OPTIONS_DEFINE= S3 ASSISTANT INOTIFY WEBAPP PAIRING OPTIONS_DEFAULT= S3 ASSISTANT S3_DESC= S3 support ASSISTANT_DESC= 'assistant' and 'watch' commands +INOTIFY_DESC= File system notifications support +WEBAPP_DESC= Web application (req. assistant) +PAIRING_DESC= Enable pairing (req. web application) -.include <bsd.port.options.mk> +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk" .if ${PORT_OPTIONS:MS3} CONFIGURE_ARGS+= --flags="S3" @@ -55,5 +55,32 @@ USE_CABAL+= stm>=2.3 CONFIGURE_ARGS+= --flags="-Assistant" .endif +.if ${PORT_OPTIONS:MINOTIFY} +CONFIGURE_ARGS+= --flags="Inotify" +USE_CABAL+= kqueue +.else +CONFIGURE_ARGS+= --flags="-Inotify" +.endif + +.if ${PORT_OPTIONS:MWEBAPP} && ${PORT_OPTIONS:MASSISTANT} +CONFIGURE_ARGS+= --flags="Webapp" +USE_CABAL+= yesod yesod-static case-insensitive http-types \ + transformers wai wai-logger warp blaze-builder \ + blaze-html crypto-api hamlet clientsession \ + yesod-default>=1.1.0 data-default +.else +CONFIGURE_ARGS+= --flags="-Webapp" +.endif + +.if ${PORT_OPTIONS:MWEBAPP} && ${PORT_OPTIONS:MPAIRING} +CONFIGURE_ARGS+= --flags="Pairing" +USE_CABAL+= network-multicast network-info +.else +CONFIGURE_ARGS+= --flags="-Pairing" +.endif + +# Disable all the other options +CONFIGURE_ARGS+= --flags="-DNS -XMPP -Dbus" + .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include <bsd.port.mk> |