summaryrefslogtreecommitdiffstats
path: root/www/gtkhtml3/Makefile
blob: b1de7361c249b088f801ac958fc9899726b61a8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    gtkhtml3
# Date created:             12 March 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gtkhtml3
PORTVERSION=    3.0.2
PORTREVISION=   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=    soup-2.0.0:${PORTSDIR}/devel/libsoup
        
#USE_BZIP2= yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_REINPLACE=  yes
USE_GNOME=  gnomeprefix gnomehack gal2
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>