2000-09-11 00:07:20 +02:00
|
|
|
# New ports collection makefile for: wxGTK
|
1999-09-19 22:05:41 +02:00
|
|
|
# Date created: September 18, 1999
|
|
|
|
# Whom: nectar@FreeBSD.ORG
|
1999-06-26 21:33:20 +02:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1999-06-26 21:33:20 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 03:11:24 +02:00
|
|
|
PORTNAME= wxgtk
|
2001-05-28 17:08:50 +02:00
|
|
|
PORTVERSION= 2.2.7
|
1999-09-19 22:05:41 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2000-09-11 00:07:20 +02:00
|
|
|
MASTER_SITES= ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/
|
2000-04-10 03:11:24 +02:00
|
|
|
DISTNAME= wxGTK-${PORTVERSION}
|
1999-06-26 21:33:20 +02:00
|
|
|
|
2001-05-28 17:08:50 +02:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
1999-06-26 21:33:20 +02:00
|
|
|
|
2000-10-05 08:42:57 +02:00
|
|
|
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
2001-05-28 17:08:50 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
1999-06-26 21:33:20 +02:00
|
|
|
|
2000-09-11 00:07:20 +02:00
|
|
|
USE_X_PREFIX= yes
|
2001-05-28 17:08:50 +02:00
|
|
|
USE_MESA= yes
|
2000-09-11 00:07:20 +02:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 08:42:57 +02:00
|
|
|
USE_GTK= yes
|
2000-09-11 00:07:20 +02:00
|
|
|
USE_AUTOCONF= yes
|
2000-10-05 08:42:57 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-09-26 17:56:25 +02:00
|
|
|
CONFIGURE_ARGS= --with-libpng=sys \
|
|
|
|
--with-libjpeg=sys \
|
|
|
|
--with-libtiff=sys \
|
2001-05-28 17:08:50 +02:00
|
|
|
--with-zlib=sys \
|
|
|
|
--with-opengl
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} \
|
|
|
|
-I${LOCALBASE}/include \
|
|
|
|
-I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib \
|
|
|
|
-L${X11BASE}/lib"
|
2000-10-05 08:42:57 +02:00
|
|
|
|
2000-09-26 17:56:25 +02:00
|
|
|
AUTOCONF= autoconf && \
|
2001-03-29 18:35:19 +02:00
|
|
|
${PERL} -pi -e 's|-l\$$THREADS_LIB|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|-l\$$THREADS_LINK|${PTHREAD_LIBS}|g' \
|
2000-09-26 17:56:25 +02:00
|
|
|
${WRKSRC}/configure
|
1999-06-26 21:33:20 +02:00
|
|
|
|
2000-10-05 08:42:57 +02:00
|
|
|
post-install:
|
|
|
|
@${RM} -rf ${PREFIX}/include/wx/motif
|
|
|
|
@${RM} -rf ${PREFIX}/include/wx/msw
|
|
|
|
|
1999-06-26 21:33:20 +02:00
|
|
|
.include <bsd.port.mk>
|