1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11-toolkits/wxgtk24/Makefile
Maxim Sobolev 66d100bd16 Update to 1.2.2.
Approved by:	maintainer
2000-09-26 15:56:25 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: wxGTK
# Date created: September 18, 1999
# Whom: nectar@FreeBSD.ORG
#
# $FreeBSD$
#
PORTNAME= wxgtk
PORTVERSION= 2.2.2
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/
DISTNAME= wxGTK-${PORTVERSION}
MAINTAINER= nectar@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
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_AUTOCONF= 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" \
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
.include <bsd.port.mk>