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

PORTNAME=	wxsvg
DISTVERSION=	1.0b6
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

INSTALLS_SHLIB=	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>
OpenPOWER on IntegriCloud