freebsd-ports/x11-toolkits/wxgtk24/Makefile

45 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: wxGTK
# Date created: September 18, 1999
# Whom: nectar@FreeBSD.ORG
#
1999-08-31 05:04:38 +02:00
# $FreeBSD$
#
PORTNAME= wxgtk
2001-02-05 17:49:17 +01:00
PORTVERSION= 2.2.4
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/
DISTNAME= wxGTK-${PORTVERSION}
MAINTAINER= nectar@FreeBSD.org
2000-10-05 08:42:57 +02:00
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
2000-04-21 09:04:31 +02:00
WRKSRC= ${WRKDIR}/wxGTK
USE_X_PREFIX= yes
USE_NEWGCC= yes
USE_GMAKE= yes
2000-10-05 08:42:57 +02:00
USE_GTK= yes
USE_AUTOCONF= yes
2000-10-05 08:42:57 +02:00
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-libpng=sys \
--with-libjpeg=sys \
--with-libtiff=sys \
--with-zlib=sys
2000-10-05 08:42:57 +02:00
CONFIGURE_ENV= CPPFLAGS="-D_THREAD_SAFE -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2000-10-05 08:42:57 +02:00
AUTOCONF= autoconf && \
${PERL} -pi -e 's|-l\$$THREADS_LIB|-pthread|g ; \
s|-l\$$THREADS_LINK|-pthread|g' \
${WRKSRC}/configure
2000-10-05 08:42:57 +02:00
post-install:
@${RM} -rf ${PREFIX}/include/wx/motif
@${RM} -rf ${PREFIX}/include/wx/msw
.include <bsd.port.mk>