# New ports collection makefile for: gtkhtml3 # Date created: 12 March 2003 # Whom: Joe Marcus Clarke # # $FreeBSD$ # PORTNAME= gtkhtml3 PORTVERSION= 3.0.1 CATEGORIES= www gnome MASTER_SITES= ftp://ftp.ximian.com/pub/ximian-evolution-beta/source/ \ ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/3.0 DISTNAME= ${PORTNAME:S/3$//}-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Lightweight HTML rendering/printing/editing engine LIB_DEPENDS= gal-2.0.1:${PORTSDIR}/x11-toolkits/gal2 \ soup-2.0.0:${PORTSDIR}/devel/libsoup #USE_BZIP2= yes LATEST_LINK= gtkhtml3 USE_X_PREFIX= yes USE_GMAKE= yes USE_REINPLACE= yes USE_GNOMENG= yes USE_GNOME= gnomeprefix gnomehack INSTALLS_SHLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure .include