summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/hs-wxc/Makefile
blob: 2bcd16367a97894d79ac6db45935f3e4595e194a (plain)
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
# $FreeBSD$

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

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

CABAL_SETUP=	Setup.hs

USE_CABAL=	wxdirect>=0.90

USE_WX=		2.9
WX_COMPS=	wx
WX_UNICODE=	yes

NOPORTDOCS=	yes
USE_DOS2UNIX=	yes

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

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
OpenPOWER on IntegriCloud