svn commit: r303673 - head/devel/hs-git-annex
Gabor Pali
pgj at FreeBSD.org
Tue Sep 4 21:08:31 UTC 2012
Author: pgj
Date: Tue Sep 4 21:08:30 2012
New Revision: 303673
URL: http://svn.freebsd.org/changeset/ports/303673
Log:
- Update to 3.20120807
- Add options
- Take maintainership for haskell
PR: ports/170785
Submitted by: pgj
Approved by: maintainer (timeout)
Obtained from: FreeBSD Haskell
Modified:
head/devel/hs-git-annex/Makefile
head/devel/hs-git-annex/distinfo
Modified: head/devel/hs-git-annex/Makefile
==============================================================================
--- head/devel/hs-git-annex/Makefile Tue Sep 4 21:05:15 2012 (r303672)
+++ head/devel/hs-git-annex/Makefile Tue Sep 4 21:08:30 2012 (r303673)
@@ -6,11 +6,10 @@
#
PORTNAME= git-annex
-PORTVERSION= 3.20120522
-PORTREVISION= 1
+PORTVERSION= 3.20120807
CATEGORIES= devel haskell
-MAINTAINER= frase at frase.id.au
+MAINTAINER= haskell at 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/rsyn
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>
Modified: head/devel/hs-git-annex/distinfo
==============================================================================
--- head/devel/hs-git-annex/distinfo Tue Sep 4 21:05:15 2012 (r303672)
+++ head/devel/hs-git-annex/distinfo Tue Sep 4 21:08:30 2012 (r303673)
@@ -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
More information about the svn-ports-all
mailing list