aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/wxsvg/Makefile
blob: a5d134ba3a08bd192eb07bb9064f1fa10485e97b (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_2
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:261
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>