1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/x11/hs-xmobar/Makefile
Gabor Pali 52a16208ea Rename the following Haskell ports to bring them in sync with the
HackageDB:

  archivers/hs-zip-archive-ghc -> archivers/hs-zip-archive
  devel/hs-binary-ghc -> devel/hs-binary
  devel/darcs -> devel/hs-darcs
  devel/hs-language-c-ghc -> devel/hs-language-c
  devel/hs-lazysmallcheck-ghc -> devel/hs-lazysmallcheck
  devel/hs-pcre-light-ghc -> devel/hs-pcre-light
  devel/hs-utf8-string-ghc -> devel/hs-utf8-string
  graphics/hs-HGL-ghc -> graphics/hs-HGL
  ports-mgmt/porte -> ports-mgmt/hs-porte
  security/hs-digest-ghc -> security/hs-digest
  textproc/hs-haxml -> textproc/hs-HaXml
  textproc/hs-highlighting-kate-ghc -> textproc/hs-highlighting-kate
  textproc/hs-polyparse-ghc -> textproc/hs-polyparse
  textproc/pandoc -> textproc/hs-pandoc
  x11/hs-x11-ghc -> x11/hs-X11
  x11/hs-x11-xft-ghc -> x11/hs-X11-xft
  x11/xmobar -> x11/hs-xmobar
  x11-toolkits/hs-opengl-ghc -> x11-toolkits/hs-OpenGL
  x11-toolkits/hs-OpenGLRaw-ghc -> x11-toolkits/hs-OpenGLRaw
  x11-toolkits/hs-GLURaw-ghc -> x11-toolkits/hs-GLURaw
  x11-toolkits/hs-glut-ghc -> x11-toolkits/hs-GLUT
  x11-wm/xmonad -> x11-wm/hs-xmonad
  x11-wm/xmonad-contrib -> x11-wm/hs-xmonad-contrib
2010-05-24 21:52:43 +00:00

58 lines
1.2 KiB
Makefile

# New ports collection makefile for: xmobar
# Date created: November 7, 2008
# Whom: Samy Al Bahra <sbahra@kerneled.org>
#
# $FreeBSD$
PORTNAME= xmobar
PORTVERSION= 0.11.1
CATEGORIES= x11 haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= A minimalistic text based status bar
USE_HACKAGE= X11>=1.3.0
USE_XORG= x11
EXECUTABLE= xmobar
STANDALONE= yes
PORTDATA= *
INSTALL_PORTDATA= ${INSTALL_DATA} ${WRKSRC}/xmobar.config-sample ${DATADIR}
OPTIONS= XFT "Use Xft to render text (UTF-8 support included)" off \
UTF8 "UTF-8 support" on \
MPD "mpd support" off
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.include <bsd.port.options.mk>
# Disable Linux-only options
CONFIGURE_ARGS+= --flags="-with_inotify -with_iwlib"
.if defined(WITH_XFT)
CONFIGURE_ARGS+= --flags="with_xft"
USE_HACKAGE+= utf8-string X11-xft>=0.2
.else
CONFIGURE_ARGS+= --flags="-with_xft"
.endif
.if defined(WITH_UTF8)
CONFIGURE_ARGS+= --flags="with_utf8"
.if !defined(WITH_XFT)
USE_HACKAGE+= utf8-string
.endif
.else
CONFIGURE_ARGS+= --flags="-with_utf8"
.endif
.if defined(WITH_MPD)
CONFIGURE_ARGS+= --flags="with_mpd"
USE_HACKAGE+= libmpd
.else
CONFIGURE_ARGS+= --flags="-with_mpd"
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>