aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-git-annex
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-09-04 21:08:30 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-09-04 21:08:30 +0000
commit6bccde239919c15cd90049e1b0d95688f857e7fc (patch)
tree26ed168a7e84865e5f7ea3c57727f6515144a716 /devel/hs-git-annex
parent84f7423f73827ce8fd8d5ba370e98ae22cfa5995 (diff)
downloadports-6bccde239919c15cd90049e1b0d95688f857e7fc.tar.gz
ports-6bccde239919c15cd90049e1b0d95688f857e7fc.zip
Notes
Diffstat (limited to 'devel/hs-git-annex')
-rw-r--r--devel/hs-git-annex/Makefile34
-rw-r--r--devel/hs-git-annex/distinfo4
2 files changed, 29 insertions, 9 deletions
diff --git a/devel/hs-git-annex/Makefile b/devel/hs-git-annex/Makefile
index 05739180623b..e13ac9eba878 100644
--- a/devel/hs-git-annex/Makefile
+++ b/devel/hs-git-annex/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= git-annex
-PORTVERSION= 3.20120522
-PORTREVISION= 1
+PORTVERSION= 3.20120807
CATEGORIES= devel haskell
-MAINTAINER= frase@frase.id.au
+MAINTAINER= haskell@FreeBSD.org
COMMENT= Manage files with git, without checking their contents into git
LICENSE= GPLv3
@@ -18,10 +17,9 @@ FILE_LICENSE= GPL
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= 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_GMAKE= yes
USE_PERL5_BUILD= yes
@@ -35,5 +33,27 @@ RUN_DEPENDS+= rsync:${PORTSDIR}/net/rsync \
EXECUTABLE= git-annex git-annex-shell
STANDALONE= yes
+OPTIONS_DEFINE= S3 ASSISTANT
+OPTIONS_DEFAULT= S3 ASSISTANT
+
+S3_DESC= S3 support
+ASSISTANT_DESC= 'assistant' and 'watch' commands
+
+.include <bsd.port.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+= stm>=2.3
+.else
+CONFIGURE_ARGS+= --flags="-Assistant"
+.endif
+
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-git-annex/distinfo b/devel/hs-git-annex/distinfo
index f0104c8402d7..4de2446bd2cb 100644
--- a/devel/hs-git-annex/distinfo
+++ b/devel/hs-git-annex/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cabal/git-annex-3.20120522.tar.gz) = 694e59c93e8049172a54e6898c274b200c62d62b9b3064687a76c318727b5925
-SIZE (cabal/git-annex-3.20120522.tar.gz) = 638849
+SHA256 (cabal/git-annex-3.20120807.tar.gz) = 89c2a504c5570e2162809a81ee470f41709fb6b7a32c3f18f59f2fd8e5a149fb
+SIZE (cabal/git-annex-3.20120807.tar.gz) = 1183955