Update to hscolour-1.16

This commit is contained in:
kili 2010-04-22 21:56:41 +00:00
parent 5b22a0ab29
commit 811f40d736
3 changed files with 84 additions and 116 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/27 21:32:36 kili Exp $
# $OpenBSD: Makefile,v 1.2 2010/04/22 21:56:41 kili Exp $
COMMENT = Haskell code colourizer
V = 1.10.1
DISTNAME = hscolour-$V
DISTNAME = hscolour-1.16
# Rip off the hs- prefix, even if it contains a Haskell library.
PKGNAME = ${DISTNAME}
CATEGORIES = devel
HOMEPAGE = http://www.cs.york.ac.uk/fp/darcs/hscolour/
@ -14,36 +15,9 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m
WANTLIB = c m pthread util
MODULES = lang/ghc
MASTER_SITES = http://hackage.haskell.org/packages/archive/hscolour/$V/ \
ftp://ftp.cs.york.ac.uk/pub/haskell/contrib/
LIB_DEPENDS = gmp::devel/gmp
SETUP_CONF_ARGS = configure -g --prefix=${PREFIX}
SETUP_CONF_ENV = HOME=${PORTHOME} ${CONFIGURE_ENV}
SETUP_PROG = ${WRKSRC}/Setup
SUBST_VARS = MODGHC_VER V
NO_REGRESS = Yes
do-configure:
@cd ${WRKSRC} && ghc --make -o ${SETUP_PROG} Setup.hs
@cd ${WRKBUILD} && exec ${SETENV} ${SETUP_CONF_ENV} \
${SETUP_PROG} ${SETUP_CONF_ARGS}
do-build:
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${SETUP_PROG} build
do-install:
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
${SETUP_PROG} copy --destdir=${DESTDIR}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc
cd ${WRKSRC}/docs && umask 022 && pax -rw hscolour ${PREFIX}/share/doc
MODULES = lang/ghc converters/libiconv
MODGHC_BUILD = cabal hackage haddock register
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (hscolour-1.10.1.tar.gz) = bxw/8UXRj4bqZoBf2LtiXg==
RMD160 (hscolour-1.10.1.tar.gz) = o//4fP2CXDgXYYpARaYh3O3y0eU=
SHA1 (hscolour-1.10.1.tar.gz) = +dnD7zoEVigJzyUa1b4PgTbj9ak=
SHA256 (hscolour-1.10.1.tar.gz) = KT8kuDc74dcNnlpLjTxScWatZFtKyYPBpvxZmcRKLTY=
SIZE (hscolour-1.10.1.tar.gz) = 51292
MD5 (hscolour-1.16.tar.gz) = Tump5qEaMYCCCg+EyyFVxA==
RMD160 (hscolour-1.16.tar.gz) = kwvbMm9LrcJ9Q97Cnufov5/Z9GI=
SHA1 (hscolour-1.16.tar.gz) = RO/Zuk9H6Z0llWfbqwHG12UzeYQ=
SHA256 (hscolour-1.16.tar.gz) = IG+ox+K2nRbUAf7sIEm/WzkrGsTDYouvixcrAMx4V/U=
SIZE (hscolour-1.16.tar.gz) = 57057

View File

@ -1,79 +1,73 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/27 21:32:36 kili Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/04/22 21:56:41 kili Exp $
@bin bin/HsColour
lib/hscolour-${V}/
lib/hscolour-${V}/ghc-${MODGHC_VER}/
lib/hscolour-${V}/ghc-${MODGHC_VER}/HShscolour-${V}.o
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/ANSI.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/Anchors.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/CSS.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/Classify.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/ColourHighlight.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/Colourise.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/General.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/HTML.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/LaTeX.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/MIRC.hi
lib/hscolour-${V}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/TTY.hi
@comment lib/hscolour-${V}/ghc-${MODGHC_VER}/include/
lib/hscolour-${V}/ghc-${MODGHC_VER}/libHShscolour-${V}.a
share/doc/hscolour/
share/doc/hscolour/Language/
share/doc/hscolour/Language-Haskell-HsColour-ANSI.html
share/doc/hscolour/Language-Haskell-HsColour-Anchors.html
share/doc/hscolour/Language-Haskell-HsColour-CSS.html
share/doc/hscolour/Language-Haskell-HsColour-Classify.html
share/doc/hscolour/Language-Haskell-HsColour-ColourHighlight.html
share/doc/hscolour/Language-Haskell-HsColour-Colourise.html
share/doc/hscolour/Language-Haskell-HsColour-General.html
share/doc/hscolour/Language-Haskell-HsColour-HTML.html
share/doc/hscolour/Language-Haskell-HsColour-LaTeX.html
share/doc/hscolour/Language-Haskell-HsColour-MIRC.html
share/doc/hscolour/Language-Haskell-HsColour-TTY.html
share/doc/hscolour/Language-Haskell-HsColour.html
share/doc/hscolour/Language/Haskell/
share/doc/hscolour/Language/Haskell/HsColour/
share/doc/hscolour/Language/Haskell/HsColour.html
share/doc/hscolour/Language/Haskell/HsColour/ANSI.html
share/doc/hscolour/Language/Haskell/HsColour/Anchors.html
share/doc/hscolour/Language/Haskell/HsColour/CSS.html
share/doc/hscolour/Language/Haskell/HsColour/Classify.html
share/doc/hscolour/Language/Haskell/HsColour/ColourHighlight.html
share/doc/hscolour/Language/Haskell/HsColour/Colourise.html
share/doc/hscolour/Language/Haskell/HsColour/General.html
share/doc/hscolour/Language/Haskell/HsColour/HTML.html
share/doc/hscolour/Language/Haskell/HsColour/LaTeX.html
share/doc/hscolour/Language/Haskell/HsColour/MIRC.html
share/doc/hscolour/Language/Haskell/HsColour/TTY.html
share/doc/hscolour/doc-index-B.html
share/doc/hscolour/doc-index-C.html
share/doc/hscolour/doc-index-D.html
share/doc/hscolour/doc-index-E.html
share/doc/hscolour/doc-index-F.html
share/doc/hscolour/doc-index-G.html
share/doc/hscolour/doc-index-H.html
share/doc/hscolour/doc-index-I.html
share/doc/hscolour/doc-index-K.html
share/doc/hscolour/doc-index-L.html
share/doc/hscolour/doc-index-M.html
share/doc/hscolour/doc-index-N.html
share/doc/hscolour/doc-index-O.html
share/doc/hscolour/doc-index-R.html
share/doc/hscolour/doc-index-S.html
share/doc/hscolour/doc-index-T.html
share/doc/hscolour/doc-index-U.html
share/doc/hscolour/doc-index-V.html
share/doc/hscolour/doc-index-W.html
share/doc/hscolour/doc-index-Y.html
share/doc/hscolour/doc-index.html
share/doc/hscolour/haddock.css
share/doc/hscolour/haddock.js
share/doc/hscolour/haskell_icon.gif
share/doc/hscolour/index.html
share/doc/hscolour/minus.gif
share/doc/hscolour/plus.gif
share/hscolour-${V}/
share/hscolour-${V}/hscolour.css
lib/${DISTNAME}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/HS${DISTNAME}.o
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/ANSI.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/Anchors.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/CSS.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/Classify.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/ColourHighlight.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/Colourise.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/General.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/HTML.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/InlineCSS.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/LaTeX.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/MIRC.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/Options.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/Output.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/Haskell/HsColour/TTY.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/libHS${DISTNAME}.a
lib/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh
@unexec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh
lib/${DISTNAME}/unregister.sh
share/doc/${DISTNAME}/
share/doc/${DISTNAME}/LICENCE-GPL
share/doc/${DISTNAME}/html/
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-ANSI.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-Anchors.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-CSS.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-Classify.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-ColourHighlight.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-Colourise.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-General.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-HTML.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-InlineCSS.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-LaTeX.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-MIRC.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-Options.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-Output.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour-TTY.html
share/doc/${DISTNAME}/html/Language-Haskell-HsColour.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/hscolour.haddock
share/doc/${DISTNAME}/html/index-frames.html
share/doc/${DISTNAME}/html/index.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-ANSI.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-Anchors.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-CSS.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-Classify.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-ColourHighlight.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-Colourise.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-General.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-HTML.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-InlineCSS.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-LaTeX.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-MIRC.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-Options.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-Output.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour-TTY.html
share/doc/${DISTNAME}/html/mini_Language-Haskell-HsColour.html
share/doc/${DISTNAME}/html/minus.gif
share/doc/${DISTNAME}/html/plus.gif
share/${DISTNAME}/
share/${DISTNAME}/hscolour.css