This module locates the full directory to the running program, to

allow the use of paths relative to it.  FindBin supports invocation
of Haskell programs via "ghci", via "runhaskell/runghc", as well
as compiled as an executable.

"to ahead, please" espie@
This commit is contained in:
kili 2010-06-20 09:38:07 +00:00
parent d06ac74fb8
commit 7d654d2943
4 changed files with 54 additions and 0 deletions

18
devel/hs-FindBin/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/06/20 09:38:07 kili Exp $
COMMENT = locate directory of original program
DISTNAME = FindBin-0.0.2
CATEGORIES = devel
HOMEPAGE = http://github.com/audreyt/findbin
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (FindBin-0.0.2.tar.gz) = mxhnxxgN+V+fazgmoh0GKQ==
RMD160 (FindBin-0.0.2.tar.gz) = kchnr/Q3+6mZoCEL9brldJGcgqI=
SHA1 (FindBin-0.0.2.tar.gz) = ZidJyo3mZdeJ7pObSj+Z9a7rOiU=
SHA256 (FindBin-0.0.2.tar.gz) = HzlDcXcA13V4OpTjOPk53gMAjORL7+0VYRlJFbdLAag=
SIZE (FindBin-0.0.2.tar.gz) = 2162

View File

@ -0,0 +1,4 @@
This module locates the full directory to the running program, to
allow the use of paths relative to it. FindBin supports invocation
of Haskell programs via "ghci", via "runhaskell/runghc", as well
as compiled as an executable.

View File

@ -0,0 +1,27 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/06/20 09:38:07 kili Exp $
lib/${DISTNAME}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/HS${DISTNAME}.o
lib/${DISTNAME}/ghc-${MODGHC_VER}/System/
lib/${DISTNAME}/ghc-${MODGHC_VER}/System/Environment/
lib/${DISTNAME}/ghc-${MODGHC_VER}/System/Environment/FindBin.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/libHS${DISTNAME}.a
lib/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh -v0 --force
lib/${DISTNAME}/unregister.sh
share/doc/${DISTNAME}/
share/doc/${DISTNAME}/LICENSE
share/doc/${DISTNAME}/html/
share/doc/${DISTNAME}/html/FindBin.haddock
share/doc/${DISTNAME}/html/System-Environment-FindBin.html
share/doc/${DISTNAME}/html/doc-index.html
share/doc/${DISTNAME}/html/frames.html
share/doc/${DISTNAME}/html/haddock-util.js
share/doc/${DISTNAME}/html/haddock.css
share/doc/${DISTNAME}/html/haskell_icon.gif
share/doc/${DISTNAME}/html/index-frames.html
share/doc/${DISTNAME}/html/index.html
share/doc/${DISTNAME}/html/mini_System-Environment-FindBin.html
share/doc/${DISTNAME}/html/minus.gif
share/doc/${DISTNAME}/html/plus.gif