blob: f65aec339336581d7d74187752dd27b60384cecd (
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= 2
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>
|