# Created by: frase@frase.id.au # $FreeBSD$ PORTNAME= git-annex PORTVERSION= 4.20130601 PORTREVISION= 1 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Manage files with git, without checking their contents into git LICENSE= GPLv3 USE_CABAL= bloomfilter dataenc dlist edit-distance extensible-exceptions \ hslogger HTTP IfElse json MissingH MonadCatchIO-transformers \ monad-control mtl>=2 network>=2.0 QuickCheck>=2.1 random \ SafeSemaphore SHA text unix-compat utf8-string uuid USE_GMAKE= yes USES= perl5 USE_PERL5= build BUILD_DEPENDS+= rsync:${PORTSDIR}/net/rsync \ git:${PORTSDIR}/devel/git \ gsha256sum:${PORTSDIR}/sysutils/coreutils RUN_DEPENDS+= rsync:${PORTSDIR}/net/rsync \ git:${PORTSDIR}/devel/git \ gsha256sum:${PORTSDIR}/sysutils/coreutils EXECUTABLE= git-annex git-annex-shell STANDALONE= yes OPTIONS_DEFINE= S3 ASSISTANT INOTIFY WEBAPP PAIRING PRODUCTION TDFA OPTIONS_DEFAULT= S3 ASSISTANT S3_DESC= S3 support ASSISTANT_DESC= 'assistant' and 'watch' commands INOTIFY_DESC= File system notifications support WEBAPP_DESC= Web application (requires assistant) PAIRING_DESC= Enable pairing (requires web application) PRODUCTION_DESC= Production build TDFA_DESC= Use regex-tdfa for wildcards NO_STAGE= yes .include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk" .if ${PORT_OPTIONS:MS3} CONFIGURE_ARGS+= --flags="S3" USE_CABAL+= hS3 .else CONFIGURE_ARGS+= --flags="-S3" .endif .if ${PORT_OPTIONS:MASSISTANT} CONFIGURE_ARGS+= --flags="Assistant" USE_CABAL+= async stm>=2.3 .else 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 -WebDAV" .if ${PORT_OPTIONS:MPRODUCTION} CONFIGURE_ARGS+= --flags="Production" .else CONFIGURE_ARGS+= --flags="-Production" .endif .if ${PORT_OPTIONS:MTDFA} CONFIGURE_ARGS+= --flags="TDFA" USE_CABAL+= regex-tdfa .else CONFIGURE_ARGS+= --flags="-TDFA" .endif .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include