Hi,

On Thu, Apr 29, 2010 at 10:41:27AM +0200, David Coppa wrote:
> > xmobar minimalistic statusbar.
> 
> Two comments (portswise speaking): 
> 
> "PKGNAME = ${DISTNAME}" is not needed in both ports.
> 
> "nort" should be added to MODGHC_BUILD for xmobar.

The ghc module currently works as follows:

- If a port is a Haskell library (and is useless without ghc and
  ghc-pkg), you don't add `nort' to MODGHC_BUILD. In this case, PKGNAME
  will be automatically set to hs-${DISTNAME} and lang/ghc will be
  added to RUN_DEPENDS.

- If a port is just a program and is useful standalone (i.e. without ghc
  installed), add `nort' to MODGHC_BUILD. In this case neither PKGNAME
  is touched (i.e. it defaults to ${DISTNAME} without the `hs-' prefix)
  nor is lang/ghc added to RUN_DEPENDS.


For xmonad-contrib: well, it's a Haskell library, but I'm not sure
wether it should be named `hs-xmonad-contrib' (it's not very useful
except for xmonad, so a `hs-' prefix may be a little bit misleading).

Anyway, I'm fine with both variants, xmonad-contrib or hs-xmonad-contrib.

For xmobar it's exactly as you wrote: add `nort' and remove the
PKGNAME=${DISTNAME}.


Ciao,
        Kili

Reply via email to