750a233330
Submitted by: tg (mostly)
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: wxGTK
|
|
# Date created: September 18, 1999
|
|
# Whom: nectar@FreeBSD.ORG
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wxgtk
|
|
PORTVERSION= 2.3.2
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/
|
|
MASTER_SITE_SUBDIR= wxwindows
|
|
DISTNAME= wxGTK-${PORTVERSION}
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
giconv.2:${PORTSDIR}/converters/libiconv
|
|
|
|
NO_LATEST_LINK= "Unstable, development version."
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_MESA= yes
|
|
USE_GMAKE= yes
|
|
USE_GTK= yes
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS= --with-libpng=sys \
|
|
--with-libjpeg=sys \
|
|
--with-libtiff=sys \
|
|
--with-zlib=sys \
|
|
--with-opengl
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} \
|
|
-I${LOCALBASE}/include \
|
|
-I${X11BASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lgiconv \
|
|
-L${X11BASE}/lib" \
|
|
GTK_CONFIG_2_0="no"
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e 's|-l\$$THREADS_LIB|${PTHREAD_LIBS}|g ; \
|
|
s|-l\$$THREADS_LINK|${PTHREAD_LIBS}|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|