mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
ec29a59ec3
ports which makes possible the direct translation of Cabal package descriptions to FreeBSD ports. It promises both easier addition and maintenance for Cabal-based ports.
35 lines
788 B
Makefile
35 lines
788 B
Makefile
# New ports collection makefile for: hs-x11-ghc
|
|
# Date created: 2007-09-03
|
|
# Whom: Volker Stolz <vs@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= x11
|
|
PORTVERSION= 1.5.0.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11 haskell
|
|
PKGNAMESUFFIX= -ghc
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= X11 bindings for Haskell programs
|
|
|
|
CABAL_SETUP= Setup.hs
|
|
USE_XORG= x11 xext sm
|
|
|
|
MASTER_SITES= http://hackage.haskell.org/packages/archive/X11/${PORTVERSION}/
|
|
DISTNAME= X11-${PORTVERSION}
|
|
|
|
OPTIONS= XINERAMA "Build with Xinerama support" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_XINERAMA)
|
|
USE_XORG+= xinerama
|
|
CONFIGURE_ARGS+= --configure-option=--with-xinerama
|
|
.else
|
|
CONFIGURE_ARGS+= --configure-option=--without-xinerama
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
|
.include <bsd.port.post.mk>
|