aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gtkdiff/Makefile
blob: 2e225f8ce8fddc8bfa59ab28bd33d20d41886d9e (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
# New ports collection makefile for:    gtkdiff
# Date created:             17 November 1999
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gtkdiff
PORTVERSION=    1.8.0
PORTREVISION=   1
CATEGORIES= textproc gnome
MASTER_SITES=   http://home.catv.ne.jp/pp/ginoue/software/gtkdiff/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A frontend program for diff(1) written for GNOME

USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix gnomelibs
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       gtkdiff.1 gtkdiff-rcs.1

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

.include <bsd.port.mk>