aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/ithought/Makefile
blob: 311d0fc8d605bcad53b7e516c9f30df15b96cd75 (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
# New ports collection makefile for: ithought
# Date created:     20 Feb 2001
# Whom:         nbm
#
# $FreeBSD$
#

PORTNAME=   ithought
PORTVERSION=    a5
CATEGORIES= deskutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ithought

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    xml2.5:${PORTSDIR}/textproc/libxml2

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --datadir=${PREFIX}/libexec

USE_GTK=    yes

post-patch:
    @${PERL} -i.orig -p \
        -e 's#`gnome-config --cflags gtk`#`${GTK_CONFIG} --cflags`#;' \
        -e 's#`gnome-config --cflags gtk xml`#`${GTK_CONFIG} --cflags; xml-config --cflags`#;' \
        -e 's#`gnome-config --libs gtk xml`#`${GTK_CONFIG} --libs; xml-config --libs`#;' \
        ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>