diff options
author | obraun <obraun@FreeBSD.org> | 2002-09-08 04:07:40 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2002-09-08 04:07:40 +0800 |
commit | 27e265bb409609370b20eaccd0df0109b3ab6198 (patch) | |
tree | b525729773569853c9deb4a21e0498bb885a996c | |
parent | 042b36062b5b90c74f7b4ba14ec2b5ae6300cc43 (diff) | |
download | freebsd-ports-gnome-27e265bb409609370b20eaccd0df0109b3ab6198.tar.gz freebsd-ports-gnome-27e265bb409609370b20eaccd0df0109b3ab6198.tar.zst freebsd-ports-gnome-27e265bb409609370b20eaccd0df0109b3ab6198.zip |
* Upgrade to 0.10.16.
* Add knob WITH_PROFILE.
-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 |