summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk-devel
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
committerreg <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
commit72ce7050d03c812e37966786e11996a90713afea (patch)
tree9ec01d647da1c4e80223e31fc766740c2a43ebff /x11-toolkits/wxgtk-devel
parent97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (diff)
downloadFreeBSD-ports-72ce7050d03c812e37966786e11996a90713afea.zip
FreeBSD-ports-72ce7050d03c812e37966786e11996a90713afea.tar.gz
Implement USE_GTK, part 2.
Diffstat (limited to 'x11-toolkits/wxgtk-devel')
-rw-r--r--x11-toolkits/wxgtk-devel/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11-toolkits/wxgtk-devel/Makefile b/x11-toolkits/wxgtk-devel/Makefile
index 392619d..adc0bd7 100644
--- a/x11-toolkits/wxgtk-devel/Makefile
+++ b/x11-toolkits/wxgtk-devel/Makefile
@@ -13,30 +13,32 @@ DISTNAME= wxGTK-${PORTVERSION}
MAINTAINER= nectar@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- png.4:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
WRKSRC= ${WRKDIR}/wxGTK
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_X_PREFIX= yes
USE_NEWGCC= yes
USE_GMAKE= yes
+USE_GTK= yes
USE_AUTOCONF= yes
+INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-libpng=sys \
--with-libjpeg=sys \
--with-libtiff=sys \
--with-zlib=sys
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
- CPPFLAGS="-D_THREAD_SAFE -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-D_THREAD_SAFE -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-INSTALLS_SHLIB= yes
+
AUTOCONF= autoconf && \
${PERL} -pi -e 's|-l\$$THREADS_LIB|-pthread|g ; \
s|-l\$$THREADS_LINK|-pthread|g' \
${WRKSRC}/configure
+post-install:
+ @${RM} -rf ${PREFIX}/include/wx/motif
+ @${RM} -rf ${PREFIX}/include/wx/msw
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud