From f702420e44d44b9914ae5b0e9e5406808e060e79 Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Sun, 24 Jun 2012 10:36:20 +0000 Subject: [PATCH] Static file serving subsite for Yesod Web Framework. WWW: http://www.yesodweb.com/ Obtained from: FreeBSD Haskell --- lang/ghc/bsd.hackage.mk | 1 + www/Makefile | 1 + www/hs-yesod-static/Makefile | 23 +++++++++++++++++++++++ www/hs-yesod-static/distinfo | 2 ++ www/hs-yesod-static/pkg-descr | 3 +++ 5 files changed, 30 insertions(+) create mode 100644 www/hs-yesod-static/Makefile create mode 100644 www/hs-yesod-static/distinfo create mode 100644 www/hs-yesod-static/pkg-descr diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index 8263f8958542..e250c3e31b4c 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -337,6 +337,7 @@ yesod-form_port= www/hs-yesod-form yesod-json_port= www/hs-yesod-json yesod-persistent_port= www/hs-yesod-persistent yesod-routes_port= www/hs-yesod-routes +yesod-static_port= www/hs-yesod-static zip-archive_port= archivers/hs-zip-archive zlib_port= archivers/hs-zlib zlib-bindings_port= archivers/hs-zlib-bindings diff --git a/www/Makefile b/www/Makefile index 997312406c30..6a94285f7e58 100644 --- a/www/Makefile +++ b/www/Makefile @@ -327,6 +327,7 @@ SUBDIR += hs-yesod-json SUBDIR += hs-yesod-persistent SUBDIR += hs-yesod-routes + SUBDIR += hs-yesod-static SUBDIR += htdump SUBDIR += html2hdml SUBDIR += html2wml diff --git a/www/hs-yesod-static/Makefile b/www/hs-yesod-static/Makefile new file mode 100644 index 000000000000..5ebbfab4f9a3 --- /dev/null +++ b/www/hs-yesod-static/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: hs-yesod-static +# Date created: June 10, 2012 +# Whom: haskell@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= yesod-static +PORTVERSION= 1.0.0.3 +CATEGORIES= www haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Static file serving subsite for Yesod Web Framework + +LICENSE= MIT + +USE_CABAL= base64-bytestring>=0.1.0.1 cereal>=0.3 conduit>=0.4 \ + crypto-conduit>=0.3 cryptohash>=0.6.1 file-embed>=0.0.4.1 \ + http-types>=0.6.5 text>=0.9 transformers>=0.2.2 \ + unix-compat>=0.2 wai>=1.2 wai-app-static>=1.2 yesod-core>=1.0 + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include diff --git a/www/hs-yesod-static/distinfo b/www/hs-yesod-static/distinfo new file mode 100644 index 000000000000..d969bcef2f30 --- /dev/null +++ b/www/hs-yesod-static/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/yesod-static-1.0.0.3.tar.gz) = adb81f51e94ba2c1689df6f4296f78475a7efd9ab6aa9969a35315ee916387da +SIZE (cabal/yesod-static-1.0.0.3.tar.gz) = 6429 diff --git a/www/hs-yesod-static/pkg-descr b/www/hs-yesod-static/pkg-descr new file mode 100644 index 000000000000..88cb4ba25b3c --- /dev/null +++ b/www/hs-yesod-static/pkg-descr @@ -0,0 +1,3 @@ +Static file serving subsite for Yesod Web Framework. + +WWW: http://www.yesodweb.com/