2000-09-10 22:07:20 +00:00
|
|
|
# New ports collection makefile for: wxGTK
|
1999-09-19 20:05:41 +00:00
|
|
|
# Date created: September 18, 1999
|
|
|
|
# Whom: nectar@FreeBSD.ORG
|
1999-06-26 19:33:20 +00:00
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1999-06-26 19:33:20 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 01:11:24 +00:00
|
|
|
PORTNAME= wxgtk
|
2000-09-26 15:56:25 +00:00
|
|
|
PORTVERSION= 2.2.2
|
1999-09-19 20:05:41 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
2000-09-10 22:07:20 +00:00
|
|
|
MASTER_SITES= ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/
|
2000-04-10 01:11:24 +00:00
|
|
|
DISTNAME= wxGTK-${PORTVERSION}
|
1999-06-26 19:33:20 +00:00
|
|
|
|
2000-09-10 22:07:20 +00:00
|
|
|
MAINTAINER= nectar@FreeBSD.org
|
1999-06-26 19:33:20 +00:00
|
|
|
|
2000-09-26 15:56:25 +00:00
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
|
|
|
png.4:${PORTSDIR}/graphics/png \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
1999-06-26 19:33:20 +00:00
|
|
|
|
2000-04-21 07:04:31 +00:00
|
|
|
WRKSRC= ${WRKDIR}/wxGTK
|
1999-09-19 20:05:41 +00:00
|
|
|
|
2000-09-10 22:07:20 +00:00
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_NEWGCC= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_AUTOCONF= yes
|
2000-09-26 15:56:25 +00:00
|
|
|
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" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-09-10 22:07:20 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-09-26 15:56:25 +00:00
|
|
|
AUTOCONF= autoconf && \
|
|
|
|
${PERL} -pi -e 's|-l\$$THREADS_LIB|-pthread|g ; \
|
|
|
|
s|-l\$$THREADS_LINK|-pthread|g' \
|
|
|
|
${WRKSRC}/configure
|
1999-06-26 19:33:20 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|