aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/hs-wxc/Makefile
blob: 330a58ca1a64f1d13e5917772a587bc0f5a17511 (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
# $FreeBSD$

PORTNAME=   wxc
PORTVERSION=    0.92.3.0
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

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>