Skip to content

Commit

Permalink
Snap skeleton project generator and the snap library containing
Browse files Browse the repository at this point in the history
convenience functions and support code for the generator.

ok jasper@ jim@
  • Loading branch information
mkilian committed Sep 24, 2011
1 parent e9fd7e3 commit 2fe48a2
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 0 deletions.
49 changes: 49 additions & 0 deletions www/hs-snap/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/09/24 19:05:32 kili Exp $

COMMENT = Snap project starter and glue code library

DISTNAME = snap-0.5.3.1
CATEGORIES = www
HOMEPAGE = http://snapframework.com/

MAINTAINER = Jim Razmus II <[email protected]>

# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes

MODULES = converters/libiconv \
lang/ghc

MODGHC_BUILD = cabal hackage haddock register

WANTLIB += c gmp m pthread util z

RUN_DEPENDS += archivers/hs-zlib \
devel/hs-blaze-builder \
devel/hs-cereal \
devel/hs-directory-tree \
devel/hs-dlist \
devel/hs-enumerator \
devel/hs-hint \
devel/hs-MonadCatchIO-transformers \
devel/hs-mtl \
devel/hs-text \
devel/hs-unix-compat \
textproc/hs-attoparsec \
textproc/hs-heist \
textproc/hs-bytestring-nums \
www/hs-snap-core \
www/hs-snap-server
BUILD_DEPENDS += ${RUN_DEPENDS}

# Reuse snaps minimal Setup.hs in the project templates to allow
# building a snap project with something like
# $ runghc Setup.hs configure && runghc Setup.hs build
post-extract:
@cp -p ${WRKSRC}/Setup.hs ${WRKSRC}/project_template/default/Setup.hs
@cp -p ${WRKSRC}/Setup.hs ${WRKSRC}/project_template/barebones/Setup.hs

.include <bsd.port.mk>
5 changes: 5 additions & 0 deletions www/hs-snap/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
MD5 (ghc/snap-0.5.3.1.tar.gz) = DpBW5cD3+G3mKvmk/6kHmA==
RMD160 (ghc/snap-0.5.3.1.tar.gz) = rSMZTsQqwvlc331amQztx52pKd8=
SHA1 (ghc/snap-0.5.3.1.tar.gz) = tog2L6W8tO2JOmoPsLXfZxv+dYs=
SHA256 (ghc/snap-0.5.3.1.tar.gz) = OR9fctQ6eIoBnRIIS8PsPzIuolGHxAFcPzpmS8sgibM=
SIZE (ghc/snap-0.5.3.1.tar.gz) = 30009
2 changes: 2 additions & 0 deletions www/hs-snap/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Snap skeleton project generator and the snap library containing
convenience functions and support code for the generator.
46 changes: 46 additions & 0 deletions www/hs-snap/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/09/24 19:05:32 kili Exp $
@bin bin/snap
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
lib/ghc/${DISTNAME}/Snap/
lib/ghc/${DISTNAME}/Snap/Extension/
lib/ghc/${DISTNAME}/Snap/Extension.hi
lib/ghc/${DISTNAME}/Snap/Extension/Heist/
lib/ghc/${DISTNAME}/Snap/Extension/Heist.hi
lib/ghc/${DISTNAME}/Snap/Extension/Heist/Impl.hi
lib/ghc/${DISTNAME}/Snap/Extension/Loader/
lib/ghc/${DISTNAME}/Snap/Extension/Loader/Devel/
lib/ghc/${DISTNAME}/Snap/Extension/Loader/Devel.hi
lib/ghc/${DISTNAME}/Snap/Extension/Loader/Devel/Evaluator.hi
lib/ghc/${DISTNAME}/Snap/Extension/Loader/Devel/Signal.hi
lib/ghc/${DISTNAME}/Snap/Extension/Loader/Devel/TreeWatcher.hi
lib/ghc/${DISTNAME}/Snap/Extension/Server.hi
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
lib/ghc/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
lib/ghc/${DISTNAME}/unregister.sh
share/doc/hs-${DISTNAME}/
share/doc/hs-${DISTNAME}/LICENSE
share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/Snap-Extension-Heist-Impl.html
share/doc/hs-${DISTNAME}/html/Snap-Extension-Heist.html
share/doc/hs-${DISTNAME}/html/Snap-Extension-Loader-Devel.html
share/doc/hs-${DISTNAME}/html/Snap-Extension-Server.html
share/doc/hs-${DISTNAME}/html/Snap-Extension.html
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/frames.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index-frames.html
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/mini_Snap-Extension-Heist-Impl.html
share/doc/hs-${DISTNAME}/html/mini_Snap-Extension-Heist.html
share/doc/hs-${DISTNAME}/html/mini_Snap-Extension-Loader-Devel.html
share/doc/hs-${DISTNAME}/html/mini_Snap-Extension-Server.html
share/doc/hs-${DISTNAME}/html/mini_Snap-Extension.html
share/doc/hs-${DISTNAME}/html/minus.gif
share/doc/hs-${DISTNAME}/html/ocean.css
share/doc/hs-${DISTNAME}/html/plus.gif
share/doc/hs-${DISTNAME}/html/snap.haddock
share/doc/hs-${DISTNAME}/html/synopsis.png

0 comments on commit 2fe48a2

Please sign in to comment.