openbsd-ports/x11/wxSVG/Makefile
sthen adfaa8987d - chase the library change in multimedia/schroedinger; oil->orc
- add various other missing WANTLIB (and LIB_DEPENDS in some cases)
- while there move PKGNAME=..pX to REVISION, and move some ports
to new-style LIB_DEPENDS

original diff from Brad, extensive checking by me (clean build of everything
related to liboil).
2010-08-25 23:27:21 +00:00

49 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2010/08/25 23:27:21 sthen Exp $
COMMENT= C++ library to create, manipulate and render SVG files
DISTNAME= wxsvg-1.0.4
REVISION= 0
EPOCH= 0
SHARED_LIBS += wxsvg 0.0 # .0.0
CATEGORIES= x11 graphics
HOMEPAGE= http://www.wxsvg.org/
# Modified LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxsvg/}
EXTRACT_SUFX= .tar.bz2
WANTLIB += X11 Xau Xdmcp bz2 c expat faac faad fontconfig
WANTLIB += freetype glib-2.0 gmodule-2.0 gobject-2.0 m mp3lame
WANTLIB += ogg pango-1.0 pangoft2-1.0 pcre pthread stdc++ theora
WANTLIB += vorbis vorbisenc x264 z orc-0.4 schroedinger-1.0
WANTLIB += pthread-stubs xcb
WANTLIB += gsm gthread-2.0 speex
MODULES= devel/gettext
LIB_DEPENDS= avcodec.>=13.1,avformat.>=12,avutil.>=6,swscale.>=1:ffmpeg->=20080620p10:graphics/ffmpeg \
art_lgpl_2::graphics/libart \
wx_base,wx_base_net,wx_base_odbc,wx_base_xml,wx_gtk2_adv,wx_gtk2_aui,wx_gtk2_core,wx_gtk2_dbgrid,wx_gtk2_html,wx_gtk2_qa,wx_gtk2_richtext,wx_gtk2_xrc::x11/wxWidgets
USE_LIBTOOL= Yes
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-render=libart \
--enable-ffmpeg
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-extract:
@touch ${WRKSRC}/ltmain.sh
.include <bsd.port.mk>