aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/hs-wxc/Makefile
blob: a05f4814747c7ec475591f2385d5276728e0e588 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $FreeBSD$

PORTNAME=	wxc
PORTVERSION=	0.92.3.0
PORTREVISION=	1
CATEGORIES=	x11-toolkits haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	wxHaskell C++ wrapper

USE_CABAL=	split wxdirect

USES=		dos2unix pkgconfig
USE_WX=		3.0
WX_COMPS=	wx

IGNORE_DOCS=	yes

IGNORE=		Doesn't build with recent GHC version

post-patch::
	@${REINPLACE_CMD} 's|"wx-config"|"wxgtk2u-3.0-config"| ; \
	    s|/sbin/ldconfig -n|/sbin/ldconfig -m| ; \
	    s|"2.9"|"3.0"|' \
	    ${WRKSRC}/Setup.hs

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"

.include <bsd.port.mk>