aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk26/Makefile
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2004-11-26 04:06:45 +0800
committerfjoe <fjoe@FreeBSD.org>2004-11-26 04:06:45 +0800
commite97e8b2c9938e00dc5c42aba883680444593c46d (patch)
treea7deb6c21eabb73d40f5f3dcdb88cd70f5f6b50a /x11-toolkits/wxgtk26/Makefile
parent1c27cf2b1fcd2ffeda099783c7b58a0cb1101712 (diff)
downloadfreebsd-ports-graphics-e97e8b2c9938e00dc5c42aba883680444593c46d.tar.gz
freebsd-ports-graphics-e97e8b2c9938e00dc5c42aba883680444593c46d.tar.zst
freebsd-ports-graphics-e97e8b2c9938e00dc5c42aba883680444593c46d.zip
Update wxgtk2*-devel to 2.5.3
PR: 73450
Diffstat (limited to 'x11-toolkits/wxgtk26/Makefile')
-rw-r--r--x11-toolkits/wxgtk26/Makefile41
1 files changed, 21 insertions, 20 deletions
diff --git a/x11-toolkits/wxgtk26/Makefile b/x11-toolkits/wxgtk26/Makefile
index 14e76d536b2..beb00c3158e 100644
--- a/x11-toolkits/wxgtk26/Makefile
+++ b/x11-toolkits/wxgtk26/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= wx
-PORTVERSION= 2.5.2
-PORTREVISION?= 1
+PORTVERSION= 2.5.3
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wxwindows
@@ -17,10 +16,11 @@ DISTNAME= wxGTK-${PORTVERSION}
MAINTAINER?= fjoe@FreeBSD.org
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings (devel version)
-LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- tiff.4:${PORTSDIR}/graphics/tiff \
- expat.5:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png\
+ jpeg.9:${PORTSDIR}/graphics/jpeg\
+ tiff.4:${PORTSDIR}/graphics/tiff\
+ expat.5:${PORTSDIR}/textproc/expat2\
+ mspack.1:${PORTSDIR}/archivers/libmspack
CONFLICTS= wxgtk-*
@@ -32,12 +32,13 @@ USE_ICONV= yes
USE_GNOME= gtk20
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-libpng=sys \
- --with-libjpeg=sys \
- --with-libtiff=sys \
- --with-zlib=sys \
- --with-expat=sys \
- --with-opengl \
+CONFIGURE_ARGS= --with-libpng=sys\
+ --with-libjpeg=sys\
+ --with-libtiff=sys\
+ --with-zlib=sys\
+ --with-expat=sys\
+ --with-opengl\
+ --with-mspack\
--enable-gtk2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${X11BASE}/include" \
@@ -51,7 +52,7 @@ NO_LATEST_LINK= yes
WXGTK_FLAVOR?= gtk2
.if ${WXGTK_FLAVOR} != "gtk2-common"
-RUN_DEPENDS= ${X11BASE}/include/wx/wx.h:${PORTSDIR}/x11-toolkits/wxgtk2-common-devel
+RUN_DEPENDS= ${X11BASE}/include/wx-2.5/wx/wx.h:${PORTSDIR}/x11-toolkits/wxgtk2-common-devel
.endif
.if ${WXGTK_FLAVOR:M*-common} != ""
@@ -66,23 +67,23 @@ BUILD_WRKSRC= ${WRKSRC}/contrib
INSTALL_WRKSRC= ${BUILD_WRKSRC}
.if ${WXGTK_FLAVOR} != "gtk2-contrib-common"
-RUN_DEPENDS= ${X11BASE}/include/wx/stc/stc.h:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-common-devel
+RUN_DEPENDS= ${X11BASE}/include/wx-2.5/wx/stc/stc.h:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-common-devel
.if ${WXGTK_FLAVOR:M*-unicode*} != ""
-LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
+LIB_DEPENDS+= wx_baseu-2.5.3:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
.else
-LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
+LIB_DEPENDS+= wx_base-2.5.3:${PORTSDIR}/x11-toolkits/wxgtk2-devel
.endif
-.endif # !gtk2-contrib-common
-.endif # *-contrib*
-
pre-configure:
- @${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
+ @${FIND} ${BUILD_WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \
-e "s,@CPPFLAGS@,,"
+.endif # !gtk2-contrib-common
+.endif # *-contrib*
+
.include <bsd.port.pre.mk>
.if ${WXGTK_FLAVOR:M*-unicode*} != ""