summaryrefslogtreecommitdiff
path: root/graphics/hs-HGL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hs-HGL/Makefile')
-rw-r--r--graphics/hs-HGL/Makefile76
1 files changed, 0 insertions, 76 deletions
diff --git a/graphics/hs-HGL/Makefile b/graphics/hs-HGL/Makefile
deleted file mode 100644
index c173508091d8..000000000000
--- a/graphics/hs-HGL/Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-# New ports collection makefile for: hs-HGL-ghc
-# Date created: February 25 2008
-# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= HGL
-PORTVERSION= 3.2.0.2
-CATEGORIES= graphics haskell
-MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
-PKGNAMEPREFIX= hs-
-PKGNAMESUFFIX= -ghc
-
-MAINTAINER= jacula@gmail.com
-COMMENT= A simple Haskell graphics library based on X11 or Win32
-
-BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
- hs-x11-ghc>=1.2.1:${PORTSDIR}/x11/hs-x11-ghc
-RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
- hs-x11-ghc>=1.2.1:${PORTSDIR}/x11/hs-x11-ghc
-
-GHC_VERSION= 6.10.4
-HGL_VERSION= ${PORTVERSION}
-
-CABAL_CMD= ${LOCALBASE}/bin/runghc Setup.hs
-
-HGL_LIBDIR_REL= lib/${DISTNAME}
-DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
-
-PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
- HGL_LIBDIR_REL=${HGL_LIBDIR_REL} \
- HGL_VERSION=${HGL_VERSION}
-
-.if defined(NOPORTDOCS)
-PLIST_SUB+= NOPORTDOCS=""
-.else
-PLIST_SUB+= NOPORTDOCS="@comment "
-.endif
-
-.if !defined(NOPORTDOCS)
-
-PORT_HADDOCK!= (cd ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
-.if !empty(PORT_HADDOCK:M?0)
-BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
-.endif
-BUILD_DEPENDS+= HsColour:${PORTSDIR}/print/hs-hscolour
-
-HSCOLOUR_VERSION= 1.15
-HSCOLOUR_DATADIR= ${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
-
-PORTDOCS= *
-.endif
-
-.SILENT:
-
-do-configure:
- cd ${WRKSRC} && ${CABAL_CMD} configure --ghc --haddock-options=-w --prefix=${PREFIX}
-
-do-build:
- cd ${WRKSRC} && ${CABAL_CMD} build \
- && ${CABAL_CMD} register --gen-script
-
-.if !defined(NOPORTDOCS)
- cd ${WRKSRC} && ${CABAL_CMD} haddock --hyperlink-source \
- --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
-.endif
-
-do-install:
- cd ${WRKSRC} && ${CABAL_CMD} install \
- && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${HGL_LIBDIR_REL}/register.sh
-
-post-install:
- @${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
-
-.include <bsd.port.mk>