summaryrefslogtreecommitdiffstats
path: root/graphics/wxsvg/Makefile
blob: 3a76e8746315bd72426e5b762a39bf33c4db8370 (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
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    wxsvg
# Date created:     2006-01-08
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom$

PORTNAME=   wxsvg
DISTVERSION=    1.0b6
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ahze@FreeBSD.org
COMMENT=    C++ library to create, manipulate, and render SVG files

BUILD_DEPENDS=  ${WX_CONFIG}:${PORTSDIR}/x11-toolkits/wxgtk26
RUN_DEPENDS=    ${WX_CONFIG}:${PORTSDIR}/x11-toolkits/wxgtk26

USE_LDCONFIG=   yes
WX_CONFIG=  wxgtk2-2.6-config
USE_AUTOTOOLS=  libtool:15
USE_GNOME=  libartlgpl2

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN= does not build
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|' \
        ${WRKSRC}/configure

pre-configure:
    cd ${WRKSRC} && ${LIBTOOLIZE} --copy --force

.include <bsd.port.post.mk>