openbsd-ports/x11/wxSVG/Makefile

54 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2011/06/24 11:17:05 sthen Exp $
COMMENT= C++ library to create, manipulate and render SVG files
DISTNAME= wxsvg-1.0.4
REVISION= 3
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 += GL ICE SDL SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm art_lgpl_2
WANTLIB += atk-1.0 avcodec avformat avutil bz2 c cairo drm expat
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gsm gthread-2.0 gtk-x11-2.0
WANTLIB += iodbc jpeg m mp3lame mspack ogg orc-0.4 pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += schroedinger-1.0 sndio speex stdc++ swscale theoradec
WANTLIB += theoraenc tiff usbhid vorbis vorbisenc vpx wx_base
WANTLIB += wx_base_net wx_base_odbc wx_base_xml wx_gtk2_adv wx_gtk2_aui
WANTLIB += wx_gtk2_core wx_gtk2_dbgrid wx_gtk2_html wx_gtk2_qa
WANTLIB += wx_gtk2_richtext wx_gtk2_xrc x264 xcb xcb-render xcb-shm
WANTLIB += z
MODULES= devel/gettext
LIB_DEPENDS = graphics/ffmpeg>=20080620p10 \
graphics/libart \
x11/wxWidgets
USE_LIBTOOL= 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>