aboutsummaryrefslogtreecommitdiff
path: root/graphics/wxsvg/Makefile
blob: 6ebc0d0b588ad8a372a4f4e4f1c82a39c54d79d1 (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
40
41
# New ports collection makefile for:	wxsvg
# Date created:		2006-01-08
# Whom:			Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/graphics/wxsvg/Makefile,v 1.1 2006/09/22 01:48:33 ahze Exp $

PORTNAME=	wxsvg
PORTVERSION=	1.1.8
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	SF

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

LIB_DEPENDS+=	avformat.1:${PORTSDIR}/multimedia/ffmpeg

USE_BZIP2=	yes
USE_AUTOTOOLS=	automake
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
USE_GNOME=	libartlgpl2
USE_GMAKE=	yes
USE_WX=		yes
USE_AUTOTOOLS=	automake
WX_CONF_ARGS=	absolute

AUTOTOOLSFILES=	aclocal.m4

post-patch:
	@${REINPLACE_CMD} -e 's|1.11.1|%%AUTOMAKE_APIVER%%|g' \
			  ${WRKSRC}/aclocal.m4
	@cd ${WRKSRC} && \
		${TOUCH} -f NEWS INSTALL
#	@${REINPLACE_CMD} -e 's|WX_CONFIG_NAME=wx-config|WX_CONFIG_NAME=${WX_CONFIG}|' \
#		${WRKSRC}/*.m4

.include <bsd.port.mk>