aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-10-28 08:21:32 +0000
committerWen Heping <wen@FreeBSD.org>2010-10-28 08:21:32 +0000
commitf7ee940826c5b64e8a25546df795257b2b69d1b9 (patch)
treeeb5f59499c1b2ccd09aa1b0bf4d649c5056455eb /graphics
parent8c7c7753ee2b3d69ff963cc32e946f351ca479f9 (diff)
downloadports-f7ee940826c5b64e8a25546df795257b2b69d1b9.tar.gz
ports-f7ee940826c5b64e8a25546df795257b2b69d1b9.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/wxsvg/Makefile6
-rw-r--r--graphics/wxsvg/distinfo6
-rw-r--r--graphics/wxsvg/files/patch-Makefile.am11
-rw-r--r--graphics/wxsvg/pkg-plist1
4 files changed, 19 insertions, 5 deletions
diff --git a/graphics/wxsvg/Makefile b/graphics/wxsvg/Makefile
index 668bea2d62d6..428dfff11e98 100644
--- a/graphics/wxsvg/Makefile
+++ b/graphics/wxsvg/Makefile
@@ -6,7 +6,7 @@
# $MCom: ports/graphics/wxsvg/Makefile,v 1.1 2006/09/22 01:48:33 ahze Exp $
PORTNAME= wxsvg
-DISTVERSION= 1.0.5
+DISTVERSION= 1.0.7
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
@@ -16,6 +16,7 @@ COMMENT= C++ library to create, manipulate, and render SVG files
LIB_DEPENDS+= avformat.1:${PORTSDIR}/multimedia/ffmpeg
USE_BZIP2= yes
+USE_AUTOTOOLS= automake:111
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-wx-config=${LOCALBASE}/bin/wxgtk2-2.8-config
@@ -24,10 +25,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
USE_GNOME= libartlgpl2
USE_GMAKE= yes
USE_WX= 2.8
+USE_AUTOTOOLS= automake:111
post-patch:
@cd ${WRKSRC} && \
- ${TOUCH} -f README NEWS INSTALL
+ ${TOUCH} -f NEWS INSTALL
@${REINPLACE_CMD} -e 's|WX_CONFIG_NAME=wx-config|WX_CONFIG_NAME=${WX_CONFIG}|' \
${WRKSRC}/*.m4
diff --git a/graphics/wxsvg/distinfo b/graphics/wxsvg/distinfo
index 082d8bea7a9e..16141ec18260 100644
--- a/graphics/wxsvg/distinfo
+++ b/graphics/wxsvg/distinfo
@@ -1,3 +1,3 @@
-MD5 (wxsvg-1.0.5.tar.bz2) = 27ead41fa22fc70fc490983c6bd217cf
-SHA256 (wxsvg-1.0.5.tar.bz2) = 816ee1922b11edab450903c99ba46cd49fdc4991c2f493e3d4470b14df11871b
-SIZE (wxsvg-1.0.5.tar.bz2) = 639450
+MD5 (wxsvg-1.0.7.tar.bz2) = 7e745a700667e6d8dd55d6aa751354ea
+SHA256 (wxsvg-1.0.7.tar.bz2) = 6cb564c058208bbf300c62d132b83e3d5fcf590a0d6d11796d7cf2f83fbaca7b
+SIZE (wxsvg-1.0.7.tar.bz2) = 641208
diff --git a/graphics/wxsvg/files/patch-Makefile.am b/graphics/wxsvg/files/patch-Makefile.am
new file mode 100644
index 000000000000..87aa78f127e8
--- /dev/null
+++ b/graphics/wxsvg/files/patch-Makefile.am
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2010-10-11 21:27:01.000000000 +0200
++++ Makefile.am 2010-10-11 21:27:18.000000000 +0200
+@@ -1,7 +1,7 @@
+ SUBDIRS = src svgview include
+ ACLOCAL_AMFLAGS = -I. -I m4
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = libwxsvg.pc
+ EXTRA_DIST = libwxsvg.pc.in
+
diff --git a/graphics/wxsvg/pkg-plist b/graphics/wxsvg/pkg-plist
index d33c6a86e19b..51f44d1ec46f 100644
--- a/graphics/wxsvg/pkg-plist
+++ b/graphics/wxsvg/pkg-plist
@@ -188,5 +188,6 @@ lib/libwxsvg.a
lib/libwxsvg.la
lib/libwxsvg.so
lib/libwxsvg.so.0
+libdata/pkgconfig/libwxsvg.pc
@dirrm include/wxSVGXML
@dirrm include/wxSVG