diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2002-09-07 20:07:40 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2002-09-07 20:07:40 +0000 |
commit | e48b7610aff41fdb4c7bb451666d68c487c8893d (patch) | |
tree | 41ca71234841f8d0eadc95526a7ae33583708128 /devel/hs-c2hs | |
parent | d9d759e651f326a9bda5a0f94ad67dd202787de4 (diff) | |
download | ports-e48b7610aff41fdb4c7bb451666d68c487c8893d.tar.gz ports-e48b7610aff41fdb4c7bb451666d68c487c8893d.zip |
Notes
Diffstat (limited to 'devel/hs-c2hs')
-rw-r--r-- | devel/hs-c2hs/Makefile | 14 | ||||
-rw-r--r-- | devel/hs-c2hs/distinfo | 2 | ||||
-rw-r--r-- | devel/hs-c2hs/pkg-plist | 25 |
3 files changed, 27 insertions, 14 deletions
diff --git a/devel/hs-c2hs/Makefile b/devel/hs-c2hs/Makefile index ea0c40a07f3b..0e65af558ce1 100644 --- a/devel/hs-c2hs/Makefile +++ b/devel/hs-c2hs/Makefile @@ -6,7 +6,7 @@ # PORTNAME= c2hs -PORTVERSION= 0.10.15 +PORTVERSION= 0.10.16 CATEGORIES= devel MASTER_SITES= http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ PKGNAMEPREFIX= hs- @@ -19,10 +19,22 @@ RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc HAS_CONFIGURE= yes USE_GMAKE= yes +PLIST_SUB= C2HS_VERSION=${PORTVERSION} + CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-add-package +.if defined(WITH_PROFILE) +CONFIGURE_ARGS+= --enable-prof +.endif + MAN1= c2hs-config.1 c2hs.1 +.if !defined(WITH_PROFILE) +pre-everything:: + @${ECHO_CMD} "To enable profiling support define WITH_PROFILE." + @${ECHO_CMD} "This requires ghc with profiling libraries." +.endif + post-build: @(cd ${WRKSRC}/doc/c2hs && ${GMAKE} man1/c2hs-config.1 man1/c2hs.1) diff --git a/devel/hs-c2hs/distinfo b/devel/hs-c2hs/distinfo index 6ad2a8c7f15b..28a4e24e7336 100644 --- a/devel/hs-c2hs/distinfo +++ b/devel/hs-c2hs/distinfo @@ -1 +1 @@ -MD5 (c2hs-0.10.15.tar.gz) = 30f8163d43716f775aa633d6e461a24f +MD5 (c2hs-0.10.16.tar.gz) = 74bab48f3fe4ba49805c22bce0f39cca diff --git a/devel/hs-c2hs/pkg-plist b/devel/hs-c2hs/pkg-plist index b4d2d3abb6cd..a3e152b539d3 100644 --- a/devel/hs-c2hs/pkg-plist +++ b/devel/hs-c2hs/pkg-plist @@ -1,15 +1,16 @@ bin/c2hs bin/c2hs-config -lib/c2hs-0.10.15/ghc5/c2hs.conf -lib/c2hs-0.10.15/ghc5/import/C2HS.hi -lib/c2hs-0.10.15/ghc5/import/C2HSBase.hi -lib/c2hs-0.10.15/ghc5/import/C2HSDeprecated.hi -lib/c2hs-0.10.15/ghc5/import/C2HSMarsh.hi -lib/c2hs-0.10.15/ghc5/import/NewStablePtr.hi -lib/c2hs-0.10.15/ghc5/import/NewStorable.hi -lib/c2hs-0.10.15/ghc5/libc2hs.a -@dirrm lib/c2hs-0.10.15/ghc5/import -@dirrm lib/c2hs-0.10.15/ghc5 -@dirrm lib/c2hs-0.10.15 -@exec %D/bin/c2hs-config --package-conf | %D/bin/ghc-pkg -a +lib/c2hs-%%C2HS_VERSION%%/ghc5/c2hs.conf +lib/c2hs-%%C2HS_VERSION%%/ghc5/import/C2HS.hi +lib/c2hs-%%C2HS_VERSION%%/ghc5/import/C2HSBase.hi +lib/c2hs-%%C2HS_VERSION%%/ghc5/import/C2HSDeprecated.hi +lib/c2hs-%%C2HS_VERSION%%/ghc5/import/C2HSMarsh.hi +lib/c2hs-%%C2HS_VERSION%%/ghc5/import/NewStablePtr.hi +lib/c2hs-%%C2HS_VERSION%%/ghc5/import/NewStorable.hi +lib/c2hs-%%C2HS_VERSION%%/ghc5/libc2hs.a +lib/c2hs-%%C2HS_VERSION%%/ghc5/c2hs.o +@dirrm lib/c2hs-%%C2HS_VERSION%%/ghc5/import +@dirrm lib/c2hs-%%C2HS_VERSION%%/ghc5 +@dirrm lib/c2hs-%%C2HS_VERSION%% +@exec %D/bin/c2hs-config --package-conf | %D/bin/ghc-pkg -u -g @unexec %D/bin/ghc-pkg -r c2hs |