aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-c2hs
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2007-11-09 08:09:19 +0000
committerVolker Stolz <vs@FreeBSD.org>2007-11-09 08:09:19 +0000
commit5ad310507d5c09c2b0f2468c9f92aeee1db75be3 (patch)
tree925f4e6e592f2beb85669b4ccf98921f0282c2ef /devel/hs-c2hs
parent58bf052253370d23426a80bdf6c5f4252582599f (diff)
downloadports-5ad310507d5c09c2b0f2468c9f92aeee1db75be3.tar.gz
ports-5ad310507d5c09c2b0f2468c9f92aeee1db75be3.zip
Notes
Diffstat (limited to 'devel/hs-c2hs')
-rw-r--r--devel/hs-c2hs/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/hs-c2hs/Makefile b/devel/hs-c2hs/Makefile
index 73e598367ab7..6542a3e13a20 100644
--- a/devel/hs-c2hs/Makefile
+++ b/devel/hs-c2hs/Makefile
@@ -24,12 +24,15 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
GHC_VERSION= 6.6.1
# 'owned' by lang/ghc:
-CABALDIR= ${PREFIX}/lib/ghc-${GHC_VERSION}/cabal
+CABALDIR= ${PREFIX}/${SUBDIR}
CABALCMD= ${LOCALBASE}/bin/runghc Setup.hs
+SUBDIR= lib/ghc-${GHC_VERSION}/cabal
-PLIST_FILES= bin/c2hs
+PLIST_FILES= bin/c2hs ${SUBDIR}/${PORTNAME}/C2HS.hs
+PLIST_DIRS= ${SUBDIR}/${PORTNAME}
CONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${CABALDIR} \
+ --datadir=${CABALDIR}/${PORTNAME} \
--libsubdir='' --datasubdir=''
do-configure: