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
|
|
|
#
|
|
|
|
|
2003-11-09 20:23:40 +01:00
|
|
|
PORTNAME= wx
|
|
|
|
PORTVERSION= 2.4.2
|
2005-11-05 07:12:23 +01:00
|
|
|
PORTREVISION?= 10
|
2003-11-09 20:23:40 +01:00
|
|
|
PKGNAMESUFFIX= ${WXGTK_FLAVOR}
|
1999-09-19 22:05:41 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2005-03-29 07:26:49 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-09-09 16:17:30 +02:00
|
|
|
MASTER_SITE_SUBDIR= wxwindows
|
2000-04-10 03:11:24 +02:00
|
|
|
DISTNAME= wxGTK-${PORTVERSION}
|
1999-06-26 21:33:20 +02:00
|
|
|
|
2003-11-09 20:23:40 +01:00
|
|
|
MAINTAINER?= fjoe@FreeBSD.org
|
2004-04-05 18:49:41 +02:00
|
|
|
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings
|
1999-06-26 21:33:20 +02:00
|
|
|
|
2005-05-22 16:57:48 +02:00
|
|
|
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
2004-04-06 20:14:33 +02:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2004-03-30 21:56:43 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
1999-06-26 21:33:20 +02:00
|
|
|
|
2002-09-09 16:17:30 +02:00
|
|
|
USE_BZIP2= yes
|
2000-09-11 00:07:20 +02:00
|
|
|
USE_X_PREFIX= yes
|
2003-11-09 20:23:40 +01:00
|
|
|
USE_GL= yes
|
2000-09-11 00:07:20 +02:00
|
|
|
USE_GMAKE= yes
|
2004-03-30 21:56:43 +02:00
|
|
|
USE_ICONV= yes
|
2003-04-14 17:39:50 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-05-28 22:10:54 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 08:42:57 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2005-05-12 18:39:59 +02:00
|
|
|
USE_GNOME= gtk20
|
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 \
|
2005-05-12 18:39:59 +02:00
|
|
|
--with-opengl\
|
|
|
|
--enable-gtk2 ${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-11-09 20:23:40 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include \
|
2001-05-28 17:08:50 +02:00
|
|
|
-I${LOCALBASE}/include \
|
2003-11-09 20:23:40 +01:00
|
|
|
-I${X11BASE}/include \
|
|
|
|
${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -liconv \
|
|
|
|
-L${X11BASE}/lib \
|
|
|
|
${PTHREAD_LIBS}"
|
2005-05-12 18:39:59 +02:00
|
|
|
NO_LATEST_LINK= yes
|
2003-11-09 20:23:40 +01:00
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
2000-10-05 08:42:57 +02:00
|
|
|
|
2005-05-12 18:39:59 +02:00
|
|
|
WXGTK_FLAVOR?= gtk2
|
2004-02-04 13:46:04 +01:00
|
|
|
|
2003-11-09 20:23:40 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|lgdk|lgdk-x11-2.0|g' ${WRKSRC}/configure
|
2000-10-05 08:42:57 +02:00
|
|
|
|
2005-11-05 07:12:23 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|pkg_config_args --cflags|pkg_config_args pangox --cflags|g ; \
|
|
|
|
s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2003-11-09 20:23:40 +01:00
|
|
|
.include <bsd.port.post.mk>
|