mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
73 lines
1.6 KiB
Makefile
73 lines
1.6 KiB
Makefile
# New ports collection makefile for: wxgtk26
|
|
# Date created: June 27, 2004
|
|
# Whom: fjoe@FreeBSD.ORG
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wx
|
|
PORTVERSION= 2.9.3
|
|
PORTREVISION?= 1
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= SF/wxwindows/${PORTVERSION}
|
|
PKGNAMESUFFIX= gtk2
|
|
DISTNAME= wxWidgets-${PORTVERSION}
|
|
|
|
MAINTAINER?= fjoe@FreeBSD.org
|
|
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings
|
|
|
|
LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png\
|
|
jpeg.11:${PORTSDIR}/graphics/jpeg\
|
|
tiff.4:${PORTSDIR}/graphics/tiff\
|
|
expat.6:${PORTSDIR}/textproc/expat2\
|
|
inotify.0:${PORTSDIR}/devel/libinotify
|
|
|
|
USE_BZIP2= yes
|
|
USE_XORG= x11 sm xxf86vm xinerama
|
|
USE_GL= glu
|
|
USE_GMAKE= yes
|
|
USE_ICONV= yes
|
|
USE_GNOME= gtk20
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-libpng=sys\
|
|
--with-libjpeg=sys\
|
|
--with-libtiff=sys\
|
|
--with-zlib=sys\
|
|
--with-expat=sys\
|
|
--with-opengl\
|
|
--with-mspack\
|
|
--with-gtk\
|
|
--enable-mediactrl\
|
|
--disable-backtrace\
|
|
--enable-graphics_ctx
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -linotify"\
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"\
|
|
X11BASE="${LOCALBASE}"
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
NO_LATEST_LINK= yes
|
|
|
|
OPTIONS= GSTREAMER "media support" on\
|
|
MSPACK "MS archives support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_GSTREAMER)
|
|
CONFIGURE_ARGS+=--enable-mediactrl
|
|
USE_GNOME+= gconf2
|
|
USE_GSTREAMER= yes
|
|
PLIST_SUB+= GSTREAMER=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-mediactrl
|
|
PLIST_SUB+= GSTREAMER="@comment "
|
|
.endif
|
|
|
|
.if defined(WITH_MSPACK)
|
|
CONFIGURE_ARGS+=--with-libmspack
|
|
LIB_DEPENDS+= mspack.1:${PORTSDIR}/archivers/libmspack
|
|
.else
|
|
CONFIGURE_ARGS+=--without-libmspack
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|