aboutsummaryrefslogtreecommitdiffstats
path: root/www/dillo2/Makefile
blob: 3bcc47e7c90fa8ba0ce80862cdb4ccaa6b3931fa (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
# New ports collection makefile for:   dillo
# Date created:        23 February 2001
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=       dillo
PORTVERSION=    0.7.0
CATEGORIES=     www
MASTER_SITES=   http://dillo.auriga.wearlab.de/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A fast, small graphical Web browser built upon GTK+

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg \
        png.5:${PORTSDIR}/graphics/png \
        intl.4:${PORTSDIR}/devel/gettext

USE_GNOMENG=    yes
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --includedir="${LOCALBASE}/include" \
            --libdir="${LOCALBASE}/lib" \
            --with-jpeg-inc="${LOCALBASE}/include"
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
USE_GMAKE=  yes

post-patch:
    ${PERL} -pi -e "s@-D_REENTRANT -D_THREAD_SAFE@@" ${WRKSRC}/configure
    ${PERL} -pi -e "s@dillorc@dillorc.sample@g" ${WRKSRC}/Makefile.in
    ${MV} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample
    ${PERL} -pi -e "s@/usr/local/etc/dillorc@${PREFIX}/etc/dillorc@g" \
        ${WRKSRC}/src/prefs.c

.include <bsd.port.mk>