summaryrefslogtreecommitdiff
path: root/devel/hs-binary/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-binary/Makefile')
-rw-r--r--devel/hs-binary/Makefile55
1 files changed, 0 insertions, 55 deletions
diff --git a/devel/hs-binary/Makefile b/devel/hs-binary/Makefile
deleted file mode 100644
index b3ab4a926f01..000000000000
--- a/devel/hs-binary/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# New ports collection makefile for: binary
-# Date created: December 15, 2008
-# Whom: Gabor Pali <pgj@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= binary
-PORTVERSION= 0.5.0.1
-CATEGORIES= devel haskell
-MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
-PKGNAMEPREFIX= hs-
-PKGNAMESUFFIX= -ghc
-
-MAINTAINER= haskell@FreeBSD.org
-COMMENT= Efficient binary serialisation for Haskell
-
-BUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc
-RUN_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc
-
-GHC_VERSION= 6.8.3
-CABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs
-CABALDIR= lib/ghc-${GHC_VERSION}/cabal
-
-SUBDIR= lib/${PORTNAME}-${PORTVERSION}
-PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
- PORTNAME=${PORTNAME} \
- PORTVERSION=${PORTVERSION} \
- SUBDIR=${CABALDIR}
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
-PORTDOCS= LICENSE html
-
-CONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${PREFIX}/${CABALDIR} --libsubdir='' --datasubdir=''
-
-.if !defined(NOPORTDOCS)
-BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
-PLIST_SUB+= RMLIC="@comment "
-.else
-PLIST_SUB+= RMLIC=""
-.endif
-
-do-configure:
- cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS}
-
-do-build:
- cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
-.if !defined(NOPORTDOCS)
- cd ${WRKSRC} && ${CABALCMD} haddock
-.endif
-
-do-install:
- cd ${WRKSRC} && ${CABALCMD} install
- ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${CABALDIR}/${PORTNAME}-register.sh
-
-.include <bsd.port.mk>