aboutsummaryrefslogtreecommitdiff
path: root/graphics/wxsvg/Makefile
blob: c9e654f9d296c6e8ff905f64dd6c63ccdad30222 (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
# 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
DISTVERSION=	1.0b7
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

AUTOMAKE_ARGS=	--add-missing
USE_LDCONFIG=	yes
USE_AUTOTOOLS=	libtool:15 automake:15 autoconf:259
USE_GNOME=	libartlgpl2
USE_GMAKE=	yes
USE_WX=		2.6

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

pre-configure:
	@cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I .; \
		${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake

.include <bsd.port.mk>